Hello,
I was wondering if anyone has any luck fixing this? Thanks
-----Original Message----- From: Newton, Steve (MBS) Sent: Wednesday, February 02, 2011 12:55 PM To: 'xymon at xymon.com' Subject: RE: [xymon] Monitoring multiple Linux Processes
What Xymon version are you running ? 4.3.0.3.beta2
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").
[root at vmlb1mon1p bin]# ./bb 127.0.0.1 "hobbitdboard host=lb1etl1p test=info field=hostname,BBH_PAGEPATH,BBH_ALLPAGEPATHS" lb1etl1p.mortgagesvcs.com|info|green||0|0|0|0|0||0|
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 ?
Infrastructure Services/Enterprise Operations
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 ?
[root at vmlb1mon1p bin]# ./bbcmd hobbitd_client --test 2011-02-02 12:50:54 Using default environment file /home/xymon/server/etc/hobbitserver.cfg Hostname (.=end, ?=dump, !=reload) []: lb1etl1p.mortgagesvcs.com Hosttype []: Test (cpu, mem, disk, proc, log, port): proc To read 'ps' data from a file, enter '@FILENAME' at the prompt ps command string: Process batchman color red: Count=0, min=1, max=-1 Hostname (.=end, ?=dump, !=reload) [lb1etl1p.mortgagesvcs.com]:
Thanks
Steve Newton
-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Wednesday, February 02, 2011 9:14 AM To: xymon at xymon.com Subject: Re: [xymon] Monitoring multiple Linux Processes
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).
What Xymon version are you running ?
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").
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 ?
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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com