Difference between revisions of "NXSL:Event"
Jump to navigation
Jump to search
m |
|||
Line 27: | Line 27: | ||
| severity || int32 || Event severity | | severity || int32 || Event severity | ||
|- | |- | ||
| source || object || Source object ([[NXSL:NetObj]] or it's subclass) | | source || object || Source object ([[NXSL:NetObj|NetObj]] or it's subclass) | ||
|- | |- | ||
| sourceId || int32 || ID of source object | | sourceId || int32 || ID of source object |
Revision as of 11:02, 30 June 2016
Represents NetXMS event object.
Class Name
Event
Attributes
Name | Type | Description |
---|---|---|
code | int32 | Event code |
customMessage | string | Custom message set in event processing policy |
id | int64 | Unique event identifier |
message | string | Event message |
name | string | Event name |
parameters | array | Event-specific parameters |
severity | int32 | Event severity |
source | object | Source object (NetObj or it's subclass) |
sourceId | int32 | ID of source object |
timestamp | int64 | Timestamp as number of seconds since epoch (1 Jan 1970 00:00:00 UTC) |
userTag | string | User tag associated with event |
The $event->parameters array contains the event's parameters.
$event->parameters[1] == %1
$event->parameters[n] == %n
Methods