<< Click to Display Table of Contents >>

Navigation:  Program use > Configuration > SNMP settings >

SNMP traps

We recommend adding a new group to capture SNMP traps because it allows you to define different settings (fig. 8).

 

Please, configure the group settings as shown below. The program will process and export all received traps.

 

Group properties for SNMP traps

Fig. 8. Group properties for SNMP traps

 

The configuration group for SNMP traps must include at least one item with a special masked OID ".*" (without quotes). This OID instructs the program to export all available values from a received SNMP trap (fig. 9).

 

Host - the IP address of your computer. The IP address "0.0.0.0" means that the program will automatically detect the IP address.

 

Port - it is the IP port to receive traps. The default value is 162.

 

Community - SNMP community.

 

Version - select "SNMPv2 Trap" here. This option enables receiving of SNMP traps.

 

Data type - you can leave the "Undefined" data type for the masked OID.

 

Export name - the name does not matter for the masked OID, and the program will always use the full OID as an export name.

 

Item properties for SNMP traps

Fig. 9. Item properties for SNMP traps

 

If you need to export only selected values, specify an export name or a data type, you can add one or more items to the group with a full OID of necessary values.

 

All items in the group should have an identical host address, port number, and community.

 

The program automatically adds the following export variables for every V2 trap:

 

DATE_TIME_STAMP - date and time stamp when the program received a trap.

TRAP_ID - Trap ID.

TRAP_ERROR_STATUS - Error status code (device dependent).

TRAP_ERROR_INDEX - Error index (device dependent).

 

The program automatically adds the following export variables for every old-style V1 trap:

 

DATE_TIME_STAMP - date and time stamp when the program received a trap.

TRAP_GENERIC - Generic trap type.

TRAP_SPECIFIC - Specific trap type.

TRAP_TICKS - Device sends a trap timestamp.

TRAP_HOST - Device sends a host name.