There is a easy way to allow developers to stop bugging us the system adminsitror, “clean the cache”. Just setup this php page on a apache server and they can do it themselves. Tested on Varnish 2.X using syntax: curl […]
varnish dynamic backend
Varnish pointing to a Amazon ELB (elastic load balance) does not work. Error: Backend host “XXXXXXXXXXX-123456789.us-east-1.elb.amazonaws.com”: resolves to multiple IPv4 addresses. Only one address is allowed. I wrote this script to have a way to auto update the vcl once […]
auto scale script
This can help if you are creating any kind of auto scale on Amazon AWS. It is not a 100% automatic, as you will need to prior to running this have: Pre-requisites on how to run the AWS command lines […]
check logfiles script
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 […]
TCP Send-Queue
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 State PID/Program name The script syntax example: #check_sendq -w 900 […]
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
Warn when password is about to expire
This script can be used to check if a user’s password is about to expire and throws a popup windows alerting the user, and explaining to change the password. By default it will start the popup when its 7 days […]