Event Log

The event log contains an array of SNMP traps and MQTT messages sent by entities.

The Event Log page in the web interface also includes the State History view.

Each event log entry contains the following fields:

Event log model

Field Type Description

agentId

String

The ID of the agent that generated the event.

entity

Object

Entity that generated the event.

entity.entityId

String

The ID of the entity.

entity.entityName

String

The name of the entity.

entity.entityType

Integer

The type of the entity. See the Entity Types article for more information.

_id

String

Entry ID

level

Integer

Severity of the event. See the Event Levels for a list of event levels.

payload

Object

Event information. See the Payload section for more information.

skip

Integer

The index of the entry in the current log.

timestamp

Integer

The timestamp of the event.

type

Integer

Message type. 1 for SNMP Trap, 2 for MQTT message.

Event levels

Event Level Description

0

Clear

1

Minor

2

Major

3

Critical

Payload

Payload depends on the type of the log entry.

SNMP Trap

Field Type Description

agentAddress

String

IP address of the agent.

bindings

String

JSON encoded key-value pair trap variable bindings.

enterpriseOid

String

OID of an enterprise-specific SNMP trap.

genericTrap

Integer

SNMP trap generic type.

senderAddress

String

IP address of the sender.

specificTrap

Integer

SNMP trap specific type.

text

String

The text of the received SNMP Trap.

trapOid

String

OID of a generic SNMP trap.

    "payload": {
        "senderAddress": "127.0.0.1",
        "enterpriseOid": ".1.3.6.1.4.1.5089.1.0.1",
        "agentAddress": "127.0.0.1",
        "genericTrap": 1,
        "specificTrap": 1,
        "bindings": "{\".1.3.6.1.4.1.5089.2.0.99\":\"\\\"TEST TEST\\\"\"}",
        "trapOid": ".1.3.6.1.4.1.5089.2.0.99",
        "text": "\"TEST TEST\""
    }

MQTT message

Field Type Description

message

String

MQTT message text

topic

String

MQTT message topic.