Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
willix
And if you want temperature I recommend you just download check_snmp_temperature.pl. Take a look at how its code too to learn how to write nagios plugins in Perl that retrieve data by SNMP. Then consider what is needed for your setup and write a new perl plugin (if it does not already exist) that you'd be proud of.
Yeah, I've been writing plugins for nagios/netsaint for over a decade now.
There are lots of plugin scripts out there that are wrappers. And most scripts that utilize protocols, need to wrap themselves around libraries.
The check_snmp plugin does not take into consideration the output a device will generate. It is not that good, but a good start for most people.
I have seen lots of scripts which give you this output, or that output, but never one I can ask for whatever output I am looking for. So I wrote script that is easy enough to do just that. I can use this script to check every OID on any any device, and out put the data so it is useful for performance data or not.
Yes, I am proud of all of my code. Because I wrote it, and it works, and it is simple to understand and expand upon.