[hobbit] proxy problems?
Jones, Jason (Altrincham)
JasonAS_Jones at mentor.com
Thu Jan 4 11:10:48 CET 2007
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.
-----Original Message-----
From: Jones, Jason (Altrincham)
Sent: 03 January 2007 13:53
To: Buchan Milne
Cc: hobbit at hswn.dk
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:bgmilne at staff.telkomsa.net]
Sent: 03 January 2007 13:48
To: Jones, Jason (Altrincham)
Cc: hobbit at hswn.dk
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:bgmilne at staff.telkomsa.net]
> Sent: 03 January 2007 12:43
> To: hobbit at hswn.dk
> 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)
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list