I use the bb-top.sh extension from deadcat.net to do this on Sun Solaris, and we modified the src code for bbwin to do it on the PC. Very doable.
-----Original Message-----
From: vernon.everett at westernpower.com.au
[mailto:vernon.everett at westernpower.com.au] Sent: Wednesday, September 12, 2007 11:36 PM To: hobbit at hswn.dk 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.
This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorized to retain, read, copy or disseminate this message or any part of it.