Not so generic way to check ‘any’ logfile for erros I have written at least about 5 variations of this same script. Some more flexible and genereal purpose. But in the end I have been writing customs made out of […]
check_conntrack_unreplied
Our front end varnish servers expierence a lot of traffic and we currently must have a iptables NAT that routes from port 80 to port 81, where the varnish daemon listen to traffic. Doing this we end up using the […]
Cluster MS Check
Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster. #!/bin/bash # 2008-07-23 Nereu # edit: Felipe Ferreira 01-2010 TMPDIR=/usr/local/nagios/var PLGDIR=/usr/local/nagios/libexec OK=0 WARN=1 CRIT=2 UNKN=3 if [ “$#” -ne 3 […]
check_ftp.php
Nagios plugin to verify a FTP site, by uploading a file and testing the time it takes. check_ftp.php #!/usr/bin/php
nagios check printer
Script in vbs that will check if a printer is working correctly and is processing its Documents. In case the same number of documents are in the Queue it will alert, this can be used in nagios with a retry […]
check_file_age
I wrote to scripts with the same idea, to monitor a file age, I have written it also in vbs in the past. Now I did it in bash and php. BASH Version, example: check_file_age.sh /opt/solr-3.4.0/app/solrrioshow/conf/dataimport.properties 1440 1441 UPDATED: Its […]
CHECK FTP DIR
I needed to check if operation was happening. The doubt was, Is the FTP files being copied over every day to the server? To be sure I wrote this PHP script to check. It goes into the FTP server and […]