Xymon Mailing List Archive search

host macro in hobbit-client.cfg

3 messages in this thread

list Martin Flemming · Thu, 16 Sep 2010 14:04:38 +0200 (CEST) ·
Hi !

Is it possible to use Host Macros in hobbit-client.cfg in such way :

I've got several groups of host

e.g
ATLAS=tcx040,tcx060,tcx080,tcx120,tcx100,tcx101,tcx102,tcx111,tcx112
CMS=tcx061,tcx081,tcx121,tcx034
FLC=tcx33,tcx37,tcx57

And i want to have one group
WGS=ATLAS,CMS

which i want to use for EXHOST=

PAGE=Workernodes/Infiniband  EXHOST=%WGS

I've searched the archive but found only this thread

http://www.xymon.com/archive/2007/10/msg00053.html

with the answer, it dosn't work :-(

I've tested some configs e.g.

$ATLAS=(tcx040|tcx060|tcx080|tcx120|tcx100|tcx101|tcx102|tcx111|tcx112)
$CMS=tcx061,tcx081,tcx121,tcx034


http://www.xymon.com/archive/2007/10/msg00053.html

Any hints are welcome

thanks & cheers,


        Martin
list Henrik Størner · Thu, 23 Sep 2010 11:52:09 +0000 (UTC) ·
quoted from Martin Flemming
In <user-a40dff451a7f@xymon.invalid> user-f286aaa49a76@xymon.invalid writes:
Is it possible to use Host Macros in hobbit-client.cfg in such way :
Surprisingly, no. It really should be possible, I cannot say why this
wasn't implemented.

Definitely one for the "to-do" list.


Regards,
Henrik
list Martin Flemming · Thu, 23 Sep 2010 14:03:49 +0200 (CEST) ·

Nice to hear :-)

thanks a lot henrik !

cheers,
 	martin
quoted from Henrik Størner

On Thu, 23 Sep 2010, Henrik Størner wrote:
In <user-a40dff451a7f@xymon.invalid> user-f286aaa49a76@xymon.invalid writes:
Is it possible to use Host Macros in hobbit-client.cfg in such way :
Surprisingly, no. It really should be possible, I cannot say why this
wasn't implemented.

Definitely one for the "to-do" list.


Regards,
Henrik