article Working with the 'Generic SNMP' plug-in

The 'Generic SNMP' Plug-in Monitor allows monitoring/testing of  OID values against any elements within up.time (not just netSNMP or Network Devices).

The following fields in the plug-in handle the details around the SNMP version, and appropriate credentials for the different SNMP versions. The correct choices for these fields can typically be found in the device's web admin panel or the vendor's documentation. 

  • 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.


Get

 Using the 'Generic SNMP' Plug-in Monitor for a 'snmp get' action will allow you to pull a single OID value into up.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.

  • SNMP Action: GET
  • SNMP Data Type: String or Integer, set this based on what your OID is excepted to return.
  • SNMP OID: The OID you are looking to monitor

Here's an example of how to get the SysDescr OID and return that value to up.time as a string.

  • SNMP Action: GET
  • SNMP Data Type: String
  • SNMP OID: .1.3.6.1.2.1.1.1.0

 

Walk

 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: String or Integer, set this based on what your OID is excepted to return.
  • SNMP OID: The OID for the column you need to do the threshold comparison against
  • SNMP Table Index OID (Walk): The OID for a column within the same Table array that can act as an index or name for the results returned.
  • SNMP Table Index Filter: This field allows you to apply an optional regex filter against the SNMP Table Index, and only returns the results that match. Leave blank if you don't want to filter based on the 'SNMP Table Index OID'

 

Here's an example of how to walk the ifInErrors column of the ifTable and return the results matched to their ifDescr:

  • SNMP Action: Walk
  • SNMP Data Type: Integer
  • SNMP OID: .1.3.6.1.2.1.2.2.1.14
  • SNMP Table Index OID (Walk): .1.3.6.1.2.1.2.2.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':

  • SNMP Action: Walk
  • SNMP Data Type: String
  • SNMP OID: .1.3.6.1.2.1.2.2.1.8
  • SNMP Table Index OID (Walk): .1.3.6.1.2.1.2.2.1.2
  • SNMP Table Index Filter: vlan

Related Articles


Expanding up.time's Capabilities with Plug-in Monitors

RatingViews
article

Plug-in monitors allow up.time clients to expand their monitoring scope and functionality. This article lists some of the available plug-in monitors.

By: uptime Support | Date Created: 9-18-2007 | Last Modified: 8-5-2013 | Index: 218

  61536

Can an SNMP device be added as a Net-SNMP agent?

RatingViews
article

up.time's net-SNMP agent type is intended for server platforms. Most network devices (switches, routers, firewalls, etc...) do not have the full set of required MIB information and should be added...

By: uptime Support | Date Created: 6-12-2010 | Last Modified: 9-13-2012 | Index: 449

  3719

Net-SNMP Metrics

RatingViews
article

This article outline the metrics that up.time collects from a server that is running Net-SNMP.

By: uptime Support | Date Created: 1-26-2007 | Last Modified: 6-30-2011 | Index: 131

  10363

Creating Plug-in Service Monitors in up.time

RatingViews
article

By: uptime Support | Date Created: 5-15-2006 | Last Modified: 12-16-2011 | Index: 068

  61373

SMB stops working after 5.3 upgrade

RatingViews
article

The upgrade to up.time 5.3 improves the authentication library used within the Samba (SMB) monitor. You may find that the username syntax user@DOMAIN needs to be updated to DOMAIN\user for the SMB...

By: uptime Support | Date Created: 6-22-2010 | Last Modified: 8-10-2011 | Index: 452

  1728

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement