summary: quick shell scripting question: followup

From: <ldg_at_ulysium.net>
Date: Mon, 22 Dec 2003 16:58:33 -0500

I wrote that script I needed and it's working just as I wanted it to.
I used the vdf command, greped and parsed the output with awk to get only
the amount full. I wanted to watch only 5 filesystems and not all of them,
plus I needed to set a different threshold for reporting a warning.
I get a warning emailed only if one or more filesystem goes over the
threshold and if more than one goes over, the warning email gives info on
each filesystem in that condition. I run this out of cron every hour.

I inspired myself from a few scripts or snippets sent by several people (too
many to mention).

Thanks to all for all the suggestions, it's now working beautifully.

-- 
Didier Godefroy
mailto:dg_at_ulysium.net
Received on Mon Dec 22 2003 - 22:02:27 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT