Snmp

Name

Snmp -- Perform an SNMP query

Synopsis

{ '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'}],
     },
   ],
},

Description

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

host

The host to send the query to.

community

The SNMP community to query.

oid

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.

Trigger

The Trigger fires if the retrieved value exceeds the trigger value.