[xymon] Monitoring multiple Linux Processes

Henrik Størner henrik at hswn.dk
Wed Feb 2 15:14:15 CET 2011


In <3B9C50B11919A24884D4983669EE5D7314A4D601 at EXMBXBG103.mtg.home.ads> "Newton, Steve (MBS)" <Steve.Newton at PHH.com> writes:

>This is what I see when I list the host servers:

>HOST=Hostname1,Hostname2,Hostname3,Hostname4,Hostname5,Hostname6
>       PROC netman
>       PROC batchman
>       PROC jobman

>Results:

>green netman (found 1, req. 1 or more)
>green batchman (found 1, req. 1 or more)
>green jobman (found 1, req. 1 or more)


OK, this is fine and what you should expect.


>This is what I see when I use PAGE/SUBPAGE

>PAGE=infrastructure/noc
>       PROC batchman
>       PROC jobman
>       PROC netman

>Results:

>green batchman (found 1, req. 1 or more)


And this is obviously not correct.


I've tried reproducing your setup on my 4.3.0-RC1 installation,
but I cannot make it fail this way. So I need some more information,
and I'd like you to do some tests with the configuration that is
NOT working (the one where you have PAGE=infrastructure/noc).

1) What Xymon version are you running ?

2) Please run this command and send me the result:
   xymon 127.0.0.1 "xymondboard host=Hostname1 test=info fields=hostname,BBH_PAGEPATH,BBH_ALLPAGEPATHS"
   (If you are running a Xymon version prior to 4.3.0-beta3, the
   command will be "bb" instead of "xymon", and the first word
   inside the double quotes must be "hobbitdboard" instead of
   "xymondboard").

3) If you look at the "info" status for one of these hosts, you'll
   see a "Page/Subpage" entry which is a link to a webpage. What
   does the URL in this link look like - specifically, does it
   include "infrastructure/noc" or is it something else ?

4) Try running the command
      xymoncmd xymond_client --test
   (that's "bbcmd hobbitd_client --test" in older versions).
   At the Hostname prompt, enter one of the failing hosts.
   Hit <enter> at the Hosttype prompt, enter "proc" as
   the Test, and just hit <enter> at the "ps command string"
   prompt. This should result in the three processes being listed
   as "red" - does it ?


Regards,
Henrik




More information about the Xymon mailing list