Xymon Mailing List Archive search

hobbitd_alert question

10 messages in this thread

list Robert P McGraw · Tue, 28 Sep 2010 14:31:26 -0400 ·
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 · Tue, 28 Sep 2010 14:41:19 -0400 ·
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
quoted from Robert P McGraw


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 · Tue, 28 Sep 2010 14:58:25 -0400 ·
quoted from Josh Luthman
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 · Tue, 28 Sep 2010 15:00:30 -0400 ·
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
quoted from Josh Luthman

-----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.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 · Tue, 28 Sep 2010 15:04:38 -0400 ·
Try...

$ ./bbcmd hobbitd_alert --test galileo.math.purdue.edu proc
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Robert P McGraw
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.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 Robert P McGraw · Tue, 28 Sep 2010 15:12:37 -0400 ·
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
quoted from Steve Holmes


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 120

00013867 2010-09-28 14:21:38 Failed 'HOST=galileo.math.purdue.edu<http://galileo.math.purdue.edu>'; (hostname not in include list)
quoted from Josh Luthman
                                                                                                                                                                    [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<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>
quoted from Josh Luthman
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 · Tue, 28 Sep 2010 15:13:44 -0400 ·
The FQDN was the problem.

Thanks to all that responded.
quoted from Josh Luthman

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.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 Rob McBroom · Wed, 29 Sep 2010 08:26:37 -0400 ·
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 · Wed, 29 Sep 2010 08:44:23 -0400 ·
quoted from Rob McBroom

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 · Wed, 29 Sep 2010 16:26:07 +0100 ·
quoted from Rob McBroom
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.
quoted from Robert P McGraw


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,http
Regards,
Buchan