Archive for the ‘plugins’ Category

check_procs: /lib/ bad ELF interpreter: No such file or directory

December 4th, 2013 No comments

When monitoring a server process/services using check_procs plugin
On new servers x64 many times you will get this error
# ./check_procs
-bash: ./check_procs: /lib/ bad ELF interpreter: No such file or directory

Read more…

Categories: Linux, Nagios, plugins Tags: ,

check iis cpu

September 5th, 2013 1 comment

This nagios plugin VBS script, gets exactly the amount of CPU a specific Aplication Pool is using, it helps a lot to identify witch site is using more CPU.
It was tested on Windows 2003 only.

Read more…

check apache script

August 22nd, 2013 No comments

This script monitor Apache
OK – Apache Status Req/s = 0.6 Idel = 4 Busy = 7|Req=0.6;Idle=4;Busy=7

Read more…

Categories: BashScripts, HowTo, Linux, Nagios, plugins Tags: ,

May 31st, 2013 No comments

I wrote this script to monitor my Amazon EC2 servers and LoadBalancers, this script is able to get any metrics
avaiable at the cloud-watch. For it to work you will need the amazon api commands working, here is how to setup it.

Read more…

Categories: Amazon-AWS, Nagios, plugins Tags:

check logfiles script

April 17th, 2013 2 comments

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 this skel.

Read more…

Categories: Nagios, plugins Tags: , , , , ,


March 27th, 2013 No comments

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 iptables conntrack feature.

Read more…

Cluster MS Check

January 17th, 2013 3 comments

Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster.

Read more…


September 20th, 2012 No comments

Nagios plugin to verify a FTP site, by uploading a file and testing the time it takes.

< ?php // Script to connect to a FTP site and Upload a file, return the time it took and compare to WARN and CRIT values // Formated for Nagios usage // Use a test user for the FTP as it could be simple to get this password // I use a 5mb file, created by using: dd bs=1024 count=5120 skip=5120 if=/dev/sda of=file.tst // by Felipe Ferreira Read more…

nagios check printer

August 20th, 2012 No comments

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 of 3 times each 2 min.

Read more…


April 17th, 2012 1 comment

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.

Read more…