Xymon Mailing List Archive search

Hobbitd yellow -- but why?

9 messages in this thread

list Ralf Strandell · Tue, 2 Jan 2007 09:59:44 +0200 ·
Hi

This report is not very informative. Something is wrong, as the status
is yellow, but what?

========================================
Statistics for Hobbit daemon
Up since 22-Dec-2006 10:57:03 (10 days, 22:57:48)

Incoming messages      :    2227878
- status               :    2047450
- combo                :     137145
- page                 :       6022
- summary              :          0
- data                 :       9422
- client               :       3141
- notes                :          0
- enable               :          0
- disable              :          8
- ack                  :       1806
- config               :          0
- query                :          0
- hobbitdboard         :      15645
- hobbitdlog           :        922
- drop                 :          0
- rename               :          0
- dummy                :       6279
- ping                 :          0
- notify               :          7
- schedule             :         25
- download             :          0
- Bogus/Timeouts       :          6
Incoming messages/sec  :          2 (average last 300 seconds)

status channel messages:    2038229 (1 readers)
stachg channel messages:       1148 (1 readers)
page   channel messages:      43364 (1 readers)
data   channel messages:       9428 (1 readers)
notes  channel messages:          0 (0 readers)
enadis channel messages:          0 (0 readers)
client channel messages:       3147 (1 readers)
clichg channel messages:          5 (1 readers)


Ghost reports:


Latest errormessages:
Ignored PURPLE status update from xxx.xxx.xxx.xxx for host.domain.test
list Etienne Grignon · Tue, 2 Jan 2007 10:10:34 +0100 ·
Hello,

I think the problem if on that line :
 Ignored PURPLE status update from xxx.xxx.xxx.xxx for host.domain.test

May be an external script is sending a purple status from that host
which is not autorized. Only red, yellow, green or clear status are
authorized.

You should check your externals scripts this host.


Etienne.


2007/1/2, Strandell, Ralf <user-c0435af0b547@xymon.invalid>:
quoted from Ralf Strandell

Hi

This report is not very informative. Something is wrong, as the status is
yellow, but what?

========================================
Statistics for Hobbit daemon
 Up since 22-Dec-2006 10:57:03 (10 days, 22:57:48)

 Incoming messages      :    2227878
 - status               :    2047450
 - combo                :     137145
 - page                 :       6022
 - summary              :          0
 - data                 :       9422
 - client               :       3141
 - notes                :          0
 - enable               :          0
 - disable              :          8
 - ack                  :       1806
 - config               :          0
 - query                :          0
 - hobbitdboard         :      15645
 - hobbitdlog           :        922
 - drop                 :          0
 - rename               :          0
 - dummy                :       6279
 - ping                 :          0
 - notify               :          7
 - schedule             :         25
 - download             :          0
 - Bogus/Timeouts       :          6
 Incoming messages/sec  :          2 (average last 300 seconds)

 status channel messages:    2038229 (1 readers)
 stachg channel messages:       1148 (1 readers)
 page   channel messages:      43364 (1 readers)
 data   channel messages:       9428 (1 readers)
 notes  channel messages:          0 (0 readers)
 enadis channel messages:          0 (0 readers)
 client channel messages:       3147 (1 readers)
 clichg channel messages:          5 (1 readers)


 Ghost reports:


 Latest errormessages:
 Ignored PURPLE status update from xxx.xxx.xxx.xxx for host.domain.test

-- 

Etienne GRIGNON
list Jerry Yu · Tue, 2 Jan 2007 11:26:50 -0500 ·
check whether 'host.domain.test' is in your bb-hosts. If not, make them
match by

   - change its entry in bb-hosts
   - Or, change on the client boxen, via CLIENTHOSTNAME=
   /etc/default/hobbit-client
quoted from Etienne Grignon


On 1/2/07, Etienne Grignon <user-87c74c1037a4@xymon.invalid> wrote:
Hello,

I think the problem if on that line :
 Ignored PURPLE status update from xxx.xxx.xxx.xxx for host.domain.test

May be an external script is sending a purple status from that host
which is not autorized. Only red, yellow, green or clear status are
authorized.

You should check your externals scripts this host.


Etienne.


2007/1/2, Strandell, Ralf <user-c0435af0b547@xymon.invalid>:

Hi

This report is not very informative. Something is wrong, as the status
is
yellow, but what?

========================================
Statistics for Hobbit daemon
 Up since 22-Dec-2006 10:57:03 (10 days, 22:57:48)

 Incoming messages      :    2227878
 - status               :    2047450
 - combo                :     137145
 - page                 :       6022
 - summary              :          0
 - data                 :       9422
 - client               :       3141
 - notes                :          0
 - enable               :          0
 - disable              :          8
 - ack                  :       1806
 - config               :          0
 - query                :          0
 - hobbitdboard         :      15645
 - hobbitdlog           :        922
 - drop                 :          0
 - rename               :          0
 - dummy                :       6279
 - ping                 :          0
 - notify               :          7
 - schedule             :         25
 - download             :          0
 - Bogus/Timeouts       :          6
 Incoming messages/sec  :          2 (average last 300 seconds)

 status channel messages:    2038229 (1 readers)
 stachg channel messages:       1148 (1 readers)
 page   channel messages:      43364 (1 readers)
 data   channel messages:       9428 (1 readers)
 notes  channel messages:          0 (0 readers)
 enadis channel messages:          0 (0 readers)
 client channel messages:       3147 (1 readers)
 clichg channel messages:          5 (1 readers)


 Ghost reports:


 Latest errormessages:
 Ignored PURPLE status update from xxx.xxx.xxx.xxx for host.domain.test

--
Etienne GRIGNON

list Jason Altrincham Jones · Wed, 3 Jan 2007 11:32:18 -0000 ·
Hi All,

 
I got the proxy set-up between our site here and in Newbury but at 4:30
last night I got a call saying we were using a high level of bandwidth,
the network team investigated and found hobbit to be using 50% of our
2mb connection, is this normal? How can I run tests etc. to see how the
proxy is working and are there any settings I might alter to make it use
less bandwidth?

 
Thanks,

Jason.
list Buchan Milne · Wed, 3 Jan 2007 14:42:51 +0200 ·
quoted from Jason Altrincham Jones
On Wednesday 03 January 2007 13:32, Jones, Jason (Altrincham) wrote:
Hi All,


I got the proxy set-up between our site here and in Newbury but at 4:30
last night I got a call saying we were using a high level of bandwidth,
the network team investigated and found hobbit to be using 50% of our
2mb connection, is this normal? How can I run tests etc. to see how the
proxy is working and are there any settings I might alter to make it use
less bandwidth?
Please explain how you have set up your proxy.

For instance, in your scenario, I would expect that the *only* things running 
(not marked as DISABLED in hobbitlaunch.cfg) on your "proxy" are the bbproxy 
and bbnet tasks.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Jason Altrincham Jones · Wed, 3 Jan 2007 13:13:42 -0000 ·
This is everything from hobbitlaunch.cfg on the proxy (minus comments)

[hobbitd]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD hobbitd --listening=127.0.0.1
--pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk
--checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600
--log=$BBSERVERLOGS/hobbitd.log --admin-senders=127.0.0.1
--store-clientlogs=!msgs

[bbstatus]
        DISABLED

[bbhistory]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=stachg
--log=$BBSERVERLOGS/history.log hobbitd_history

[hostdata]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=clichg
--log=$BBSERVERLOGS/hostdata.log hobbitd_hostdata


[bbdata]
        DISABLED

[bbnotes]
        DISABLED
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=notes
--log=$BBSERVERLOGS/notes.log hobbitd_filestore --notes

[bbenadis]
        DISABLED

[bbpage]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=page  --log=$BBSERVERLOGS/page.log
hobbitd_alert --checkpoint-file=$BBTMP/alert.chk
--checkpoint-interval=600

[rrdstatus]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status
--log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd

[rrddata]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=data
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd

[clientdata]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD hobbitd_channel --channel=client
--log=$BBSERVERLOGS/clientdata.log hobbitd_client


[bbproxy]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD $BBHOME/bin/bbproxy --report --no-daemon --hobbitd
--bbdisplay=137.202.8.239,127.0.0.1 --listen=137.202.205.54
--pidfile=$BBSERVERLOGS/bbproxy.pid
        LOGFILE $BBSERVERLOGS/bbproxy.log

[hobbitfetch]
        DISABLED

[bbdisplay]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        GROUP generators
        CMD bbgen $BBGENOPTS --report --nopropyellow=msgs,uptime
        LOGFILE $BBSERVERLOGS/bb-display.log
        INTERVAL 1m

[bbcombotest]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD $BBHOME/bin/bbcombotest
        LOGFILE $BBSERVERLOGS/bbcombotest.log
        INTERVAL 5m

[bbnet]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD bbtest-net --report --ping --checkresponse
        LOGFILE $BBSERVERLOGS/bb-network.log
        INTERVAL 5m

[bbretest]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD $BBHOME/ext/bbretest-net.sh
        LOGFILE $BBSERVERLOGS/bb-retest.log
        INTERVAL 2m


[hobbitclient]
        ENVFILE /usr/local/hobbit/client/etc/hobbitclient.cfg
        CMD /usr/local/hobbit/client/bin/hobbitclient.sh
        LOGFILE $BBSERVERLOGS/hobbitclient.log
        INTERVAL 5m
quoted from Buchan Milne


-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: 03 January 2007 12:43
To: user-ae9b8668bcde@xymon.invalid
Cc: Jones, Jason (Altrincham)
Subject: Re: [hobbit] proxy problems?

On Wednesday 03 January 2007 13:32, Jones, Jason (Altrincham) wrote:
Hi All,


I got the proxy set-up between our site here and in Newbury but at
4:30
last night I got a call saying we were using a high level of
bandwidth,
the network team investigated and found hobbit to be using 50% of our
2mb connection, is this normal? How can I run tests etc. to see how
the
proxy is working and are there any settings I might alter to make it
use
less bandwidth?
Please explain how you have set up your proxy.

For instance, in your scenario, I would expect that the *only* things
running 
(not marked as DISABLED in hobbitlaunch.cfg) on your "proxy" are the
bbproxy 
and bbnet tasks.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Buchan Milne · Wed, 3 Jan 2007 15:47:53 +0200 ·
On Wednesday 03 January 2007 15:13, Jones, Jason (Altrincham) wrote:
This is everything from hobbitlaunch.cfg on the proxy (minus comments)
So, you pretty much have everything enabled.
quoted from Jason Altrincham Jones

[...]
[bbdisplay]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        GROUP generators
        CMD bbgen $BBGENOPTS --report --nopropyellow=msgs,uptime
        LOGFILE $BBSERVERLOGS/bb-display.log
        INTERVAL 1m

Depending on the values in hobbitserver.cfg (I think BBSERVERIP but I haven't 
confirmed), this may be generating the traffic.

Do you really need the html pages to be available on this "proxy" server?

Regards,
Buchan
quoted from Buchan Milne
-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid]
Sent: 03 January 2007 12:43
To: user-ae9b8668bcde@xymon.invalid
Cc: Jones, Jason (Altrincham)
Subject: Re: [hobbit] proxy problems?

On Wednesday 03 January 2007 13:32, Jones, Jason (Altrincham) wrote:
Hi All,


I got the proxy set-up between our site here and in Newbury but at
4:30
last night I got a call saying we were using a high level of
bandwidth,
the network team investigated and found hobbit to be using 50% of our
2mb connection, is this normal? How can I run tests etc. to see how
the
proxy is working and are there any settings I might alter to make it
use
less bandwidth?
Please explain how you have set up your proxy.

For instance, in your scenario, I would expect that the *only* things
running
(not marked as DISABLED in hobbitlaunch.cfg) on your "proxy" are the
bbproxy
and bbnet tasks.

Regards,
Buchan
-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Jason Altrincham Jones · Wed, 3 Jan 2007 13:52:59 -0000 ·
Ideally yes, since we don't want to be dependent on the main server for
monitoring our own site, the BBSERVERIP=137.202.205.54 (the proxies IP
address).

Thanks,
Jason.
quoted from Buchan Milne

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: 03 January 2007 13:48
To: Jones, Jason (Altrincham)
Cc: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] proxy problems?

On Wednesday 03 January 2007 15:13, Jones, Jason (Altrincham) wrote:
This is everything from hobbitlaunch.cfg on the proxy (minus comments)
So, you pretty much have everything enabled.

[...]
[bbdisplay]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        GROUP generators
        CMD bbgen $BBGENOPTS --report --nopropyellow=msgs,uptime
        LOGFILE $BBSERVERLOGS/bb-display.log
        INTERVAL 1m

Depending on the values in hobbitserver.cfg (I think BBSERVERIP but I
haven't 
confirmed), this may be generating the traffic.

Do you really need the html pages to be available on this "proxy"
server?

Regards,
Buchan
-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid]
Sent: 03 January 2007 12:43
To: user-ae9b8668bcde@xymon.invalid
Cc: Jones, Jason (Altrincham)
Subject: Re: [hobbit] proxy problems?

On Wednesday 03 January 2007 13:32, Jones, Jason (Altrincham) wrote:
Hi All,


I got the proxy set-up between our site here and in Newbury but at
4:30
last night I got a call saying we were using a high level of
bandwidth,
the network team investigated and found hobbit to be using 50% of
our
2mb connection, is this normal? How can I run tests etc. to see how
the
proxy is working and are there any settings I might alter to make it
use
less bandwidth?
Please explain how you have set up your proxy.

For instance, in your scenario, I would expect that the *only* things
running
(not marked as DISABLED in hobbitlaunch.cfg) on your "proxy" are the
bbproxy
and bbnet tasks.

Regards,
Buchan
-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Jason Altrincham Jones · Thu, 4 Jan 2007 10:10:48 -0000 ·
OK I have an update with this problem, it seems that bbproxy - or
something, is crashing :S I have a number of cores but no backtrace when
using gdb.  I tried recompiling hobbit from source but have run into a
problem while running make install (make and make clean work fine):

bbhostgrep.c:23:21: version.h: No such file or directory
bbhostgrep.c:24:22: libbbgen.h: No such file or directory
bbhostgrep.c: In function `load_hoststatus':
bbhostgrep.c:37: error: `BBTALK_TIMEOUT' undeclared (first use in this
function)
bbhostgrep.c:37: error: (Each undeclared identifier is reported only
once
bbhostgrep.c:37: error: for each function it appears in.)
bbhostgrep.c:39: error: `BB_OK' undeclared (first use in this function)
bbhostgrep.c: In function `downok':
bbhostgrep.c:77: error: `COL_GREEN' undeclared (first use in this
function)
bbhostgrep.c:78: error: `COL_RED' undeclared (first use in this
function)
bbhostgrep.c:78: error: `COL_BLUE' undeclared (first use in this
function)
bbhostgrep.c: In function `main':
bbhostgrep.c:100: error: `namelist_t' undeclared (first use in this
function)
bbhostgrep.c:100: error: `hostlist' undeclared (first use in this
function)
bbhostgrep.c:100: error: `hwalk' undeclared (first use in this function)
bbhostgrep.c:111: error: `strbuffer_t' undeclared (first use in this
function)
bbhostgrep.c:111: error: `wantedtags' undeclared (first use in this
function)
bbhostgrep.c:121: warning: assignment makes pointer from integer without
a cast
bbhostgrep.c:122: warning: assignment makes pointer from integer without
a cast
bbhostgrep.c:138: error: `VERSION' undeclared (first use in this
function)
bbhostgrep.c:174: warning: assignment makes pointer from integer without
a cast
bbhostgrep.c:180: error: `BBH_NET' undeclared (first use in this
function)
bbhostgrep.c:180: warning: initialization makes pointer from integer
without a cast
bbhostgrep.c:181: error: `BBH_HOSTNAME' undeclared (first use in this
function)
bbhostgrep.c:181: warning: initialization makes pointer from integer
without a cast
bbhostgrep.c:188: warning: assignment makes pointer from integer without
a cast
bbhostgrep.c:188: warning: assignment makes pointer from integer without
a cast
bbhostgrep.c:214: error: invalid type argument of `unary *'
bbhostgrep.c:215: error: `BBH_FLAG_DIALUP' undeclared (first use in this
function)
bbhostgrep.c:216: error: `BBH_FLAG_TESTIP' undeclared (first use in this
function)
bbhostgrep.c:219: error: invalid type argument of `unary *'
bbhostgrep.c:220: error: `BBH_IP' undeclared (first use in this
function)
make[1]: *** [bbhostgrep.o] Error 1
make[1]: Leaving directory `/usr/local/hobbit/src/hobbit-4.2.0/common'
make: *** [install-common] Error 2

any ideas? (Have re-downloaded source, applied patch and install and
also coped source from one server to the other with the same results)

Thanks,
Jason.
quoted from Jason Altrincham Jones

-----Original Message-----
From: Jones, Jason (Altrincham) 
Sent: 03 January 2007 13:53
To: Buchan Milne
Cc: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] proxy problems?

Ideally yes, since we don't want to be dependent on the main server for
monitoring our own site, the BBSERVERIP=137.202.205.54 (the proxies IP
address).

Thanks,
Jason.

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: 03 January 2007 13:48
To: Jones, Jason (Altrincham)
Cc: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] proxy problems?

On Wednesday 03 January 2007 15:13, Jones, Jason (Altrincham) wrote:
This is everything from hobbitlaunch.cfg on the proxy (minus comments)
So, you pretty much have everything enabled.

[...]
[bbdisplay]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        GROUP generators
        CMD bbgen $BBGENOPTS --report --nopropyellow=msgs,uptime
        LOGFILE $BBSERVERLOGS/bb-display.log
        INTERVAL 1m

Depending on the values in hobbitserver.cfg (I think BBSERVERIP but I
haven't 
confirmed), this may be generating the traffic.

Do you really need the html pages to be available on this "proxy"
server?

Regards,
Buchan
-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid]
Sent: 03 January 2007 12:43
To: user-ae9b8668bcde@xymon.invalid
Cc: Jones, Jason (Altrincham)
Subject: Re: [hobbit] proxy problems?

On Wednesday 03 January 2007 13:32, Jones, Jason (Altrincham) wrote:
Hi All,


I got the proxy set-up between our site here and in Newbury but at
4:30
last night I got a call saying we were using a high level of
bandwidth,
the network team investigated and found hobbit to be using 50% of
our
2mb connection, is this normal? How can I run tests etc. to see how
the
proxy is working and are there any settings I might alter to make it
use
less bandwidth?
Please explain how you have set up your proxy.

For instance, in your scenario, I would expect that the *only* things
running
(not marked as DISABLED in hobbitlaunch.cfg) on your "proxy" are the
bbproxy
and bbnet tasks.

Regards,
Buchan
-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)