finished description of hardware asset management

This commit is contained in:
Filipp Sudanov 2023-07-14 18:34:26 +03:00
parent 321bd99e14
commit 511b97bcff
4 changed files with 74 additions and 20 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

View file

@ -1,4 +1,4 @@
.. _modbus:
.. _assets:
#########################
@ -15,9 +15,9 @@ Assets information attributes are defined globally in :guilabel:`Asset
management schema`.
Assets can be linked to Nodes, Access Points, Chassis, Mobile Devices, Racks or
Sensors. Linking can be done either manually or automatically, based on serial
number information or MAC address of primary network interface (MAC address is
used only if serial number is not available).
Sensors in one-to-one relationship. Linking can be done either manually or
automatically, based on serial number information or MAC address of primary
network interface (MAC address is used only if serial number is not available).
When asset is linked to Node (or other type of object), Vendor, Model and IP
Address fields in the asset can be automatically updated based on information on
@ -30,12 +30,14 @@ Configuring Asset management schema
Configuration of information attributes which are present in assets is performed
in :guilabel:`Configuration -> Asset management schema`. The schema is global.
.. figure:: _images/asset_management_schema.png
To add a new attribute, select :guilabel:`New attribute...` from context menu or
click + button on the toolbar. Asset attribute property editor would open:
click + button on the toolbar. This will open asset attribute property editor:
.. figure:: _images/assets_attribute_properties_1.png
General page of asset attribute properties has the following information:
Asset attribute properties has the following settings:
* Name - Should be unique and conform to NXSL naming convention. This name is
used when accessing asset information from scripts.
@ -53,18 +55,71 @@ General page of asset attribute properties has the following information:
* Object Reference
* Date
* System type - enables special processing depending on the selected value:
* System type - enables special processing depending on the selected type:
* Serial - used for automatic linking. Setting this will automatically link
asset to node if value is matched with serial number of that node (or other
type of object).
* MAC Address - used for automatic linking. Setting this will automatically
link asset to node, if value is matched with MAC Address on primary
* Serial - used for automatic linking. Asset will be automatically linked to
node if value of this attribute matches serial number of that node.
* MAC Address - used for automatic linking. Asset will be automatically
linked to node, if value of this attribute matches MAC Address on primary
interface of that node (but only if node does not has Serial number)
* IP address - used to autofill. Setting this will automatically fill node's
(or object's of other type ) IP address into information attribute of asset
linked to that node.
* Vendor - used to autofill. Setting this will automatically fill node's
Vendor into information attribute of asset linked to that node.
* Model - used to autofill. Setting this will automatically fill node's Model
into information attribute of asset linked to that node.
* IP address - used to autofill. This attribute will be automatically created
and filled with primary IP address of node (or other object) linked to this
asset.
* Vendor - used to autofill. This attribute will be automatically created and
filled with vendor value of node linked to this asset. Autofill is performed
only once, once this attribute has a value, it will not be updated.
* Model - used to autofill. This attribute will be automatically created and
filled with model value of node linked to this asset. Autofill is performed
only once, once this attribute has a value, it will not be updated.
Processing is performed on node's (or other object's) configuration poll or
when asset is linked.
* Use limits - enables limits for attribute value. For String type minimum and
maximum number of characters can be defined. For numeric types minimum and
maximum value is defined.
* Mandatory - this attribute is mandatory.
* Unique - values for this attribute should be unique among all assets.
* Hidden - attribute is hidden from summary table displayed on asset groups.
* Auto Fill Script - NXSL script that performs auto-fill of asset property.
Ignored, if System type is set.
* Enum Values - defines list of possible values for Enum data type. Display name
is optional, if it's not filled in, Value is used.
Asset Creation
==============
Assets are managed under :guilabel:`Assets` perspective. Hierarchical structure
is built using Asset Group objects, Asset Root is the top object of the
hierarchy.
To create a new Asset Group, select :guilabel:`Create->Asset Group` from context
menu of Asset Root or Asset Group and provide asset group name.
To create a new Asset, select :guilabel:`Create->Asset` from context menu of
Asset Root or Asset Group. Asset creation dialog will be displayed, with asset
attributes configured in asset management schema:
.. figure:: _images/asset_creation.png
Name and mandatory attributes should be filled in, the rest of attributes can be left
empty.
Asset Linking
=============
To link asset to node (or other type of object), select :guilabel:`Link to...`
from context menu of asset and choose a node. If that node already has an asset
linked, a warning message will be displayed.
Linking can also be performed by selecting :guilabel:`Link to asset...` from
context menu of node (or other type of object) and choosing an asset. If that
asset already has a node linked, a warning message will be displayed.
To unlink, select :guilabel:`Unlink` from asset context menu or
:guilabel:`Unlink from asset` from node context menu.

View file

@ -1,6 +1,5 @@
.. _modbus:
######
Modbus
######