Xymon Mailing List Archive search

Disk Status in hobbit-clients.cfg

6 messages in this thread

list Chris Morris · Tue, 7 Feb 2006 12:36:44 -0000 ·
Henrik,

Can you say if / when the ability to change the "disk status based on free
KB" feature will be included in Hobbit?

TIA

Chris


****************************************************************************
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).
*****************************************************************************
list Rob MacGregor · Tue, 7 Feb 2006 17:07:11 +0000 ·
quoted from Chris Morris
On 2/7/06, Morris, Chris (Shared Services) <user-7c3d847d296d@xymon.invalid> 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).

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Henrik Størner · Tue, 30 May 2006 23:37:55 +0200 ·
quoted from Rob MacGregor
On Tue, Feb 07, 2006 at 05:07:11PM +0000, Rob MacGregor wrote:
On 2/7/06, Morris, Chris (Shared Services) <user-7c3d847d296d@xymon.invalid> 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
list Chris Morris · Wed, 31 May 2006 10:36:23 +0100 ·
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
quoted from Chris Morris
-----Original Message-----
From:	user-ce4a2c883f75@xymon.invalid [SMTP:user-ce4a2c883f75@xymon.invalid]
Sent:	Tuesday, May 30, 2006 10:38 PM
To:	user-ae9b8668bcde@xymon.invalid
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) <user-7c3d847d296d@xymon.invalid>
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

****************************************************************************
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).
*****************************************************************************
list Henrik Størner · Wed, 31 May 2006 11:42:03 +0200 ·
quoted from Chris Morris
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
list Chris Morris · Wed, 31 May 2006 11:00:55 +0100 ·
Henrik,

Thanks for that, I looked at the web version of the man page which hasn't
been updated and in the hobbit-clients.cfg which doesn't mention it either.

I see this has changed for file min/max size reporting but unlike the
documentation doesn't seem to default to KB but to bytes now!!
quoted from Henrik Størner

Regards,

Chris
-----Original Message-----
From:	user-ce4a2c883f75@xymon.invalid [SMTP:user-ce4a2c883f75@xymon.invalid]
Sent:	Wednesday, May 31, 2006 10:42 AM
To:	user-ae9b8668bcde@xymon.invalid
Subject:	Re: [hobbit] Disk Status in hobbit-clients.cfg

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

****************************************************************************
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).
*****************************************************************************