Script to get failed schedulle jobs (plugin for Nagios/Centreon) REQUIRES: schtasks.exe Tested only Windows 2003 For configuring NSCP/NRPE create a .bat file because when called like cscript script/file.vbs does not work! here is the script:
money conversion rate monitoring script
If you want to easly monitor a money conversion rate, here is the script I wrote long long time ago (default is EURO x REAL) ./ moneyconversioncheck –minwarn 3 –maxwarn 4.0 –mincrit 2.8 –maxcrit 4.5 -v Verbose Mode ON EURO […]
Nagios Notify html Script
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 process uptime
Simple script to get any linux process uptime. It could have been done using the /proc/PID too. Here is the code: #!/bin/bash # Script to get a process uptime, alerts if process time is under CRIT value # can be […]
check_varnish_uptime
Simple script to check if the varnish daemon has been restarted latelly Here is the code: #!/bin/bash #Get current varnish uptime #Version 1.0 #By Felipe Ferreira Set 2013 #Variables CRIT=900 #Check arguments print help if [ $# -lt 1 ]; […]
check_backend.sh
Another bash script to monitor if there were any failed connections to the backend’s. It is a simple aproach using the command: varnishstat -1 -f backend_fail Then it puts the output on a tmp file and next time it runs […]
check_con.vbs
Check connections for windows A Visual Basic Script to check how many open connections exists in a certain port. Here is the code: ‘Script Check Number of ESTABLISHED connections ‘Author: Felipe Ferreira ‘Data: 29/07/2010 ‘Version: 1.0 (nagios) ‘———-NAGIOS VARs Const […]