TRAP is a notification element, that sends a trap message (Trap-PDU) from the monitoring system (agent) to the network management base station (SNMP manager).
Trap The trap element supports the formation of SNMP trap messages ver. 1, 2c, and 3.
Info | |
---|---|
title | ВниманиеWarningTrap element is meaningful only in conjunction with the mechanism of the logic of the monitoring system, that means, if the Trap is not included in any of the existing logic, then an element Trap will not generate and send trap messages. |
Managing Traps
It is possible to create, to configure, and to delete Trap elements only via the web interface. See the documentation for more details: SNMP Traps notification.
Trap string description line
When the user send sends a trap message, a trap string description is formed, for example:
Code Block |
---|
Trap (name: <name> trap_1, ID: <id>602001) was worked. Time: 13 10:37 40:53 32 20172016/0311/2219 Logic: 'Dry Trap' 'Logic_1', Element: 'Dry-1' 'Onboard Temperature', in state: 'alarm' 'high alarm', value: '1' '25.00' |
where:
- <name>
trap_1 - trap element name
in the ctlAllElementName таблицы ctlAllElementsTable;;
- <id>
602001 - trap element ID
in the ctlAllElementID таблицы ctlAllElementsTable;.
You can change the name of the Trap element in the table ctlAllElementsTabletable ctlNotifiers.ctlNotifiersTrapsTable.ctlNotifiersTrapsEntry or in the system web interface.
In addition, the following variables are passed in the message body:
Variables | Description |
---|---|
.1 |
Description of the logic scheme that has triggered |
.2 |
Readings of sensors in the logic scheme | |
.3 | Logic scheme response time |
.4 | Name of the logic scheme |
.5 | Name of the sensor whose state led to the triggering of the logic circuit |
.6 | The state of the sensor that triggered the operation of the logic circuit |
.7 | The value measured by the sensor or the logic level |
.8 | The ID of the sensor that triggered the logic circuit |
.20 | The ID of the SNMP trap |
.21 | Name of the SNMP trap |
Example of the contents of the received trap:
...