[hobbit] Disk Status in hobbit-clients.cfg
Hi Henrik,
That is great, I can now look to rolling hobbit into production - I'll wait for the pukka 4.2 release though.
What is the syntax for using the new feature - I couldn't find it documented?
Keep up the good work.
Regards,
Chris
-----Original Message----- From: henrik at hswn.dk [SMTP:henrik at hswn.dk] Sent: Tuesday, May 30, 2006 10:38 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Disk Status in hobbit-clients.cfg
On Tue, Feb 07, 2006 at 05:07:11PM +0000, Rob MacGregor wrote:
On 2/7/06, Morris, Chris (Shared Services) <CHRIS.MORRIS at rwenpower.com> wrote:
Henrik,
Can you say if / when the ability to change the "disk status based on free KB" feature will be included in Hobbit?
That would be useful. In these days of multi TB disk arrays, alerting on percentage is becoming less than useful (as at even 99% there can still be a lot of disk space left).
I just finished coding this, so ... now :-)
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.
If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
On Wed, May 31, 2006 at 10:36:23AM +0100, Morris, Chris (Shared Services) wrote:
Hi Henrik,
That is great, I can now look to rolling hobbit into production - I'll wait for the pukka 4.2 release though.
What is the syntax for using the new feature - I couldn't find it documented?
It's in the hobbit-clients.cfg man-page:
If the utilization of "filesystem" is reported to exceed "warnlevel" or
"paniclevel", the "disk" status will go yellow or red, respectively.
"warnlevel" and "paniclevel" are either the percentage used, or
the space available as reported by the local "df" command on the host.
For the latter type of check, the "warnlevel" must be followed by the
letter "U", e.g. "1024U".
It will simply compare the number reported as "free space" in the df output with the number in the DISK config. That neatly sidesteps any issues of what metric df is using - mega, giga or kilobytes; it doesn't matter since we're just comparing numbers.
Henrik
participants (2)
-
CHRIS.MORRIS@RWEnpower.com
-
henrik@hswn.dk