Xymon Mailing List Archive search

bb-hosts question

7 messages in this thread

list Robert P. McGraw · Tue, 27 Dec 2005 12:58:48 -0500 ·
On the hobbit server (128.210.3.176) my bb-hosts file looks as follows:

128.210.3.176   zada.math.purdue.edu      #  ntp http://www.math.purdue.edu/
128.210.3.177   zorn.math.purdue.edu      #

The web page looks like

bbgen   cpu   disk   hobbitd  info   memory   msgs  procs  trends
  G      G      R       G      G        G       W     G      G
  -      G      R       -      G        G       W     G      G


I assume zada the hobbit client runs independent of zada the hobbit server.

Both hosts are sparc solaris machines.


Why do I not have the ntp and http column for the zada client?

Why do I not have the conn for any host?

What file am I missing to make this all come together?


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                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX
list Dan Vande More · Tue, 27 Dec 2005 12:55:12 -0600 ·
quoted from Robert P. McGraw
On 12/27/05, McGraw, Robert P. <user-33cf07af04dd@xymon.invalid> wrote:
On the hobbit server (128.210.3.176) my bb-hosts file looks as follows:

128.210.3.176   zada.math.purdue.edu      #  ntp http://www.math.purdue.edu/
128.210.3.177   zorn.math.purdue.edu      #

The web page looks like

bbgen   cpu   disk   hobbitd  info   memory   msgs  procs  trends
  G      G      R       G      G        G       W     G      G
  -      G      R       -      G        G       W     G      G


I assume zada the hobbit client runs independent of zada the hobbit server.
That's correct, though they have a tie in that the hobbit client is
stopped/started when you stop/start the hobbit server.
quoted from Robert P. McGraw
Both hosts are sparc solaris machines.


Why do I not have the ntp and http column for the zada client?
Did you restart the server after you made this change? Is the file you
changed the one in ~/hobbit/server/etc/bb-hosts on the server?
Why do I not have the conn for any host?
Check this settings in your ~/hobbit/server/etc/hobbitlaunch.cfg:

CMD bbtest-net --report --ping --checkresponse --dns-timeout=10

And these in your hobbitserver.cfg:

PINGCOLUMN="conn"
CONNTEST="TRUE"
FPING="/usr/bin/fping"
quoted from Robert P. McGraw
What file am I missing to make this all come together?


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                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX

list Robert P. McGraw · Wed, 28 Dec 2005 10:05:36 -0500 ·
I looked through all the files you  indicated. They are as you suggested.

I noticed in my log file I have the following:

2005-12-28 09:56:20 Setting up network listener on 0.0.0.0:1984
2005-12-28 09:56:20 Setting up signal handlers
2005-12-28 09:56:20 Setting up hobbitd channels
2005-12-28 09:56:20 Setting up logfiles
2005-12-28 09:56:26 Task bbnet terminated by signal 4

Do you know what would cause this. I could not find this in the archives.

Thanks

Robert
signature


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                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX            

-----Original Message-----

quoted from Dan Vande More
From: Dan Vande More [mailto:user-f3c4c62d9d50@xymon.invalid]
Sent: Tuesday, December 27, 2005 1:55 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] bb-hosts question

On 12/27/05, McGraw, Robert P. <user-33cf07af04dd@xymon.invalid> wrote:
On the hobbit server (128.210.3.176) my bb-hosts file looks as follows:

128.210.3.176   zada.math.purdue.edu      #  ntp
http://www.math.purdue.edu/
128.210.3.177   zorn.math.purdue.edu      #

The web page looks like

bbgen   cpu   disk   hobbitd  info   memory   msgs  procs  trends
  G      G      R       G      G        G       W     G      G
  -      G      R       -      G        G       W     G      G


I assume zada the hobbit client runs independent of zada the hobbit
server.
That's correct, though they have a tie in that the hobbit client is
stopped/started when you stop/start the hobbit server.
Both hosts are sparc solaris machines.


Why do I not have the ntp and http column for the zada client?
Did you restart the server after you made this change? Is the file you
changed the one in ~/hobbit/server/etc/bb-hosts on the server?
Why do I not have the conn for any host?
Check this settings in your ~/hobbit/server/etc/hobbitlaunch.cfg:

CMD bbtest-net --report --ping --checkresponse --dns-timeout=10

And these in your hobbitserver.cfg:

PINGCOLUMN="conn"
CONNTEST="TRUE"
FPING="/usr/bin/fping"
What file am I missing to make this all come together?


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                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX

list Ralph Mitchell · Wed, 28 Dec 2005 09:38:21 -0600 ·
Don't know if this will help, but if that's a regular Unix signal, the
man page here says signal 4 is: "SIGILL - Illegal Instruction"

Ralph Mitchell
quoted from Robert P. McGraw


On 12/28/05, McGraw, Robert P. <user-33cf07af04dd@xymon.invalid> wrote:
I looked through all the files you  indicated. They are as you suggested.

I noticed in my log file I have the following:

2005-12-28 09:56:20 Setting up network listener on 0.0.0.0:1984
2005-12-28 09:56:20 Setting up signal handlers
2005-12-28 09:56:20 Setting up hobbitd channels
2005-12-28 09:56:20 Setting up logfiles
2005-12-28 09:56:26 Task bbnet terminated by signal 4

Do you know what would cause this. I could not find this in the archives.

Thanks

Robert


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                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX

-----Original Message-----
From: Dan Vande More [mailto:user-f3c4c62d9d50@xymon.invalid]
Sent: Tuesday, December 27, 2005 1:55 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] bb-hosts question

On 12/27/05, McGraw, Robert P. <user-33cf07af04dd@xymon.invalid> wrote:
On the hobbit server (128.210.3.176) my bb-hosts file looks as follows:

128.210.3.176   zada.math.purdue.edu      #  ntp
http://www.math.purdue.edu/
128.210.3.177   zorn.math.purdue.edu      #

The web page looks like

bbgen   cpu   disk   hobbitd  info   memory   msgs  procs  trends
  G      G      R       G      G        G       W     G      G
  -      G      R       -      G        G       W     G      G


I assume zada the hobbit client runs independent of zada the hobbit
server.
That's correct, though they have a tie in that the hobbit client is
stopped/started when you stop/start the hobbit server.
Both hosts are sparc solaris machines.


Why do I not have the ntp and http column for the zada client?
Did you restart the server after you made this change? Is the file you
changed the one in ~/hobbit/server/etc/bb-hosts on the server?
Why do I not have the conn for any host?
Check this settings in your ~/hobbit/server/etc/hobbitlaunch.cfg:

CMD bbtest-net --report --ping --checkresponse --dns-timeout=10

And these in your hobbitserver.cfg:

PINGCOLUMN="conn"
CONNTEST="TRUE"
FPING="/usr/bin/fping"
What file am I missing to make this all come together?


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                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX

list Robert P McGraw · Tue, 12 Feb 2008 11:25:59 -0500 ·
I had a bb-host entry that looked like the following:

128.210.003.177 zorn.math.purdue.edu      # \
                bbd ntp ssh smtp imaps pop3s \
                http://hobbit.math.purdue.edu/ \
                https://helpdesk.math.purdue.edu/ \
                TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|\
                vmstat8|vmstat9|vmstat0,\
                netstat:netstat0|netstat1|netstat2|netstat3

In the above format I would not get vmstat[8,9,0] TRENDS but I would get the
netstat TRENDS.

When I changed the lines to look like the following it all worked.

128.210.003.177 zorn.math.purdue.edu      # \
                bbd ntp ssh smtp imaps pop3s \
                http://hobbit.math.purdue.edu/ \
                https://helpdesk.math.purdue.edu/ \
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,\
netstat:netstat0|netstat1|netstat2|netstat3

Is there something in the TRENDS format that require things to be on the
same line?
quoted from Ralph Mitchell

Thanks

Robert


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 Henrik Størner · Tue, 12 Feb 2008 22:41:07 +0100 ·
quoted from Robert P McGraw
On Tue, Feb 12, 2008 at 11:25:59AM -0500, McGraw, Robert P wrote:
I had a bb-host entry that looked like the following:

128.210.003.177 zorn.math.purdue.edu      # \
                bbd ntp ssh smtp imaps pop3s \
                http://hobbit.math.purdue.edu/ \
                https://helpdesk.math.purdue.edu/ \
                TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|\
                vmstat8|vmstat9|vmstat0,\
                netstat:netstat0|netstat1|netstat2|netstat3

In the above format I would not get vmstat[8,9,0] TRENDS but I would get the
netstat TRENDS.

When I changed the lines to look like the following it all worked.

128.210.003.177 zorn.math.purdue.edu      # \
                bbd ntp ssh smtp imaps pop3s \
                http://hobbit.math.purdue.edu/ \
                https://helpdesk.math.purdue.edu/ \
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,\
netstat:netstat0|netstat1|netstat2|netstat3

Is there something in the TRENDS format that require things to be on the
same line?

The code handling line continuation does have some subtleties, yes.
I would recommend not splitting a single setting over multiple lines.


Regards,
Henrik
list Buchan Milne · Wed, 13 Feb 2008 10:00:13 +0200 ·
quoted from Henrik Størner
On Tuesday 12 February 2008 18:25:59 McGraw, Robert P wrote:
I had a bb-host entry that looked like the following:

128.210.003.177 zorn.math.purdue.edu      # \
                bbd ntp ssh smtp imaps pop3s \
                http://hobbit.math.purdue.edu/ \
                https://helpdesk.math.purdue.edu/ \
                TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|\
                vmstat8|vmstat9|vmstat0,\
                netstat:netstat0|netstat1|netstat2|netstat3

In the above format I would not get vmstat[8,9,0] TRENDS but I would get
the netstat TRENDS.

When I changed the lines to look like the following it all worked.

128.210.003.177 zorn.math.purdue.edu      # \
                bbd ntp ssh smtp imaps pop3s \
                http://hobbit.math.purdue.edu/ \
                https://helpdesk.math.purdue.edu/ \
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,\
netstat:netstat0|netstat1|netstat2|netstat3

Is there something in the TRENDS format that require things to be on the
same line?
No, but your first format is introducing white space in the list of TRENDS, so 
you should either avoid breaking a single token, or avoid leading spaces on a 
continued line.

Regards,
Buchan