Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Windows User logged-in check
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
in the .tar you can find everything needed to make this running in a minute :)
This plugin test an specific OID with SNMPWALK and then take the result and give an alert depending the threshold you gave on define service on your hosts.
it's really small and efficient, but this is my first plugin so if you find weird stuff, send me your idea! :)
it's really small and efficient, but this is my first plugin so if you find weird stuff, send me your idea! :)
Reviews (2)
You can use:
"-Oqv"
and replace
value=`snmpwalk $1 -v1 -c $2 .1.3.6.1.2.1.25.1.5.0 | cut -d ":" -f2 | cut -d " " -f2`
with :
value=`snmpwalk $1 -v1 -c $2 -Oqv .1.3.6.1.2.1.25.1.5.0 `
"-Oqv"
and replace
value=`snmpwalk $1 -v1 -c $2 .1.3.6.1.2.1.25.1.5.0 | cut -d ":" -f2 | cut -d " " -f2`
with :
value=`snmpwalk $1 -v1 -c $2 -Oqv .1.3.6.1.2.1.25.1.5.0 `
byBareiro, September 4, 2014
Hello. Thanks for the plugin.
I found a difference in the processing of the output of snmpwalk:
# snmpwalk a.b.c.d -v2c -c community .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 3
Therefore, I had to change it to:
# snmpwalk a.b.c.d -v2c -c community .1.3.6.1.2.1.25.1.5.0 | cut -d ":" -f4 | cut -d " " -f2
3
Best regards,
Daniel
I found a difference in the processing of the output of snmpwalk:
# snmpwalk a.b.c.d -v2c -c community .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 3
Therefore, I had to change it to:
# snmpwalk a.b.c.d -v2c -c community .1.3.6.1.2.1.25.1.5.0 | cut -d ":" -f4 | cut -d " " -f2
3
Best regards,
Daniel