{ 'type' : 'Snmp', 'subents' : [ { 'status':'on', 'name':'test1', 'host':'10.0.2.4', 'community':'public', 'oid':'.1.3.6.1.4.1.2021.11.9.0', 'triggers':[{'level':'critical', 'trigger':'10'}], }, ], },
The Snmp Entity uses a SNMP GET command to query the given Object ID and compares the result against the trigger. The object queried must return an integer value.
Fields
The host to send the query to.
The SNMP community to query.
The SNMP object identifier to retrieve. The OID should be numeric as no MIB compiler is available. The -On option to snmpget is useful for translating OID names to numbers.