DiscoSnmpGetResponse();

DiscoSnmpGetResponse(); performs an SNMP Get request. The simple form of this rule takes two arguments, separated by a comma. The first argument is the key to assign to the response. This key is used in the processing layer. The second argument is the OID (Object ID) to retrieve from the device.

The following example retrieves sysUpTime, assigning the key m_SysUpTime to the value that is returned.
DiscoSnmpGetResponse( "m_SysUpTime", sysUpTime );

A more complex form of DiscoSnmpGetResponse(); takes a third argument, the OID index. The following example retrieves ifDescr, assigns the key m_IfDescr to the value returned, and uses the OID index 1.

DiscoSnmpGetResponse( "m_IfDescr", ifDescr, "1" );