ntpq -nc peers
bash date convert epoch time
Many times you will need to conver Unix/Linux epoch time to a readable date format
That is quite simple
$ date -d@1363497047
Dom Mar 17 02:10:47 BRT 2013
To get …
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
echo “nExample: n check_ftp.php ftp.check.com anonymous pass /folder1010/ /tmp/file.txt 4
Varnish Backend Response Monitor
I think it is important to know how much time it is taking for the varnish
to go to the backend (webserver) and return.
The script will show the response …