cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.
James_Thomson
F5 Employee
F5 Employee

Problem this snippet solves:

The purpose of this monitor is to check for the value of an SNMP OID and mark the server up if it equals the result variable which is customizable.

  1. Copy the monitor text below to a new file called snmp-check and move that file to the /usr/bin/monitors folder in BIG-IP.
  2. Make it executable by typing “chmod 755 snmp-check”
  3. Create a new monitor of type External. Set the Interval and Timeouts desired.
  4. Define the location of the file.
  5. Add 3 variables, one with Name “OID” (case-sensitive) which contains the OID you wish to poll. Add the next with Name “community” which contains the community string. The last with the Name “result” which contains the value you are looking for.
  6. In the Configuration Drop-down box, select Advanced and then under the Alias Service Port, select SNMP or type in the customer SNMP port number.

Code :

# (file not fixed yet)
Comments
AMoustafa
Nimbostratus
Nimbostratus

where is the code please?

Version history
Last update:
‎12-Mar-2015 15:10
Updated by:
Contributors