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…
System Administrator
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…
Simple bash script using curl to check a website.
It works on HTTP and HTTPS.
Requirement: curl
Usage ./check_http.sh
Example:
./check_http.sh ‘http://oglobo.globo.com’ oglobo 1
OK – Site oglobo.globo.com key oglobo
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 …
A simple nagios/bash script to check if a RedHat/CentOS cluster has failedover.It uses the output from the clustat command.
The usage is simple the script name and service, example:
check_usage …
Script to monitor the TCP Send-Queue.
Send-Q is retrived from the netstat cmd. ex.:
#netstat -anp |more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address …
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 …
We needed a way to know if anyone has added itself to the Local Administrator group on any servers.
So I wrote this script and setup on schedulle task to …