Difference between revisions of "NXSL:Event"
Jump to navigation
Jump to search
m (Text replacement - "^" to "{{deprecated}}") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Represents NetXMS event object. | {{deprecated}}Represents NetXMS event object. | ||
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 |
Latest revision as of 16:13, 13 September 2022
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
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