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…
This code has not been tested in the last 2 years…
Here is the code:
#!/usr/bin/perl…
use Time::HiRes;
use LWP::UserAgent;
use HTML::LinkExtor;
my $start_begin = [ Time::HiRes::gettimeofday( ) ];
my
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 …
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:…
We need to know if varnish is caching hit ratio is as it should.
So I wrote this simple bash plugin for nagios.
./check_hitratio.sh 96 90
OK – 98.67% hit_ratio|hit_ratio=98.67…
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
A bash script to get the CPU usage by process
usage:
nohup ./check_proc bwengine 70 &
bwegnine is the process name we want to monitor
70 is to log only …