hobbitd_alert question
list Robert P McGraw
Running xymon 4.2.3
Why am I getting the "Failed" line? What is the "include list"?
Thanks
Robert
[180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo proc
2010-09-28 14:21:38 Using default environment file /local/xymon/server/etc/hobbitserver.cfg
2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page
00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging
00013867 2010-09-28 14:21:38 Matching host:service:page 'galileo:proc:' against rule line 120
00013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu' (hostname not in include list)
[181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --dump-config
2010-09-28 14:22:34 Using default environment file /local/xymon/server/etc/hobbitserver.cfg
HOST=galileo.math.purdue.edu
MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60 SERVICE=conn,cpu,disk,procs,http
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (XXX) XXX-XXXX
XXX N. University Street
West Lafayette, IN XXXXX-XXXX
list Josh Luthman
Maybe because it isn't in bb-hosts? 2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX
▸
On Tue, Sep 28, 2010 at 2:31 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:Running xymon 4.2.3 Why am I getting the "Failed" line? What is the "include list"? Thanks Robert [180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo proc 2010-09-28 14:21:38 Using default environment file /local/xymon/server/etc/hobbitserver.cfg 2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page 00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging 00013867 2010-09-28 14:21:38 Matching host:service:page 'galileo:proc:' against rule line 120 00013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu' (hostname not in include list) [181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --dump-config 2010-09-28 14:22:34 Using default environment file /local/xymon/server/etc/hobbitserver.cfg HOST=galileo.math.purdue.edu MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60 SERVICE=conn,cpu,disk,procs,http Robert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid Purdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street West Lafayette, IN XXXXX-XXXX
list Steve Holmes
▸
On Tue, Sep 28, 2010 at 2:31 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid>wrote:
Running xymon 4.2.3
Why am I getting the "Failed" line? What is the "include list"?
Thanks
Robert
[180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo
proc
2010-09-28 14:21:38 Using default environment file
/local/xymon/server/etc/hobbitserver.cfg
2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top
page
00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging
00013867 2010-09-28 14:21:38 Matching host:service:page 'galileo:proc:'
against rule line 120
00013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu'
(hostname not in include list)
[181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert
--dump-config
2010-09-28 14:22:34 Using default environment file
/local/xymon/server/etc/hobbitserver.cfg
HOST=galileo.math.purdue.edu
MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60
SERVICE=conn,cpu,disk,procs,http
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (XXX) XXX-XXXX
XXX N. University Street
West Lafayette, IN XXXXX-XXXX
Are you sure you don't need the FQDN on the command line? Steve --
list Robert P McGraw
Josh, You are correct the host is not on the top page A snippet of my bb-host is as follows. page MathNet7 WEB Servers group-compress <font size="+1">WEB Servers</font> 128.210.003.166 galileo.math.purdue.edu # prefer \ ntp ssh \ so not sure how this fits in to why it is not working? Thanks Robert
▸
-----Original Message----- From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Tuesday, September 28, 2010 2:41 PM To: xymon at xymon.com Subject: Re: [xymon] hobbitd_alert question Maybe because it isn't in bb-hosts? 2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Tue, Sep 28, 2010 at 2:31 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:Running xymon 4.2.3 Why am I getting the "Failed" line? What is the "include list"? Thanks Robert [180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo proc 2010-09-28 14:21:38 Using default environment file/local/xymon/server/etc/hobbitserver.cfg2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page 00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging 00013867 2010-09-28 14:21:38 Matching host:service:page'galileo:proc:' against rule line 12000013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu'(hostname not in include list)[181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --dump-config2010-09-28 14:22:34 Using default environment file/local/xymon/server/etc/hobbitserver.cfgHOST=galileo.math.purdue.edu MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60SERVICE=conn,cpu,disk,procs,httpRobert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid Purdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street West Lafayette, IN XXXXX-XXXX
list Josh Luthman
Try... $ ./bbcmd hobbitd_alert --test galileo.math.purdue.edu proc
▸
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
▸
On Tue, Sep 28, 2010 at 3:00 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:Josh, You are correct the host is not on the top page A snippet of my bb-host is as follows. page MathNet7 WEB Servers group-compress <font size="+1">WEB Servers</font> 128.210.003.166 galileo.math.purdue.edu # prefer \ ntp ssh \ so not sure how this fits in to why it is not working? Thanks Robert-----Original Message----- From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Tuesday, September 28, 2010 2:41 PM To: xymon at xymon.com Subject: Re: [xymon] hobbitd_alert question Maybe because it isn't in bb-hosts? 2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Tue, Sep 28, 2010 at 2:31 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:Running xymon 4.2.3 Why am I getting the "Failed" line? What is the "include list"? Thanks Robert [180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo proc 2010-09-28 14:21:38 Using default environment file/local/xymon/server/etc/hobbitserver.cfg2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page 00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging 00013867 2010-09-28 14:21:38 Matching host:service:page'galileo:proc:' against rule line 12000013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu'(hostname not in include list)[181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --dump-config2010-09-28 14:22:34 Using default environment file/local/xymon/server/etc/hobbitserver.cfgHOST=galileo.math.purdue.edu MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60SERVICE=conn,cpu,disk,procs,httpRobert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid Purdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street West Lafayette, IN XXXXX-XXXX
list Robert P McGraw
Steve. I looked at my history and I had the command with the FQDN and it did not work. But it does work now with the FQDN. Thanks for pointing this out. Robert
▸
From: user-5425c7b245e1@xymon.invalid [mailto:user-5425c7b245e1@xymon.invalid] On Behalf Of Steve Holmes
Sent: Tuesday, September 28, 2010 2:58 PM
To: xymon at xymon.com
Subject: Re: [xymon] hobbitd_alert question
On Tue, Sep 28, 2010 at 2:31 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid<mailto:user-33cf07af04dd@xymon.invalid>> wrote:
Running xymon 4.2.3
Why am I getting the "Failed" line? What is the "include list"?
Thanks
Robert
[180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo proc
2010-09-28 14:21:38 Using default environment file /local/xymon/server/etc/hobbitserver.cfg
2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page
00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging
00013867 2010-09-28 14:21:38 Matching host:service:page 'galileo:proc:' against rule line 12000013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu<http://galileo.math.purdue.edu>'; (hostname not in include list)
▸
[181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --dump-config
2010-09-28 14:22:34 Using default environment file /local/xymon/server/etc/hobbitserver.cfgHOST=galileo.math.purdue.edu<http://galileo.math.purdue.edu>; MAIL user-0fe9b25bd89e@xymon.invalid<mailto:user-0fe9b25bd89e@xymon.invalid> FORMAT=TEXT REPEAT=60 SERVICE=conn,cpu,disk,procs,http Robert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid<mailto:user-33cf07af04dd@xymon.invalid>
▸
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (XXX) XXX-XXXX
XXX N. University Street
West Lafayette, IN XXXXX-XXXX
Are you sure you don't need the FQDN on the command line?
Steve
--
list Robert P McGraw
The FQDN was the problem. Thanks to all that responded.
▸
Robert
-----Original Message----- From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Tuesday, September 28, 2010 3:05 PM To: xymon at xymon.com Subject: Re: [xymon] hobbitd_alert question Try... $ ./bbcmd hobbitd_alert --test galileo.math.purdue.edu proc Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Tue, Sep 28, 2010 at 3:00 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:Josh, You are correct the host is not on the top page A snippet of my bb-host is as follows. page MathNet7 WEB Servers group-compress <font size="+1">WEB Servers</font> 128.210.003.166 galileo.math.purdue.edu # prefer \ ntp ssh \ so not sure how this fits in to why it is not working? Thanks Robert-----Original Message----- From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Tuesday, September 28, 2010 2:41 PM To: xymon at xymon.com Subject: Re: [xymon] hobbitd_alert question Maybe because it isn't in bb-hosts? 2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Tue, Sep 28, 2010 at 2:31 PM, McGraw, Robert P<user-33cf07af04dd@xymon.invalid>wrote:Running xymon 4.2.3 Why am I getting the "Failed" line? What is the "include list"? Thanks Robert [180][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --test galileo proc 2010-09-28 14:21:38 Using default environment file/local/xymon/server/etc/hobbitserver.cfg2010-09-28 14:21:38 Host not found in bb-hosts - assuming it is on the top page 00013867 2010-09-28 14:21:38 send_alert galileo:proc state Paging 00013867 2010-09-28 14:21:38 Matching host:service:page'galileo:proc:' against rule line 12000013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu'(hostname not in include list)[181][root at gauss]:xymon/server/bin# ./bbcmd hobbitd_alert --dump-config2010-09-28 14:22:34 Using default environment file/local/xymon/server/etc/hobbitserver.cfgHOST=galileo.math.purdue.edu MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60SERVICE=conn,cpu,disk,procs,httpRobert P. McGraw, Jr. Manager, Computer System EMAIL:user-33cf07af04dd@xymon.invalidPurdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street West Lafayette, IN XXXXX-XXXX
list Rob McBroom
On Sep 28, 2010, at 3:13 PM, McGraw, Robert P wrote:
The FQDN was the problem.
Just to be clear, I don't think it has to be the FQDN, it just has to match what you put in bb-hosts. Someone please correct me if that's wrong. -- Rob McBroom <http://www.skurfer.com/>
list Steve Holmes
▸
On Sep 29, 2010, at 8:26 AM, Rob McBroom <user-371ba9bb5b75@xymon.invalid> wrote:
On Sep 28, 2010, at 3:13 PM, McGraw, Robert P wrote:The FQDN was the problem.Just to be clear, I don't think it has to be the FQDN, it just has to match what you put in bb-hosts. Someone please correct me if that's wrong. -- Rob McBroom <http://www.skurfer.com/>;
And that has to match what the client is sending as its host name. Right. Steve
list Buchan Milne
▸
On Wednesday, 29 September 2010 13:26:37 Rob McBroom wrote:
On Sep 28, 2010, at 3:13 PM, McGraw, Robert P wrote:The FQDN was the problem.Just to be clear, I don't think it has to be the FQDN, it just has to match what you put in bb-hosts. Someone please correct me if that's wrong.
In the generic case, you are right (well, bb-hosts, hobbit-alerts,cfg and hostname provided to hobbitd_alert --test should agree), in the specific case the FQDN is used in bb-hosts and hobbit-alerts.cfg.
▸
On Tuesday, 28 September 2010 20:00:30 McGraw, Robert P wrote:
[...]A snippet of my bb-host is as follows. page MathNet7 WEB Servers group-compress <font size="+1">WEB Servers</font> 128.210.003.166 galileo.math.purdue.edu # prefer \ ntp ssh \
[...] On Tuesday, 28 September 2010 19:31:26 McGraw, Robert P wrote: [...]
HOST=galileo.math.purdue.edu
MAIL user-0fe9b25bd89e@xymon.invalid FORMAT=TEXT REPEAT=60
SERVICE=conn,cpu,disk,procs,httpRegards, Buchan