[Xymon] analysis.cfg not working?

Clark, Sean sean.clark at twcable.com
Mon Mar 31 20:51:49 CEST 2014


It just doesn't appear to work at all



I changed it so there were no duplicate groups


Xymon host.cfg:


group fortification
10.24.32.75 unified-monitor-01.somedomain.com #  NET:xymon-server

Analysis.cfg:

DISPLAYGROUP="fortification"
       PROC /usr/bin/pt-heartbeat 2 8 red


That line gets applied to all hosts as a default, not the single host in the group 'fortification'


Xymond_client —test ?dump   shows it applied to all (and the gui did as well)







From: <Clark>, Sean Clark <sean.clark at twcable.com<mailto:sean.clark at twcable.com>>
Date: Monday, March 31, 2014 at 1:30 PM
To: Jeremy Laidman <jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>>
Cc: Xymon Email List <xymon at xymon.com<mailto:xymon at xymon.com>>
Subject: Re: [Xymon] analysis.cfg not working?

Shows blank:

LOG /var/log/mysqld.log MATCH=ERROR COLOR=red HOST=%rio-db-*.* (line: 332)
[ that is last stanza before    the DISPLAYGROUP= line, which is below]
PROC /usr/bin/pt-heartbeat 2 8 red (line: 336)
UP 3600 -1 (line: 342)
LOAD 1.00 3.00 (line: 343)
DISK * 90% 95% 0 -1 red (line: 344)
MEMREAL 100 101 (line: 345)



So that DISPLAYGROUP="Bastion" line gets lumped in with the default lines

So, I can see why it's red/applied to all – it thinks it should be

But, I knew that much already, hence my email to the group :-D

The man page for analysis.cfg   says DISPLAYGROUP='blah' is one of the valid ways of selecting dudes… but then it's missing






From: Jeremy Laidman <jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>>
Date: Sunday, March 30, 2014 at 9:30 PM
To: Sean Clark <sean.clark at twcable.com<mailto:sean.clark at twcable.com>>
Cc: Xymon Email List <xymon at xymon.com<mailto:xymon at xymon.com>>
Subject: Re: [Xymon] analysis.cfg not working?

On 28 March 2014 00:59, Clark, Sean <sean.clark at twcable.com<mailto:sean.clark at twcable.com>> wrote:
Is it an issue with analysis.cfg? Or because I use the group bastion several times in hosts.cfg, or?

Could be the multiple listings of the same group.  Not sure.

Have you tried running "xymond_client --test" and see what that shows?


________________________________
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140331/b350b70d/attachment.html>


More information about the Xymon mailing list