[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] CPU utilisation alerts



I don't know if you can alert off one of the values in one of the trends graphs. That might take some back-end modifications. 

But you could write a simple client-side script to do the same command that is parsed for the trends graphs (vmstat, I think), totaling the cpu utilization values and sending a simple status message with the appropriate g/y/r color. The hobbit can do the alert. 


Thomas Kern
301-903-2211
 

----- Original Message -----
From: vernon.everett (at) westernpower.com.au <vernon.everett (at) westernpower.com.au>
To: hobbit (at) hswn.dk <hobbit (at) hswn.dk>
Sent: Wed Sep 12 23:36:07 2007
Subject: [hobbit] CPU utilisation alerts


Hi all 

I'm baaaack :-) 
For those who might have missed me, I spent a few months contracting for a company that standardised on BMC Patrol. Wouldn't even look at Hobbit. 
BMC is a horrible package, expensive, not very extensible, with a huge client footprint and overhead, and is very prone to crashing. 
Sad product. 

But no matter, I am now trying to satisfy my new company that Hobbit is the one monitor to rule them all, and my new colleagues have identified a "deficiency". 

This has probably been asked and answered before, but here is what they want. 
I have been asked to generate a yellow/red status when absolute CPU utilisation reaches predetermined thresholds. 
Yes, I know, without looking at the run-queue this figure is not very meaningful, but this is what they want. 

The la1 graph in the trends column does an excellent job of graphing the CPU utilisation, but how do I configure an alert based on that figure? 

Regards 
       Vernon 







========================================================================
Electricity Networks Corporation, trading as Western Power
ABN: 18 540 492 861

TO THE ADDRESSEE - this email is for the intended addressee only and may contain information that is confidential. 
If you have received this email in error, please notify us immediately by return email or by telephone. 
Please also destroy this message and any electronic or hard copies of this message.

Any claim to confidentiality is not waived or lost by reason of mistaken transmission of this email.

Unencrypted email is not secure and may not be authentic.  Western Power cannot guarantee the accuracy, reliability,
completeness or confidentiality of this email and any attachments.

VIRUSES - Western Power scans all outgoing emails and attachments for viruses, however it is the recipient's responsibility 
to ensure this email is free of viruses.
========================================================================