In this post I will describe some useful scripts that I’m using for administrating Linux servers.

Basically I’m using caspar – apt-get install caspar caspar-doc – for maintaining my server park. Great tool, do have a look. Next to that I use some various scripts for for checking the health of the individual servers and nodes.

This first script gives some insight on disk space used and works on regular partitions and also on lvm volumes. You can change the value [ $usep -ge 80 ] to something you find useful. And also you can mail an alert if used space is over the value you specified.

(more…)