[Xymon] analysis.cfg question
Galen.Johnson at sas.com
Sat Dec 14 21:55:04 CET 2013
I thought using CLASS:tag would accomplish this...the man pages and the doc embedded in the analysis.cfg file read this way. However, it seems that it may ONLY be for FILE tests. It would be damn handy if this could be extended to support any test. Since the systems I'm trying to monitor in the various regions are groups of the same systems, it's a bit of a pain to have to set up the HOST= for all those systems...even with regex. Just being able to use the class would streamline the config files greatly. (hint, hint, Henrik :-) ). If anyone has actually been able to use this in this fashion, I would love to know. For now, I'm going to have to brute force it.
From: Xymon <xymon-bounces at xymon.com> on behalf of didier.bringer at orange.com <didier.bringer at orange.com>
Sent: Friday, December 13, 2013 9:42 AM
To: xymon at xymon.com
Subject: Re: [Xymon] analysis.cfg question
It makes me think of a feature that would be very nice...
The ability to create a configuration based on "tags" and so one would be able to build confs without listing explicitly machines inside
0.0.0.0 www1 # http://www1/
0.0.0.0 www2 # http://www2/
0.0.0.0 www3 # http://www3/
group-compress-on-tag mywww tag=mywww
0.0.0.0 clientname # http://clientname/
And the group would be dynamic (the number of machines is not relevant)... and the line of config would be based on a template line
De : Xymon [mailto:xymon-bounces at xymon.com] De la part de deepak deore
Envoy? : vendredi 13 d?cembre 2013 10:40
? : Galen Johnson
Cc : xymon at xymon.com
Objet : Re: [Xymon] analysis.cfg question
For EC2 hosts, I changed MACHINEDOTS variable in runclient.sh on xymon client.
On server side, no need to use CLIENT or NAME in hosts.cfg, just use the name which is defined in client's MACHINEDOTS.
On Fri, Dec 13, 2013 at 8:53 AM, Galen Johnson <solitaryr at gmail.com<mailto:solitaryr at gmail.com>> wrote:
Is it possible to key on the "NAME:" or "CLIENT:" definition instead of HOST? Monitoring several systems in EC2 and all the servers have hosts defined as ec2-12-34-56-78.blah.blah.blah.
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xymon