[Xymon] Alerts not working as expected
Scot Kreienkamp
Scot.Kreienkamp at la-z-boy.com
Fri Jul 24 15:21:27 CEST 2020
I think you can only have one EXPAGE argument, and it must be structured like this:
EXPAGE=%(Prod/DoNotAlert*)
OR
EXPAGE=Prod/DoNotAlert,Prod/DoNotAlert1
The alerts can be found on the info page. If you get it correct they will disappear from that page. Don’t forget it may take a while for Xymon to reload the config file after a change unless you restart it.
Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 | • 734-384-6403 | | • 1-734-915-1444 | • Scot.Kreienkamp at la-z-boy.com
www.la-z-boy.com<http://www.la-z-boy.com> | facebook.com/lazboy<http://facebook.com/lazboy> | twitter.com/lazboy<http://twitter.com/lazboy> | youtube.com/lazboy<http://youtube.com/lazboy>
[cid:4C-lzbVertical_Tag_400px_d8b9412e-f3ea-46a1-99dc-a7c57261e11e.jpg]
From: Xymon <xymon-bounces at xymon.com> On Behalf Of David Company
Sent: Friday, July 24, 2020 2:48 AM
To: xymon at xymon.com
Subject: [Xymon] Alerts not working as expected
ATTENTION: This email was sent to La-Z-Boy from an external source. Be vigilant when opening attachments or clicking links.
Hi,
My Alerts are Not Working as expected. I have The following in my hosts.cfg and my alerts.cfg. The result I'm after is that the Servers in the DoNotAlert subpages should not alert but the pages in subpage Alerts must. Currently, they are all alerting despite the EXPAGE setting in the alerts.cfg file. When I switch off any of them the conn sends an alert no matter what permutations I try. Any help would be appreciated.
host.cfg
page Prod Prod Hosts
subpage Alert Alert
0.0.0.0 .default. # NOPROPRED:* NOPROPPURPLE:* NOPROPYELLOW:*
127.0.0.1 prod1.domain.com<http://prod1.domain.com> # conn
subpage DoNotAlert DoNotAlert
127.0.0.2 prod2.domain.com<http://prod2.domain.com> # conn
subpage DoNotAlert1 DoNotAlert1
127.0.0.3 prod3.domain.com<http://prod3.domain.com> # conn
alerts.cfg
COLOR=red EXPAGE=Prod/DoNotAlert EXPAGE=Prod/DoNotAlert1
SCRIPT /usr/share/xymon-client/ext/Notifications/notifications.sh <emailaddress> REPEAT=1h TIME=W:0700:1700
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200724/e735d788/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4C-lzbVertical_Tag_400px_d8b9412e-f3ea-46a1-99dc-a7c57261e11e.jpg
Type: image/jpeg
Size: 591045 bytes
Desc: 4C-lzbVertical_Tag_400px_d8b9412e-f3ea-46a1-99dc-a7c57261e11e.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200724/e735d788/attachment-0001.jpg>
More information about the Xymon
mailing list