Hi,

The entity match is the same as the device match, but for the entity (port, memory pool, etc), rather than the device.

If you want to match all devices, you put * in the device box. If you want to match all ports for a port entity type alert, you put * in the entity box.

If you want to only match ethernet ports on a port alert, you put "ifType eq ethernetCsmacd" in the entity box.

adam.

On 26/08/2015 16:47:34, Casper Allerslev Jensen <casper@dingit.dk> wrote:

Hi all.. 

im trying understand how to make different alerts in Observium.. 

for testing im trying to creat a alert that  will hit all device and set the flag if diskspace becomes 90% used. 

For that i used the storage_perc alert and created the alert like this:

Check condition: storage_perc gt 90
Associations device match: os match *
Associations Entity match: storage_perc match *

Now the example i found in the documentation was here: http://observium.org/docs/alert_checker/ and was for mempool_perc. Now i know my storage exampel doesn't use the same entity match but thats because i don't understand what that is?

My logics behind my alert is like this.

Check condition see if storage usages reach 90% or more.

Association device is to set what devices in observium should be hit by this alert. I set mine to os match wildcard beacuse i want all device to be hit by this alert.

Association Entity im not sure i fully understand?

Any help would be apriciated... and please .. i rather be taught to fish then be given a fish :) if you know what i mean :)