TRAP is a notification element, that sends trap message (Trap-PDU) from the monitoring system (agent) to the network management base station (SNMP manager).
Trap element supports the formation of SNMP trap messages ver. 1, 2c and 3.
Внимание
Trap 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.
Trap string description line
When user send a trap message, a trap string description is formed:
Trap (name: <name> , ID: <id>) was worked. Time: 13:37:53 2017/03/22 Logic: 'Dry Trap', Element: 'Dry-1', in state: 'alarm', value: '1'
where:
- <name> - trap element name in the ctlAllElementName таблицы ctlAllElementsTable;;
- <id> - trap element ID in the ctlAllElementID таблицы ctlAllElementsTable;
You can change the name of the Trap element in the table ctlAllElementsTable
In addition, the following variables are passed in the message body:
Variables | Description |
---|---|
.1 | - |
.2 | - |
.3 | Logic 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 | ID of the sensor that triggered the logic circuit |
Example of the contents of received trap: