The default notification script for nagios is very simple, why not get more information on the email. Like: hostgroup, how long has the problem happened, link to the possible documentation. And format it in a nice html table. To work, […]
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
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 […]