Writing Nagios modules
Submitted by abridgett on Sat, 2010/07/10 - 16:31
Britain is enjoying rather nice weather at the moment. One of our consultants has a CurrentCost meter and developed a plugin for Nagios using the excellent Nagios::Plugin Perl library. This allowed him to graph home current usage like this (spot when the electric oven was turned on):

Support for graphing temperature has now been added. The temperature inside his server closet at home is shown below. It stays remarkably constant over the course of a day:

All of these modules work nicely with our preferred Nagios solution Opsview.
We've also upload some more checks that we use:
- check_currentcost - reports electricity usage and temperature
- check_dropbox - reports dropbox status
- check_hugemem - reports huge pages used and spare
- check_ksm - reports KSM page sharing for KVM users