Re: [Observium] Help with Alert Checker processor usage / excluding
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Use this as an entity filter:
processor_descr eq Average
You only want to measure the average cpu, not the individual cpus.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 03/05/2016 12:09:13, Michael mich4@gmx.de wrote: So I changed the Device match in : hostname notequals high-cpu-server I tested it with command yes > /dev/null & on another server and I get a mail ... unfortunately I got now 2 mails, one with exact processor description in Subject Line and one with -Average- in Subject Line ... can somebody explain this: The checker looks like this now: Check Condition: Require any condition - processor_usage gt 95 Device match: hostname notequals high-cpu-server Entity match: processor_descr gt 95 Is there still something wrong in this rule ? Regards
Message: 3 Date: Tue, 03 May 2016 07:27:45 +0100 From: "Adam Armstrong" adama@memetic.org To: "" observium@observium.org Subject: Re: [Observium] Help with Alert Checker processor usage / excluding certain servers Message-ID: d5eb474b-a4ca-46ab-a87b-bb4d7d2fbfc4@getmailbird.com Content-Type: text/plain; charset="utf-8"
hostname ne blah.blah.com hostname ne foo.blah.com
These are evaluated as "and", so you can put a lot of "not equals" entries in. You could even write a regular expression to cover all those devices.
BTW, if you don't have any filters, just use * in the match box, as using "hostname match *" will actually run a regular expression matching everything, rather than just, matching everything!
adam.
participants (2)
-
Adam Armstrong
-
Michael