Difference between revisions of "NXSL:NetObj"

From NetXMS Wiki
Jump to navigation Jump to search
(Added the breakdown of status events as per article on the forum.)
Line 23: Line 23:
| name || string || Object name
| name || string || Object name
|-
|-
| status || int32 || Object status
| status || int32 || Object status (see possible values in table below)
|-
|-
| type || int32 || Object type (class)
| type || int32 || Object type (class)
|}
|}


[[Category:NXSL Class Reference]]
'''Possible values for "status" attribute'''


{| class="wikitable"
{| class="wikitable"
Line 52: Line 52:
| 8 || Testing
| 8 || Testing
|}
|}
[[Category:NXSL Class Reference]]

Revision as of 23:26, 3 July 2014

Represents NetXMS object (subnet, container, etc.)


Class Name

NetObj


Attributes

Name Type Description
comments string Object's comments
guid string Object's GUID
id uint32 Object identifier
ipAddr string Primary IP address
name string Object name
status int32 Object status (see possible values in table below)
type int32 Object type (class)

Possible values for "status" attribute

Status ID Desc
0 Normal
1 Warning
2 Minor
3 Major
4 Critical
5 Unknown
6 Unmanaged
7 Disabled
8 Testing