Xymon Mailing List Archive search

analysis.cfg question

list Didier Bringer
Fri, 13 Dec 2013 15:42:48 +0100
Message-Id: <user-ea394181bd68@xymon.invalid>

Hi all,

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

page mygroup
group-compress mywww
0.0.0.0      www1 # http://www1/
0.0.0.0      www2 # http://www2/
0.0.0.0      www3 # http://www3/
...

Would become

page mygroup
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.
eg.
MACHINEDOTS=hostname.example.com<http://hostname.example.com>;

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 <user-fc632e705d24@xymon.invalid<mailto:user-fc632e705d24@xymon.invalid>> 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.
=G=


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.
Thank you.