Xymon Mailing List Archive search

DISPLAYGROUP on alert.cfg

list Henrik Størner
Wed, 14 Dec 2011 22:03:18 +0100
Message-Id: <user-24584e865b19@xymon.invalid>

On 14-12-2011 19:05, John Chen wrote:
In my hosts.cfg, I have spaces on the group description, i.e.:
group group 1

In alert.cfg,it works if I use:
     DISPLAYGROUP=%group.1
However, it fails if I use:
     DISPLAYGROUP="group 1"

What is the best way to put a string (with space in it) in DISPLAYGROUP?
I use the "%group.1" myself :-)

Handling strings with spaces in them has always been bothersome with the 
way Xymon parses configuration files. So I tend to avoid that by using 
the regex-with-wildcard expressions instead.


Regards,
Henrik