Xymon Mailing List Archive search

Newbie: some alerts not firing

list Paul Root
Thu, 24 Mar 2011 08:47:17 -0500
Message-Id: <user-921308bc2eb0@xymon.invalid>

Well first, if you are using wildcards in hostnames, you need a % before it.

HOST=%db* EXHOST=%*db*

Second, if you want to see what the alerts is supposed to do, use hobbitd_alert. Oh, wait, 4.3.0, I guess that would be xymond_alert to test. Should be found in ~/server/bin

 xymond_alert --test <hostname> <test>

I generally pipe that to grep -v Failed just to cut down on extraneous output. There are plenty of parameters for it, so read the man page. --duration is useful, etc.

Personally, I've moved away from wildcard hostnames. Sometimes it seems inconsistant to me.

Paul.

Paul Root
Lead Internet Systems Eng
Qwest Network Services

-----Original Message-----
From: xymon-bounces at xymon.com
[mailto:xymon-bounces at xymon.com] On Behalf Of Elizabeth Schwartz
Sent: Thursday, March 24, 2011 8:31 AM
To: xymon at xymon.com
Subject: [Xymon] Newbie: some alerts not firing

Can anyone tell me why these alerts aren't firing? Running xymon 4.3.0
on Oracle Linux.
The services are alerting and the generic paging rules are sending
alerts for them;
these rules are supposed to email particular teams in addition.

(am I wrong in thinking that more than one rule can match a
particular alert?)


HOST=db* EXHOST=*dl2* SERVICE=oradb,orasys,oradns
        MAIL dba-support REPEAT=1d RECOVERED  # email dba's in
addition to above

HOST=redirect*  EXSERVICE=msgs
        MAIL user-953b8a3e7b63@xymon.invalid REPEAT=1d RECOVERED


If anyone wants to see the entire alerts.cfg I stuck it at
http://pastebin.com/RWAqKnHQ
(minus the comment lines at the top)

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.