Managing Messages
351
n
ov
do
cx (e
n)
16
Ap
ril 20
10
Version Number:
Specifies the version of SNMP used. ZENworks 10 Configuration Management
uses SNMPv1.
Community String:
Defines an access environment for a group of network-management systems
(NMS).
Protocol Data Unit (PDU)
The following fields are contained in the PDU:
Enterprise:
Identifies the type of managed object generating the trap. ZENworks 10 Configuration
Management uses 1.3.6.1.4.1.23.2.80.100.
Agent Address:
Provides the IP address of the machine where the trap was generated.
GenerIc Trap Type:
Contains the integer value 6. Type 6 is an enterprise-specific trap type, which
has no standard interpretation in SNMP. The interpretation of the trap depends upon the value in the
specific trap type field, which is defined by the Message Logger MIB.
Specific Trap Code:
For enterprise-specific traps generated by ZENworks 10 Configuration
Management, the values in the specific trap type fields are as follows:
For a severity level of MessageLogger.ERROR, the specific trap is 1.
For a severity level of MessageLogger.WARN, the specific trap is 2.
For a severity level of MessageLogger.INFO, the specific trap is 3.
Time Stamp:
The time stamp indicating when the trap occurred.
Variable Bindings:
Provides additional information pertaining to the trap. This field consists of the
following name/value pairs:
For trap ID 1.3.6.1.4.1.23.2.80.100.0.1, the value is the device GUID.
For trap ID 1.3.6.1.4.1.23.2.80.100.0.2, the value is the device name.
For trap ID 1.3.6.1.4.1.23.2.80.100.0.3, the value is the component name.
For trap ID 1.3.6.1.4.1.23.2.80.100.0.4, the value is the time when the message was logged.
For trap ID 1.3.6.1.4.1.23.2.80.100.0.5, the value is the message ID.
For trap ID 1.3.6.1.4.1.23.2.80.100.0.6, the value is the probable cause.
39.1.4 UDP Payload Format
The payload is a byte array with null-terminated delimiters such as \0 or 0 x 00 (hexadecimal) for
each element. Each element’s data is presented as UTF-8 encoded strings and is explained below:
The first element is the ZENworks version information. For example, 10.
The second element is the value of severity of the message. The severity values are 4 for
Informational, 6 for Warning, and 8 for Debug messages.
The third element is the message date. The date is not locally specific and is represented as a
UTF-8 string. For example, 09-Mar-2008 14:15:44.
The fourth element is the user ID.
The fifth element is the component name.