Xymon Mailing List Archive search

Reference tag in hosts.cfg

list T.J. Yang
Fri, 10 Jan 2014 11:46:52 -0600
Message-Id: <CAD2GW8p+XxAaw130nb7y6uFkg=user-8cd055e16608@xymon.invalid>

Hi John

Thanks for the pointer.

On Fri, Jan 10, 2014 at 11:11 AM, John Thurston <user-ce4d79d99bab@xymon.invalid>wrote:
On 1/10/2014 5:15 AM, Andy Smith wrote:
Could I request that this trivial change be added at some stage please.
 It
introduces the ability to include a tag in hosts.cfg which has no purpose
other than provide an arbitary reference. eg

configdbid=12345
I don't understand the request. Isn't this function already here? I do
this now with tags I've introduced into the hosts.cfg files for outside
reference or ext scripts.
I did a quick test on my xymon server, configdbid=12345 did show up under
"Other tags:".

Andy, is above result is what you need ?


Regards

tj
If you append the following to the end of a host line:
  configdbid:12345
don't you get exactly the behavior you seek? (Provided configdbid is not
defined in protocols.cfg)

--
   Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska

-- 
T.J. Yang