Aha, I thank you.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Monday, January 30, 2017 2:50 PM
To: Observium Network Observation System
Subject: Re: [Observium] Trying to set up alert on average processor usage but getting alerts for each individual processor.

 

Why is your entity association just "Average"?

Association rules are always

attribute operator condition

Adam.

Sent from BlueMail

On 30 Jan 2017, at 12:02, Rowlands Mark <Mark.Rowlands@riksbyggen.se> wrote:

Running Observium Professional 17.1.8329

I am trying to set up an alert on the average cpu usage for an intel multiprocessor machine ( yeah windows and snmp.. I know )

This is the exported template :-

<?xml version="1.0"?>
<templates>
  <template type="alert" description="Autogenerated observium template" version="0.91" created="Mon, 30 Jan 2017 12:48:26 +0100" observium="17.1.8329" id="62216b29dcf38c27da35f258b679d0f4">
    <entity_type>processor</entity_type>
    <name>cpu</name>
    <message>Processor high</message>
    <severity>crit</severity>
    <suppress_recovery>0</suppress_recovery>
    <delay>0</delay>
    <conditions_and>1</conditions_and>
    <conditions>processor_usage gt 75</conditions>
    <conditions_complex>processor_usage gt 75</conditions_complex>
  
<associations>
      <device>hostname equals pdb01-sql</device>
      <entity>Average  </entity>
    </associations>
  </template>
</templates>

This however seems to match all of the processors  ( see attached images )

I am clearly doing something wrong / being unlucky with my thought processes.

Anyone care to enlighten me?


observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium