Archive for the ‘SPR720 – LAB3’ Category

SPR720 – Lab 3

September 25, 2008

Ufa this lab was really hard, so many time that I do not use the commands sed, awk, etc…..

After some hours reading a book about shell scripting, IBM material about sed and awk I could finish my lab.

The idea is monitor the partitions of the system and if a partition usage hits 80%, print a warning message.

In a environment with lots of servers is impossible to memorize every partition in each server, and a good tool to keep monitoring the available space on the server is Nagios with the plugin NRPE – Nagios Remote Plugin Executer.

Here is my little script: