The 'Generic SNMP' Plugin Monitor allows monitoring/testing of OID values against any elements within up.time within Uptime Infrastructure Monitor (not just netSNMP or Network Devices).
- SNMP Version
- SNMP Port
- Community String(v1/v2)
- Agent Username (v3)
- Authentication Type (v3)
- Authentication Passphrase (v3)
- Privacy Type (v3)
- Privacy Passphrase (v3)
After supplying the SNMP version/credentials, we need to decide what 'SNMP action' the Monitor will attempt to make against the Element. This choice depends on whether we are trying to GET a single value or OID on the device (ie. SysDescr ), or looking to WALK an entire column in an SNMP Table Array ( ifSpeed column in the ifTable) and retrieve all the values. See the below Get/Walk sections for further explanation of what choice to make here, and examples for how to setup the plug-in.
The 'SNMP Data Type' field depends on what syntax or value that the OID is expected to return, and is used by the plug-in to handle whether we perform String or Integer type comparisons against the SNMP output.
Using Using the 'Generic SNMP' Plug-in Monitor for a 'snmp get' action will allow you to pull a single OID value into upUptime Infrastructure Monitor. time. Unlike the 'SNMP Poller' Monitor, this OID value does not have to be explicitly defined within a MIB file. This allows you to monitor for 'Dynamic OIDs' that typically represent a single interface or drive on a device that isn't fully defined within the associated MIB files.
Here's an example of how to get the SysDescr OID and return that value to up.time to Uptime Infrastructure Monitor as a string.
- SNMP Action: GET
- SNMP Data Type: String
- SNMP OID: .126.96.36.199.188.8.131.52.0
The 'SNMP Walk' action allows you to pull an entire column from an SNMP array Table, and perform a threshold comparison on each result in that column.
- SNMP Action: Walk
- SNMP Data Type: Integer
- SNMP OID: .184.108.40.206.220.127.116.11.1.14
- SNMP Table Index OID (Walk): .18.104.22.168.22.214.171.124.1.2
Here's an example of how to check the ifOperStatus column in the same ifTable but only return results for those that have a ifDescr of 'vlan':