Add the conditions:

 

storage_descr notmatch /media*

storage_descr notmatch /mnt*

 

 

You may need to escape the “/” but it may just work like that.

 


Spencer J. Ryan| Manager, Technology and Infrastructure
Miller Canfield
T +1.313.496.7979 | F +1.313.496.7500 


 

From: Michael via observium <observium@lists.observium.org>
Sent: Tuesday, August 16, 2022 9:03 AM
To: observium@lists.observium.org
Cc: Michael <mich4@gmx.de>
Subject: [Observium] Help with Alert Checker / excluding mountpoint

 

CAUTION EXTERNAL EMAIL: DO NOT open attachments or click links from unknown or unexpected emails.

 

Hey List,

 

we´ve the following problem with our Observium Alert Checkers ...

I defined a "Storage exceeds 90%" Check with

Device Match "*" and

Entity match "storage_type equals hrStorageFixedDisk" ...

the Condition are "storage_perc ge 85"

 

Now, when for example somebody mounted in his RHEL System an iso-Image under /media, I´ll get an Alert-Mail, that Storage /media exceeds 90% of disk

 

... but this isn´t interesting for me, because it is only temporarily.

 

Now what we need, is the condition ..." check if greater or equal 85, but check not /media and /mnt 

 

Can somebody help here?

 

Thanks in advance.

Regards,

Michael

 

 

You have received a message from the law firm Miller Canfield.  The information contained in or attached to this electronic mail may be privileged and/or confidential. If you received this transmission and are not the intended recipient, you should not read this message and are hereby notified that any dissemination, distribution or copying of this communication and/or its attachments is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and delete or destroy the original and any copies, electronic, paper or otherwise, that you may have of this communication and any attachments.