Last week I added some of my Nagios check scripts to my nagios-scripts GitHub repository. Perhaps they’ll be of some use to some other people…
- quick and dirty, built for one specific application, but a good starting place for checking Dallas 1-wire temperatures via OWFS.
- A script to check various things in the IEEE-802DOT11 MIB, written for Ubiquiti APs (SNMP).
- A script to check some stuff from FROGFOOT-MIB, also written for Ubiquiti APs (SNMP).
- a Python check script to parse the output of rasterisk for IAX peer status and latency (includes perf data output).
- A script to connect to the Bacula database and make sure a specified job terminated OK and was run on schedule.
- A script to check status and various metrics for cable modems implementing the DOCSIS MIB (SNMP). Works with (at least) the Motorola SurfBoard modems used by Cablevision (which use 192.168.100.1 on the LAN side).
- A PHP script which checks (recursively) that the newest file under
a directory is no more than X seconds old. I use this for checking
my centralized syslog server, which has logs separated out in
- A PHP script which checks (recursively) that the newest file under a directory is no more than X seconds old. I use this for checking my centralized syslog server, which has logs separated out in
Update 2011-01-31 - the check_syslog_age.php script was updated today to handle an error condition where stat() calls in PHP fail on files larger than 2GB on 32-bit systems.