[Xymon] Custom Server Rules for analysis.cfg

Thomas Hawkins cornmaster at gmail.com
Fri Dec 21 14:22:01 CET 2012


We have 50 or 60 servers configured across a number of pages in our xymon
instance.  Instead of having 60 host=hostname entries with generic entries
across all of the servers, I want to set up some groups/tags/etc... that
can be applied to a host.

So, I figured out I could do:
PAGE=DELTS/*/*
        #Defaults for all DELTS Servers
        PROC crond 1 -1 red "TEXT=crond : Task Scheduler"
        PROC ntpd 1 -1 yellow "TEXT=ntpd : Network Time Client"

To go across all of our servers on our subpages to apply these two proc
checks.

What I would like to do is get a bit more specific.  We have a mix of
physical machines, virtual machines, and linux machines, windows machines,
and production machines and development machines.

I'd like to be able to tag hosts somehow so I can do something like this:
Host 1 = Linux, Production, VM
Host 2 = Linux, Physical, Dev

Linux:
PROC - ntp, cron

Production:
PROC - backup client

VM:
PROC - vmwaretools

Physical:
nothing additional.

Dev:
nothing additional

So for Host1 it will do the following PROC tests:
ntp, cron, backup client, vmwaretools

Whereas Host2 will only do:
ntp, cron

I understand that if I had hosts configured into like groups, or subpages
then I could target the whole works that way, but I currently have my hosts
configured in a way that this is not practical.  Essentially I have all
hosts divided into 3 major groups, and then a number of subgroups, and then
the hosts are listed here based on application cluster or function.  Basing
it on groups or pages would also require me to create a bunch of additional
rules to account for each of the situations above, whereas something like a
tag that a host could have multiple of would simplify things.

Can anyone provide any insight as to how I can achieve these goals?

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121221/6ba2cf13/attachment.html>


More information about the Xymon mailing list