Xymon Mailing List Archive search

Sanity check for config files

list T.J. Yang
Thu, 3 Jul 2008 07:36:28 -0500
Message-Id: <user-33caf6efec0e@xymon.invalid>


From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
Sent: Thursday, July 03, 2008 1:46 AM
To: <user-ae9b8668bcde@xymon.invalid>
Subject: [hobbit] Sanity check for config files
Hi all

We have a number of teams, with a large number of servers per team, and
I wanted to give each more autonomy over how they set up their Hobbit
sub-page.
(Also means less work for me)
Same needs here.
I was thinking of having a separate bb-hosts, hobbit-alerts.cfg and
hobbit-clients.cfg for each team, and then include in the case of
bb-hosts or run a cron job to concatenate the files, in the case of the
others.
To my knowledge and practice, only bb-hosts support "include" directive.
not hobbit-alerts.cfg and hobbit-client.cfg. I wish these two cfg files 
support include also.
Is there a way to "sanity check" any of these files before exposing
hobbit to them?
So far, I am using "beacon" approach by bringing down a vmware session's 
interface for 6 minutes
to trigger alarm at certain time each day.

This beacon approach will ensure lots of components in hobbit system 
monitoring system are functional.


tj
I would probably need to remove the <CR><LF>, which is pretty easy, but
are there any other sanity checks available?

Regards
   Vernon

NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.