Hello,
I'm writing a script to monitor different filesystems in multiple servers. And depending on the % free, my script will send an Alert email if % free is less than threshold.
I want to keep a input_feed_file which would have "server,filesystem".
If I run a script a host 'a', then I can find the file systems usage on that server. But I'm intrested to watch few more filesystems that are in host 'b'.
How do I find the disk usage from my script, of these filesystems which aren't on one single server.
I'm not inclined to use any monitoring tools, so I'm trying to accomplish this in one single Korn shell script.
-------------------------------------------
Example of Input file:
host_a,/export/appl/filesystem_a/
host_a,/export/appl/filesystem_b/
host_b,/export/appl/filesystem_y/
.
.
.
--------------------------------------------
Thanks in advance.