Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
This plugin allow to easily check how much users are logged-on a windows machine with SNMP enabled , no Agent needed. in the .tar you can find everything needed to make this running in a minute 🙂
Current Version
1.0
Last Release Date
2013-03-26
Owner
Laurent Hugot
License
Other
Compatible With
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! :)
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 `
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
You must be logged in to submit a review.
To:
From: