SPR720 – Lab 3

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:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: