Asset
Object represents asset. Extends NetObj.
Instance attributes
Inherited from NetObj
alarms ⇒ array-
List of active Alarms for this object.
alarmStats ⇒ array-
Integer array that consists of 5 numbers - each number represents number of alarms for this and child objects for each of severity.
alias: String-
Object alias. For interfaces it is automatically collected on configuration poll (e.g. from SNMP ifAlias).
asset ⇒ Asset-
Reference to asset class of asset linked to this object.
assetId: int-
Id of linked asset object.
assetProperties ⇒ AssetProperties-
Reference to asset properties class of asset linked to this object.
backupZoneProxy: Node-
Currently selected backup zone proxy (
nullif zoning is disabled or backup proxy is not assigned) backupZoneProxyId: int-
ID of currently selected backup zone proxy (
0if zoning is disabled or backup proxy is not assigned) category: String-
Object’s category name
categoryId: int-
Object’s category ID
children ⇒ array-
List of child objects. Use classof to differentiate.
city: String-
Postal address - city.
comments: String-
Object comments.
country: String-
Postal address - country.
creationTime: int64-
Object creation time as UNIX timestamp
customAttributes ⇒ HashMap-
Hash map of object custom attributes.
district: String-
Postal address - district.
geolocation ⇒ GeoLocation-
Object geographical location.
guid: String-
Object GUID as
string. id: int-
Unique object identifier.
ipAddr: String-
Primary IP address. Deprecated and will be removed in a future version, use
ipAddressinstead. ipAddress ⇒ InetAddress-
Added in version 5.1
Primary IP address.
isInMaintenanceMode: bool-
Maintenance mode indicator (
trueif object currently is in maintenace mode). maintenanceInitiator: int-
Maintenance initiator user id
mapImage: String-
GUID of object image used for representation on the maps.
name: String-
Object name.
nameOnMap: String-
Object name displayed on map.
parents ⇒ array-
List of direct parents for this object (most likely either Container or Cluster).
postcode: String-
Postal address - postal code.
primaryZoneProxy: Node-
currently selected primary zone proxy (
nullif zoning is disabled or primary proxy is not assigned) primaryZoneProxyId: int-
ID of currently selected primary zone proxy (
0if zoning is disabled or primary proxy is not assigned) region: String-
Postal address - region.
responsibleUsers: Array-
Array with user objects that are added as responsible users for this object. Objects are User or UserGroup
state: int-
Current object state. One of: Node State, Cluster State, Sensor State
status: int-
Current object status.
streetAddress: String-
Postal address - street.
type: int
- lastUpdateTimestamp: int
-
Unix timestamp of last update
- lastUpdateUserId: int
-
Iof the user for last update
- linkedObject ⇒ NetObj
-
Linked object
- linkedObjectId: int
-
ID of the linked object
- properties ⇒ AssetProperties
-
Reference to asset properties class.