Sending Hobbit data from one server to another
list Gary Baluha
Here's the situation. I have one Hobbit server that is on our DMZ segment, and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable (due to network policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit? That is, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.
list Patrick Nixon
Can you use the second hobbit server a proxy/relay? I think hobbit can support that.... bbrelay maybe?
▸
On Feb 11, 2008 10:07 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:Here's the situation. I have one Hobbit server that is on our DMZ segment, and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable (due to network policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit? That is, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.
list Gary Baluha
There's the bbproxy command I was looking at, but I'm not sure from the man page if that will accomplish what I want.
▸
On Feb 11, 2008 10:33 AM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Can you use the second hobbit server a proxy/relay? I think hobbit can support that.... bbrelay maybe? On Feb 11, 2008 10:07 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:Here's the situation. I have one Hobbit server that is on our DMZ segment, and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable(due tonetwork policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit?Thatis, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.
list Mprice
All, We have hobbit and devmon deployed and running for the last 8 months with no problems, then all of a sudden devmon stops reporting to hobbit. It casuses hobbit to turn purple. The devmon process seems to be still running, it just stops reporting to hobbit. If we stop and start the devmon process, its ok for 4 or 5 days and dies again. Any one else having this issue? No changes were made to the server, it just came out of the blue. Thanks, michael
list Vernon Everett
Hi all Can anybody shed any light on this possible bug? On my solaris system, I run swap -l and I get # swap -l swapfile dev swaplo blocks free /dev/vx/dsk/bootdg/swapvol 286,3002 16 16780208 16780208 16780208 blocks = 8Gb An extract from vxprint shows v swapvol swap ENABLED 16780224 - ACTIVE - • pl swapvol-01 swapvol ENABLED 16780224 - ACTIVE - • Again, 8Gb. However, Hobbit server reports Memory Used Total Percentage Physical 7675M 8064M 95% Swap 1928M 10139M 19% Where does it get 10Gb of swap from? If I run swap -s, I get # swap -s total: 1832936k bytes allocated + 502488k reserved = 2335424k used, 8006816k available Regards Vernon NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Keith W. Meserole
While using gmake on the 2/12/2008 Hobbit 4.3 snapshot I uncounted a
rpath error. Full log is in the attachment.
Can anyone enlighten me? OS is Solaris 10 on an X86 platform.
The full log is in the attachment.
# gmake
MAKE="gmake" CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" `p
wd`/build/genconfig.sh
Checking for socklen_t
...
cp c-ares/.libs/libcares.a .
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/tmp/H43/snapshot/include -I/usr/local/include -I./c-ares -c -o dns.o
dns.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/tmp/H43/snapshot/include -I/usr/local/include -I./c-ares -c -o dns2.o
dns2
.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/tmp/H43/snapshot/include -I/usr/local/include -o bbtest-net
-Wl,--rpath,/u
sr/local/rrdtool-1.2.19/lib -Wl,--rpath,/usr/local/lib
-Wl,--rpath,/usr/local/ssl/lib -Wl,--rpath,/usr/lib bbtest-net.o
contest.o ht
tptest.o httpresult.o ldaptest.o dns.o dns2.o ../lib/libhobbit.a
libcares.a -L/usr/lib -lldap -L/usr/local/ssl/lib -lssl -lcrypto -
L/usr/local/lib -lpcre -lresolv -lsocket -lnsl
/usr/ccs/bin/ld: illegal option -- rpath
/usr/ccs/bin/ld: illegal option -- rpath
/usr/ccs/bin/ld: illegal option -- rpath
/usr/ccs/bin/ld: illegal option -- rpath
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
file(s)
[-64] enforce a 64-bit link-edit
[-a] create an absolute file
[-b] do not do special PIC relocations in a.out
...
Attachments (1)
list Dominique Frise
Hi Vernon, swap -l does not include swap space in the form of physical memory (RAM), but swap -s does. Look at swap(1M) man page for details. Hobbit uses swap -s to report values for the memory column. The Swap "Total" column sums "used" and "available" values, thus (2335424k + 8006816k)/1024 = 10100M. Note taht the top utility for Solaris 10 also uses swap -l to report memory statistics. Dominique
▸
Everett, Vernon wrote:Hi all Can anybody shed any light on this possible bug? On my solaris system, I run swap -l and I get # swap -l swapfile dev swaplo blocks free /dev/vx/dsk/bootdg/swapvol 286,3002 16 16780208 16780208 16780208 blocks = 8Gb An extract from vxprint shows v swapvol swap ENABLED 16780224 - ACTIVE - - pl swapvol-01 swapvol ENABLED 16780224 - ACTIVE - - Again, 8Gb. However, Hobbit server reports Memory Used Total Percentage Physical 7675M 8064M 95% Swap 1928M 10139M 19% Where does it get 10Gb of swap from? If I run swap -s, I get # swap -s total: 1832936k bytes allocated + 502488k reserved = 2335424k used, 8006816k available Regards Vernon NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Craig Whilding
Yes, mine had been doing it since .3.0 and its still doing it on 0.3.0 beta 4, I haven't had chance to put rc1 on yet. I've had to use a cron job to keep restarting it every night to keep it reporting, apart from one server which I find has died again in the night. Adding more verbose doesn't seem to help either. Regards, Craig
▸
From: mprice [mailto:user-d7d653acf808@xymon.invalid]
Sent: 11 February 2008 19:29
To: <user-ae9b8668bcde@xymon.invalid>; user-563e14babad8@xymon.invalid
Subject: [hobbit] Devmon Turning Purple
All,
We have hobbit and devmon deployed and running for the last 8 months
with no problems, then all of a sudden devmon stops reporting to hobbit.
It casuses hobbit to turn purple. The devmon process seems to be still
running, it just stops reporting to hobbit. If we stop and start the
devmon process, its ok for 4 or 5 days and dies again.
Any one else having this issue? No changes were made to the server, it
just came out of the blue.
Thanks, michael
list Mprice
Josh, I am using Hobbit 4.2.0 and devmon 0.3.0-beta2 From reading everyone else¹s post, looks like we are going to have to run a cronjob that restarts devmon every night. If you have any other ideas, that would be great. Thanks, michael On 2/11/08 2:55 PM, "Joshua Krause" <user-41d3365fe380@xymon.invalid> wrote:
What is the current build that you are running and have you added any new templates lately? Josh From: user-7cdab8524266@xymon.invalid [mailto:user-7cdab8524266@xymon.invalid] On Behalf Of mprice Sent: Monday, February 11, 2008 2:29 PM To: <user-ae9b8668bcde@xymon.invalid>; user-563e14babad8@xymon.invalid Subject: [Devmon] Devmon Turning Purple
▸
All,
We have hobbit and devmon deployed and running for the last 8 months with no
problems, then all of a sudden devmon stops reporting to hobbit. It casuses
hobbit to turn purple. The devmon process seems to be still running, it just
stops reporting to hobbit. If we stop and start the devmon process, its ok for
4 or 5 days and dies again.
Any one else having this issue? No changes were made to the server, it just
came out of the blue.
Thanks, michael
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
list Mprice
All, We added a cronjob to restart devmon every night, but that worked for a while and now we had to change it to every 4 hours and its still reporting purple every once in a while. We cant find anything in the devmon logs. Is there a specific hobbit log we can look in ? It looks like devmon process continues to run and do snmp-gets on all our network equipment, it just fails to report to hobbit. The communication from devmon to hobbit is what is breaking every once a while for no reason. Anyone have any ideas? We have been running great for 8 months now and it just started doing this. Thanks, michael
▸
On 2/12/08 7:40 AM, "mprice" <user-d7d653acf808@xymon.invalid> wrote:
Josh, I am using Hobbit 4.2.0 and devmon 0.3.0-beta2From reading everyone else¹s post, looks like we are going to have to run a cronjob that restarts devmon every night. If you have any other ideas, that would be great.Thanks, michael On 2/11/08 2:55 PM, "Joshua Krause" <user-41d3365fe380@xymon.invalid> wrote:What is the current build that you are running and have you added any new templates lately? Josh From: user-7cdab8524266@xymon.invalid [mailto:user-7cdab8524266@xymon.invalid] On Behalf Of mprice Sent: Monday, February 11, 2008 2:29 PM To: <user-ae9b8668bcde@xymon.invalid>; user-563e14babad8@xymon.invalid Subject: [Devmon] Devmon Turning Purple All, We have hobbit and devmon deployed and running for the last 8 months with no problems, then all of a sudden devmon stops reporting to hobbit. It casuses hobbit to turn purple. The devmon process seems to be still running, it just stops reporting to hobbit. If we stop and start the devmon process, its ok for 4 or 5 days and dies again. Any one else having this issue? No changes were made to the server, it just came out of the blue. Thanks, michael This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
list Tom L. Stewart
We have had the same issue. At this time we stop and restart it every 30 minutes. We use to do every 15 minutes, but the rc1 seems to be doing better. I will slowly adjust to higher in between times over the next few weeks and let everyone know what I find. I also find that after you stop Devmon, sleep for 15 secs and then do a pkill to finish off any remaining processes. Tom
▸
From: mprice [mailto:user-d7d653acf808@xymon.invalid]
Sent: Thursday, February 14, 2008 11:40 AM
To: <user-563e14babad8@xymon.invalid>; <user-ae9b8668bcde@xymon.invalid>
Subject: [hobbit] Re: [Devmon] Devmon Turning Purple
All,
We added a cronjob to restart devmon every night, but that worked for a
while and now we had to change it to every 4 hours and its still
reporting purple every once in a while. We cant find anything in the
devmon logs. Is there a specific hobbit log we can look in ?
It looks like devmon process continues to run and do snmp-gets on all
our network equipment, it just fails to report to hobbit. The
communication from devmon to hobbit is what is breaking every once a
while for no reason.
Anyone have any ideas? We have been running great for 8 months now and
it just started doing this.
Thanks, michael
On 2/12/08 7:40 AM, "mprice" <user-d7d653acf808@xymon.invalid> wrote:
Josh,
I am using Hobbit 4.2.0 and devmon 0.3.0-beta2
From reading everyone else's post, looks like we are going to have to
▸
run a cronjob that restarts devmon every night. If you have any other
ideas, that would be great.
Thanks, michael
On 2/11/08 2:55 PM, "Joshua Krause" <user-41d3365fe380@xymon.invalid> wrote:
What is the current build that you are running and have you added any
new templates lately?
Josh
From: user-7cdab8524266@xymon.invalid
[mailto:user-7cdab8524266@xymon.invalid]
<mailto:user-7cdab8524266@xymon.invalid%5d> On Behalf Of
▸
mprice Sent: Monday, February 11, 2008 2:29 PM To: <user-ae9b8668bcde@xymon.invalid>; user-563e14babad8@xymon.invalid Subject: [Devmon] Devmon Turning Purple All, We have hobbit and devmon deployed and running for the last 8 months with no problems, then all of a sudden devmon stops reporting to hobbit. It casuses hobbit to turn purple. The devmon process seems to be still running, it just stops reporting to hobbit. If we stop and start the devmon process, its ok for 4 or 5 days and dies again. Any one else having this issue? No changes were made to the server, it just came out of the blue. Thanks, michael • This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ • This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
list Mprice
We are going to set ours to every one hour also. We will let everyone know how it goes. Thanks, michael
▸
On 2/15/08 9:53 AM, "Stewart, Tom L." <user-f210f371749e@xymon.invalid> wrote:
We have had the same issue. At this time we stop and restart it every 30 minutes. We use to do every 15 minutes, but the rc1 seems to be doing better. I will slowly adjust to higher in between times over the next few weeks and let everyone know what I find. I also find that after you stop Devmon, sleep for 15 secs and then do a pkill to finish off any remaining processes. Tom From: mprice [mailto:user-d7d653acf808@xymon.invalid] Sent: Thursday, February 14, 2008 11:40 AM To: <user-563e14babad8@xymon.invalid>; <user-ae9b8668bcde@xymon.invalid> Subject: [hobbit] Re: [Devmon] Devmon Turning Purple All, We added a cronjob to restart devmon every night, but that worked for a while and now we had to change it to every 4 hours and its still reporting purple every once in a while. We cant find anything in the devmon logs. Is there a specific hobbit log we can look in ? It looks like devmon process continues to run and do snmp-gets on all our network equipment, it just fails to report to hobbit. The communication from devmon to hobbit is what is breaking every once a while for no reason. Anyone have any ideas? We have been running great for 8 months now and it just started doing this. Thanks, michael On 2/12/08 7:40 AM, "mprice" <user-d7d653acf808@xymon.invalid> wrote: Josh, I am using Hobbit 4.2.0 and devmon 0.3.0-beta2From reading everyone else¹s post, looks like we are going to have to run a cronjob that restarts devmon every night. If you have any other ideas, that would be great.Thanks, michael On 2/11/08 2:55 PM, "Joshua Krause" <user-41d3365fe380@xymon.invalid> wrote: What is the current build that you are running and have you added any new templates lately? Josh From: user-7cdab8524266@xymon.invalid [mailto:user-7cdab8524266@xymon.invalid] <mailto:user-7cdab8524266@xymon.invalid%5d> On Behalf Of mprice Sent: Monday, February 11, 2008 2:29 PM To: <user-ae9b8668bcde@xymon.invalid>; user-563e14babad8@xymon.invalid Subject: [Devmon] Devmon Turning Purple All, We have hobbit and devmon deployed and running for the last 8 months with no problems, then all of a sudden devmon stops reporting to hobbit. It casuses hobbit to turn purple. The devmon process seems to be still running, it just stops reporting to hobbit. If we stop and start the devmon process, its ok for 4 or 5 days and dies again. Any one else having this issue? No changes were made to the server, it just came out of the blue. Thanks, michael This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
list Buchan Milne
▸
On Thursday 14 February 2008 19:39:44 mprice wrote:
All, We added a cronjob to restart devmon every night, but that worked for a while and now we had to change it to every 4 hours and its still reporting purple every once in a while. We cant find anything in the devmon logs. Is there a specific hobbit log we can look in ? It looks like devmon process continues to run and do snmp-gets on all our network equipment, it just fails to report to hobbit. The communication from devmon to hobbit is what is breaking every once a while for no reason. Anyone have any ideas? We have been running great for 8 months now and it just started doing this.
As I answered on the devmon list, I had two identical (software-wise) servers running devmon, one showed this behaviour, one did not. The one showing this behaviour reports via a bbproxy on the same server to the hobbitd on the other server. At this stage (I haven't had any time to investigate further) I'm suspecting that a feature Eric added between 0.2.2 and 0.3.0beta2, which avoids alerting on devmon tests on servers that are down (checked via the status of the 'conn' test) may not play as well with bbproxy. One other user with this problem reported that their devmon also talks to a bbproxy. More information from other people seeing the issue may help narrow it without looking at the code (which I hope to have a chance for today or tomorrow). Regards, Buchan
list Buchan Milne
▸
On Friday 15 February 2008 17:30:46 mprice wrote:
We are going to set ours to every one hour also. We will let everyone know how it goes.
This is not of great benefit, more useful would be noting how your devmon/hobbit setup is configured ...
list Mprice
We have the same problem here. We changed it to restart every 30 minutes, but still we have times where it goes purple. I can not find a single log entry for any of this. Thanks, michael On 2/18/08 10:01 AM, "Simeon Berkley" <user-7650b51cc6e3@xymon.invalid> wrote:
Johan Unosson wrote:I have the "purple" problem without using bbproxy. My devmon is running on the same server as hobbit display server, and is reporting directly to it. /JohanSame thing here. It will run for up to 3 weeks and then go purple. Devmon is running on the same server as Hobbit. We're running release_0_3_0_beta2. So far I'm having hobbit page me so that I can shutdown devmon, make sure it's dead, then restart it. I do this manually so that I can get a sense of when it's failing. I noticed that I was getting a lot of errors about an undefined variable in the log even after devmon goes purple, so I did a little looking around and found where the undefined variable was trying to be referenced in SNMP_Session.pm. I then put a debug message in SNMP_Session.pm so that When the failure happens I get a lot of log messages: response_community is undefined, bailing out of receive_response_3 at /path/to/devmon/modules/dm_snmp.pm line 469 This error can appear without devmon going purple, but it is always present when devmon has crapped out. -- S i m e o n B e r k l e y Systems Engineer Mcclatchy Interactive
▸
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Devmon-support mailing list
user-563e14babad8@xymon.invalid
list Mprice
Buchan, We are running a single host with both hobbit and devmon running on them, no bbproxy. Hobbit = 4.2.0 Devmon = 0.3.0-beta2 Thanks, michael
▸
On 2/18/08 5:37 AM, "Buchan Milne" <user-9b139aff4dec@xymon.invalid> wrote:
On Friday 15 February 2008 17:30:46 mprice wrote:We are going to set ours to every one hour also. We will let everyone know how it goes.This is not of great benefit, more useful would be noting how your devmon/hobbit setup is configured ...
--
Michael A. Price
EOS Network Security Engineer
SGT, Inc. www.sgt-inc.com
NASA/GSFC Code 428.0
Greenbelt, Maryland 20770
e-mai: user-d7d653acf808@xymon.invalid
desk: XXX-XXX-XXXX
cell: XXX-XXX-XXXX
PGP Public Key available from keyserver.pgp.com
list Mprice
Hello, I would first like to say thanks to all those out there helping me trouble shoot the issue of Devmon turning purple. I am going to try and either upgrade or downgrade devmon on our system to hopefully fix the problem. We are currently running] Devmon version 0.3.0-beta2 Does anyone recommend a stable version to use with Hobbit-4.2.0 ? Thanks, michael
list Mprice
It looks like a new version of Devmon has been posted , 0.3.0 . Does anyone know the upgrade steps for Devmon? Thanks, michael
▸
On 2/20/08 10:51 AM, "mprice" <user-d7d653acf808@xymon.invalid> wrote:
Hello, I would first like to say thanks to all those out there helping me trouble shoot the issue of Devmon turning purple. I am going to try and either upgrade or downgrade devmon on our system to hopefully fix the problem. We are currently running] Devmon version 0.3.0-beta2 Does anyone recommend a stable version to use with Hobbit-4.2.0 ? Thanks, michael This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Devmon-support mailing list user-563e14babad8@xymon.invalid
list William Joyner
I've upgraded to the new release and still have the issues with purple errors. I do however like that it shows the devmon process in Hobbit as a monitored piece. From: user-7cdab8524266@xymon.invalid [mailto:user-7cdab8524266@xymon.invalid] On Behalf Of mprice Sent: Wednesday, February 20, 2008 10:56 AM To: <user-563e14babad8@xymon.invalid>; <user-ae9b8668bcde@xymon.invalid> Subject: Re: [Devmon] Devmon Turning Purple
▸
It looks like a new version of Devmon has been posted , 0.3.0 . Does anyone know the upgrade steps for Devmon? Thanks, michael On 2/20/08 10:51 AM, "mprice" <user-d7d653acf808@xymon.invalid> wrote: Hello, I would first like to say thanks to all those out there helping me trouble shoot the issue of Devmon turning purple. I am going to try and either upgrade or downgrade devmon on our system to hopefully fix the problem. We are currently running] Devmon version 0.3.0-beta2 Does anyone recommend a stable version to use with Hobbit-4.2.0 ? Thanks, michael • This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Devmon-support mailing list user-563e14babad8@xymon.invalid
This E-mail and any of its attachments may contain Time Warner
Cable proprietary information, which is privileged, confidential,
or subject to copyright belonging to Time Warner Cable. This E-mail
is intended solely for the use of the individual or entity to which
it is addressed. If you are not the intended recipient of this
E-mail, you are hereby notified that any dissemination,
distribution, copying, or action taken in relation to the contents
of and attachments to this E-mail is strictly prohibited and may be
unlawful. If you have received this E-mail in error, please notify
the sender immediately and permanently delete the original and any
copy of this E-mail and any printout.
list Maik Heinelt
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I build up 2 new templates. Someone interest in it? It is for the Allied CentreCom 8624XL and the AR410 v2. Maik - -- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHvRyNr4r+EhimPOURAu5vAKDBPSSxx+zDDb7kct68plMiRv0mqwCgkar2 XunySX0Kox6Zb/794JRsLaM= =Sun+ -----END PGP SIGNATURE-----
list Buchan Milne
▸
On Wednesday 20 February 2008 18:44:24 Joyner, William wrote:
I've upgraded to the new release and still have the issues with purple errors. I do however like that it shows the devmon process in Hobbit as a monitored piece.
One of mine running 0.3.0rc1 has been green for 16 days (it doesn't get restarted automatically) ... it went purple last night. I'll add logging at the places I suspect may be problematic, and try and reproduce ... Regards, Buchan
list Mprice
Awesome thanks... My next step is to roll back my version devmon to devmon0.2.0 Thanks, michael
▸
On 2/21/08 5:22 AM, "Buchan Milne" <user-9b139aff4dec@xymon.invalid> wrote:
On Wednesday 20 February 2008 18:44:24 Joyner, William wrote:I've upgraded to the new release and still have the issues with purple errors. I do however like that it shows the devmon process in Hobbit as a monitored piece.One of mine running 0.3.0rc1 has been green for 16 days (it doesn't get restarted automatically) ... it went purple last night. I'll add logging at the places I suspect may be problematic, and try and reproduce ... Regards, Buchan This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Devmon-support mailing list user-563e14babad8@xymon.invalid
list Michael A. Price
We upgrade devmon to 0.3.0rc1 as well and we were good for a couple days until it went purple again. We changed our cronjob to be every 15 minutes and are ok now. We have no updates for you as of this point yet. Sorry, michael On 3/5/08 9:41 AM, "Whilding, Craig" <user-9ce31bfa66c3@xymon.invalid> wrote:
I've discovered something with this purple problem. If the module that parses hobbit client data isn't running then devmon seems to remain fine. Basically on one of our servers that runs a proxy sending data to localhost and our main server one of the modules has died so that no linux client data gets to the local display. Haven't quite worked out what will have died yet as I need to run a diff with another box to check the dead channel but whatever it was it seems to be the service that devmon disagreed with. Any progress on debugging what devmon code causes the problem in the first place? I can leave this broken for now on mine as the local display is only a backup if the wan link fails. Regards, Craig -----Original Message----- From: user-7cdab8524266@xymon.invalid [mailto:user-7cdab8524266@xymon.invalid] On Behalf Of Buchan Milne Sent: 21 February 2008 10:22 To: user-ae9b8668bcde@xymon.invalid Cc: user-563e14babad8@xymon.invalid Subject: Re: [Devmon] [hobbit] RE: Devmon Turning Purple
▸
On Wednesday 20 February 2008 18:44:24 Joyner, William wrote:I've upgraded to the new release and still have the issues with purple errors. I do however like that it shows the devmon process in Hobbit as a monitored piece.One of mine running 0.3.0rc1 has been green for 16 days (it doesn't get restarted automatically) ... it went purple last night. I'll add logging at the places I suspect may be problematic, and try and reproduce ... Regards, Buchan • This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Devmon-support mailing list user-563e14babad8@xymon.invalid This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Devmon-support mailing list user-563e14babad8@xymon.invalid
-- Michael A. Price EOS Network Security Engineer SGT, Inc. www.sgt-inc.com NASA/GSFC Code 428.0 Greenbelt, Maryland 20770 e-mai: user-d7d653acf808@xymon.invalid desk: XXX-XXX-XXXX cell: XXX-XXX-XXXX PGP Public Key available from keyserver.pgp.com
list Asif Iqbal
bbrpoxy works fine but I do not understand the comment for [bbproxy]
in habbitlaunch.cfg
# "bbproxy" is the Hobbit proxy server that allows you to forward
status messages
# from a protected network to your Hobbit server. It is not enabled by default,
# since it would conflict with the hobbitd task.
# If you need to run this, then disabled hobbitd and the hobbitd-modules
# above, then enable this. Make sure you enter the IP-address of your
# Hobbit server in the command-line, so that the proxy knows where to forward
# status messages.
[bbproxy]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd
--bbdisplay=real.hobbit.server.ip --report=$MACHINE.bbproxy
--no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid
LOGFILE $BBSERVERLOGS/bbproxy.log
It says disable hobbitd and hobbit-modules above. I did. So how about
the hobbitd-modules like [bbdisplay], [bbcombotest],
[bbnet], [bbretest], [hobbitclient]. All those are below [bbproxy] and
needs hobbitd to run. So do I disable them?
If I do then how do I send the connectivity (ping test) report or
start the hobbitclient without installing a separate client for the
server?
So few things needs to be cleared by someone who already using bbproxy
for same scenario that Gary Bahula, the OP of this email, drew.
Thanks
▸
On Mon, Feb 11, 2008 at 11:02 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:There's the bbproxy command I was looking at, but I'm not sure from the man page if that will accomplish what I want. On Feb 11, 2008 10:33 AM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:Can you use the second hobbit server a proxy/relay? I think hobbit can support that.... bbrelay maybe? On Feb 11, 2008 10:07 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:Here's the situation. I have one Hobbit server that is on our DMZ segment, and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable(due tonetwork policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit?Thatis, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Asif Iqbal
So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet?
▸
On Wed, Mar 5, 2008 at 11:51 AM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:bbrpoxy works fine but I do not understand the comment for [bbproxy] in habbitlaunch.cfg # "bbproxy" is the Hobbit proxy server that allows you to forward status messages # from a protected network to your Hobbit server. It is not enabled by default, # since it would conflict with the hobbitd task. # If you need to run this, then disabled hobbitd and the hobbitd-modules # above, then enable this. Make sure you enter the IP-address of your # Hobbit server in the command-line, so that the proxy knows where to forward # status messages. [bbproxy] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=real.hobbit.server.ip --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log It says disable hobbitd and hobbit-modules above. I did. So how about the hobbitd-modules like [bbdisplay], [bbcombotest], [bbnet], [bbretest], [hobbitclient]. All those are below [bbproxy] and needs hobbitd to run. So do I disable them? If I do then how do I send the connectivity (ping test) report or start the hobbitclient without installing a separate client for the server? So few things needs to be cleared by someone who already using bbproxy for same scenario that Gary Bahula, the OP of this email, drew. Thanks On Mon, Feb 11, 2008 at 11:02 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:There's the bbproxy command I was looking at, but I'm not sure from the man page if that will accomplish what I want. On Feb 11, 2008 10:33 AM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:Can you use the second hobbit server a proxy/relay? I think hobbit can support that.... bbrelay maybe? On Feb 11, 2008 10:07 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:Here's the situation. I have one Hobbit server that is on our DMZ segment, and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable(due tonetwork policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit?Thatis, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Buchan Milne
▸
On Thursday 06 March 2008 23:27:47 Asif Iqbal wrote:
So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet?
Did you read my reply in the other thread? 1)Run hobbitd on a different port 2)Run bbproxy on the usual hobbit port (1984), and have it proxy to the local hobbit running on a different port, and the remote hobbitd on the usual port 3)Run bbnet as usual See my other mail for configuration details. Regards, Buchan
list Johann Eggers
Hi,
In the past I struggled the same. Here is a summary what I did to make it work:
Situation:
Before:
- Local hobbit listens on 10.15.xxx.xxx port 1984
- Local clients sends messages to IP 10.15.xxx.xxx port 1984
With bbproxy:
- Local hobbit listens on 127.0.0.1 port 1984
- Local bbproxy listens on 10.15.xxx.xxx port 1984
- Local clients sends messages to IP 10.15.xxx.xxx port 1984 (bbproxy)
- bbproxy forwards incoming messages to 127.0.0.1 port 1984 AND to remote hobbit (10.170.xxx.xxx) port 1984
This is what needs to be changed on the local hobbit sever:
- Add a --listen=127.0.0.1 to hobbitd in hobbitlaunch.cfg on local hobbit
- Enable bbproxy on local hobbit in hobbitlaunch.cfg. Use the option "--bbdisplay=127.0.0.1,10.170.xxx.xxx" to tell bbproxy to forward to both server and add --listen 10.15.xxx.xxx so it will listen on this IP for incoming messages
- Change the BBSERVERIP setting in hobbitserver.cfg to point at the 127.0.0.1 address.
This setting is used e.g. by the web CGI's that talk to the "real" hobbit server, so it is best to point this at the real server IP, not the proxy.
- Because there are also running network tests from the same server, we need to change the CMD setting of [bbnet] in hobbitlaunch.cfg also.
Instead of calling bbtest-net directly, put it into a shell script wrapper and set BBDISPLAY explicitly to 10.15.xxx.xxx. Otherwise it will pick up the BBSERVERIP setting (127.0.0.1) and send the network test results to 127.0.0.1 - so they won't go through the proxy, and hence you won't see them on the remote server.
- Restart Hobbit
From the hobbitlaunch.cfg on the local hobbit server:
[hobbitd]
HEARTBEAT
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --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 --listen=127.0.0.1
[bbproxy]
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd --display=127.0.0.1,10.170.xxx.xxx
--report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid
--listen=10.15.xxx.xxx --no-daemon
LOGFILE $BBSERVERLOGS/bbproxy.log
[bbnet]
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD $BBHOME/bin/net-test.sh
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
Wrapper script for bbtest-net:
#cat $BBHOME/bin/net-test.sh
#!/bin/sh
export BBDISP=10.15.xxx.xxx
$BBHOME/bin/bbtest-net --report --ping -checkresponse
All that done it's working!
Hope this helps...
-Johann
▸
-----Original Message----- From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] Sent: Donnerstag, 6. März 2008 22:28 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Sending Hobbit data from one server to another So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet? On Wed, Mar 5, 2008 at 11:51 AM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:bbrpoxy works fine but I do not understand the comment for [bbproxy] in habbitlaunch.cfg # "bbproxy" is the Hobbit proxy server that allows you to forward status messages # from a protected network to your Hobbit server. It is not enabled by default, # since it would conflict with the hobbitd task.
# If you need to run this, then disabled hobbitd and the hobbitd- modules
▸
# above, then enable this. Make sure you enter the IP-address of your # Hobbit server in the command-line, so that the proxy knows where to forward # status messages. [bbproxy] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=real.hobbit.server.ip --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log It says disable hobbitd and hobbit-modules above. I did. So how about the hobbitd-modules like [bbdisplay], [bbcombotest], [bbnet], [bbretest], [hobbitclient]. All those are below [bbproxy] and needs hobbitd to run. So do I disable them? If I do then how do I send the connectivity (ping test) report or start the hobbitclient without installing a separate client for the server? So few things needs to be cleared by someone who already using bbproxy for same scenario that Gary Bahula, the OP of this email, drew. Thanks On Mon, Feb 11, 2008 at 11:02 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:There's the bbproxy command I was looking at, but I'm not sure from the man page if that will accomplish what I want. On Feb 11, 2008 10:33 AM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:Can you use the second hobbit server a proxy/relay? I think hobbit can support that.... bbrelay maybe? On Feb 11, 2008 10:07 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:Here's the situation. I have one Hobbit server that is on ourDMZsegment,and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable(due tonetwork policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit?Thatis, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Craig Whilding
One other thing to add. To make sure you do not have both servers network testing the same hosts you should look up the NET:location variable for bb-hosts. If you use this on the main server you can specify only to network test the servers local to it and not the remote servers, these would be tested by the remote hobbit server that forwards the data. Hope this helps. Regards, Craig
▸
-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid]
Sent: 07 March 2008 08:33
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Sending Hobbit data from one server to another
Hi,
In the past I struggled the same. Here is a summary what I did to make it work:
Situation:
Before:
- Local hobbit listens on 10.15.xxx.xxx port 1984
- Local clients sends messages to IP 10.15.xxx.xxx port 1984
With bbproxy:
- Local hobbit listens on 127.0.0.1 port 1984
- Local bbproxy listens on 10.15.xxx.xxx port 1984
- Local clients sends messages to IP 10.15.xxx.xxx port 1984 (bbproxy)
- bbproxy forwards incoming messages to 127.0.0.1 port 1984 AND to remote hobbit (10.170.xxx.xxx) port 1984
This is what needs to be changed on the local hobbit sever:
- Add a --listen=127.0.0.1 to hobbitd in hobbitlaunch.cfg on local hobbit
- Enable bbproxy on local hobbit in hobbitlaunch.cfg. Use the option "--bbdisplay=127.0.0.1,10.170.xxx.xxx" to tell bbproxy to forward to both server and add --listen 10.15.xxx.xxx so it will listen on this IP for incoming messages
- Change the BBSERVERIP setting in hobbitserver.cfg to point at the 127.0.0.1 address.
This setting is used e.g. by the web CGI's that talk to the "real" hobbit server, so it is best to point this at the real server IP, not the proxy.
- Because there are also running network tests from the same server, we need to change the CMD setting of [bbnet] in hobbitlaunch.cfg also.
Instead of calling bbtest-net directly, put it into a shell script wrapper and set BBDISPLAY explicitly to 10.15.xxx.xxx. Otherwise it will pick up the BBSERVERIP setting (127.0.0.1) and send the network test results to 127.0.0.1 - so they won't go through the proxy, and hence you won't see them on the remote server.
- Restart Hobbit
From the hobbitlaunch.cfg on the local hobbit server:
[hobbitd]
HEARTBEAT
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --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 --listen=127.0.0.1
[bbproxy]
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd --display=127.0.0.1,10.170.xxx.xxx
--report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid
--listen=10.15.xxx.xxx --no-daemon
LOGFILE $BBSERVERLOGS/bbproxy.log
[bbnet]
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD $BBHOME/bin/net-test.sh
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
Wrapper script for bbtest-net:
#cat $BBHOME/bin/net-test.sh
#!/bin/sh
export BBDISP=10.15.xxx.xxx
$BBHOME/bin/bbtest-net --report --ping -checkresponse
All that done it's working!
Hope this helps...
-Johann
-----Original Message----- From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] Sent: Donnerstag, 6. März 2008 22:28 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Sending Hobbit data from one server to another So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet? On Wed, Mar 5, 2008 at 11:51 AM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:bbrpoxy works fine but I do not understand the comment for [bbproxy] in habbitlaunch.cfg # "bbproxy" is the Hobbit proxy server that allows you to forward status messages # from a protected network to your Hobbit server. It is not enabled by default, # since it would conflict with the hobbitd task. # If you need to run this, then disabled hobbitd and the hobbitd- modules # above, then enable this. Make sure you enter the IP-address of your # Hobbit server in the command-line, so that the proxy knows where to forward # status messages. [bbproxy] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=real.hobbit.server.ip --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log It says disable hobbitd and hobbit-modules above. I did. So how about the hobbitd-modules like [bbdisplay], [bbcombotest], [bbnet], [bbretest], [hobbitclient]. All those are below [bbproxy] and needs hobbitd to run. So do I disable them? If I do then how do I send the connectivity (ping test) report or start the hobbitclient without installing a separate client for the server? So few things needs to be cleared by someone who already using bbproxy for same scenario that Gary Bahula, the OP of this email, drew. Thanks On Mon, Feb 11, 2008 at 11:02 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:There's the bbproxy command I was looking at, but I'm not sure from the man page if that will accomplish what I want. On Feb 11, 2008 10:33 AM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:Can you use the second hobbit server a proxy/relay? I think hobbit can support that.... bbrelay maybe? On Feb 11, 2008 10:07 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:Here's the situation. I have one Hobbit server that is on ourDMZsegment,and another that is on our internal LAN segment. There are several hosts that are monitored from the DMZ hobbit server, which are unreachable(due tonetwork policy) by the internal hobbit server. What would be the best way (if any) to merge the status of the DMZ hobbit to the internal hobbit?Thatis, I would like to create a sub-page on the internal hobbit server that shows essentially a mirror of the hobbit status page for the DMZ server.-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Asif Iqbal
▸
On Fri, Mar 7, 2008 at 1:51 AM, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:
On Thursday 06 March 2008 23:27:47 Asif Iqbal wrote:So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet?Did you read my reply in the other thread? 1)Run hobbitd on a different port 2)Run bbproxy on the usual hobbit port (1984), and have it proxy to the local hobbit running on a different port, and the remote hobbitd on the usual port 3)Run bbnet as usual See my other mail for configuration details.
I saw your other email and followed exactly as it is. But I get clear
for connection on hobbit server.
And the hobbit web page on proxy server is empty
I see the following in the proxy server logs
hobbit at ghar:~$ tail /var/log/hobbit/bb-display.log
2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed
2008-03-07 10:57:48 hobbitd status-board not available, code 5
2008-03-07 10:57:48 connect to bbd failed - Network is unreachable
2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed
hobbit at ghar:~$ tail /var/log/hobbit/bb-network.log
2008-03-07 10:51:32 connect to bbd failed - Network is unreachable
2008-03-07 10:51:32 Whoops ! bb failed to send message - Connection failed
hobbit at ghar:~$ tail /var/log/hobbit/bbproxy.log
2008-03-07 18:47:04 bbproxy version 4.3.0-0.20080103 starting
2008-03-07 18:47:04 Listening on 0.0.0.0:1984
2008-03-07 18:47:04 Sending to Hobbit server(s) 8.4.0.5:1984 127.0.0.1:1985
2008-03-07 18:47:04 Sending client data to server(s) 8.4.0.5:1984
127.0.0.1:1985
8.4.0.5 is the master hobbit server (the IP is sterilized to save the innocents)
hobbit at ghar:~$ tail /var/log/hobbit/status.log
2008-03-07 18:11:00 Peer not up, flushing message queue
2008-03-07 18:12:34 Tried to down BOARDBUSY: Invalid argument
Here is an excerpt of the relevant configuration
hobbit at ghar:~/server/etc$ cat hobbitlaunch.cfg
[...]
[hobbitd]
HEARTBEAT
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --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,$BBSERVERIP --listen=0.0.0.0:1985
--store-clientlogs=!msgs
[...]
[bbproxy]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd
--servers=8.4.0.5,127.0.0.1:1985 --report=$MACHINE.bbproxy --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid
LOGFILE $BBSERVERLOGS/bbproxy.log
[...]
hobbit at ghar:~/server/etc$ cat hobbitserver.cfg
[...]
BBSERVERIP="8.4.0.5"
[...]
The proxy server is on internal network. It can talk to master hobbit
server and I am getting all the reports of the clients that
are sending the data to proxy server. The master server has no
visibility to the internal network
Here is the layout
All Internal Hosts 10.13.136.0/24
<--------> PROXY 10.13.136.134 ----------> Master Hobbit server
8.4.0.5
Thanks
Regards, Buchan
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Craig Whilding
Not sure if you have fixed this yet but here is my working config:
[hobbitd]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --no-daemon --listen=127.0.0.1
--pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk
--checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600
--log=$BBSERVERLOGS/hobbitd.log --store-clientlogs=!msgs
--admin-senders=10.13.136.134, 8.4.0.5,127.0.0.1
Not quite sure if my admin senders bit it quite right but its working at
least.
[bbproxy]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay= 8.4.0.5,127.0.0.1
--listen=10.13.136.134 --report --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid
BBSERVERIP="127.0.0.1"
# "bbnet" runs the bbtest-net tool to perform the network based tests -
i.e. http, smtp, ssh, dns and
# all of the various network protocols we need to test.
[bbnet]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/net-test.sh --dns=ip
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
[root at gba-bb server]# vi bin/net-test.sh
export BBDISP=10.13.136.134
/usr/local/hobbit/server/bin/bbtest-net --report --ping --checkresponse
--dns=ip
Main points are that the hobbit server runs on the local ip and the
proxy runs on the external ip.
▸
Hope this helps,
Regards,
Craig
-----Original Message-----
From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid]
Sent: 08 March 2008 00:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Sending Hobbit data from one server to another
On Fri, Mar 7, 2008 at 1:51 AM, Buchan Milne
<user-9b139aff4dec@xymon.invalid> wrote:On Thursday 06 March 2008 23:27:47 Asif Iqbal wrote:So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet?Did you read my reply in the other thread? 1)Run hobbitd on a different port 2)Run bbproxy on the usual hobbit port (1984), and have it proxy to the local hobbit running on a different port, and the remote hobbitd on the usual port 3)Run bbnet as usual See my other mail for configuration details.
I saw your other email and followed exactly as it is. But I get clear
for connection on hobbit server.
And the hobbit web page on proxy server is empty
I see the following in the proxy server logs
hobbit at ghar:~$ tail /var/log/hobbit/bb-display.log
2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection
failed
2008-03-07 10:57:48 hobbitd status-board not available, code 5
2008-03-07 10:57:48 connect to bbd failed - Network is unreachable
2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection
failed
hobbit at ghar:~$ tail /var/log/hobbit/bb-network.log
2008-03-07 10:51:32 connect to bbd failed - Network is unreachable
2008-03-07 10:51:32 Whoops ! bb failed to send message - Connection
failed
hobbit at ghar:~$ tail /var/log/hobbit/bbproxy.log
2008-03-07 18:47:04 bbproxy version 4.3.0-0.20080103 starting
2008-03-07 18:47:04 Listening on 0.0.0.0:1984
2008-03-07 18:47:04 Sending to Hobbit server(s) 8.4.0.5:1984
127.0.0.1:1985
2008-03-07 18:47:04 Sending client data to server(s) 8.4.0.5:1984
127.0.0.1:1985
8.4.0.5 is the master hobbit server (the IP is sterilized to save the
innocents)
hobbit at ghar:~$ tail /var/log/hobbit/status.log
2008-03-07 18:11:00 Peer not up, flushing message queue
2008-03-07 18:12:34 Tried to down BOARDBUSY: Invalid argument
Here is an excerpt of the relevant configuration
hobbit at ghar:~/server/etc$ cat hobbitlaunch.cfg
[...]
[hobbitd]
HEARTBEAT
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --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,$BBSERVERIP --listen=0.0.0.0:1985
--store-clientlogs=!msgs
[...]
[bbproxy]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd
--servers=8.4.0.5,127.0.0.1:1985 --report=$MACHINE.bbproxy --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid
LOGFILE $BBSERVERLOGS/bbproxy.log
[...]
hobbit at ghar:~/server/etc$ cat hobbitserver.cfg
[...]
BBSERVERIP="8.4.0.5"
[...]
The proxy server is on internal network. It can talk to master hobbit
server and I am getting all the reports of the clients that
are sending the data to proxy server. The master server has no
visibility to the internal network
Here is the layout
All Internal Hosts 10.13.136.0/24
<--------> PROXY 10.13.136.134 ----------> Master Hobbit server
8.4.0.5
Thanks
Regards, Buchan
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Asif Iqbal
On Mon, Mar 10, 2008 at 8:24 AM, Whilding, Craig
▸
<user-9ce31bfa66c3@xymon.invalid> wrote:Not sure if you have fixed this yet but here is my working config:
[hobbitd]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --no-daemon --listen=127.0.0.1
--pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk
--checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600
--log=$BBSERVERLOGS/hobbitd.log --store-clientlogs=!msgs
--admin-senders=10.13.136.134, 8.4.0.5,127.0.0.1
Not quite sure if my admin senders bit it quite right but its working at
least.
[bbproxy]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay= 8.4.0.5,127.0.0.1
--listen=10.13.136.134 --report --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid
BBSERVERIP="127.0.0.1"
# "bbnet" runs the bbtest-net tool to perform the network based tests -
i.e. http, smtp, ssh, dns and
# all of the various network protocols we need to test.
[bbnet]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/net-test.sh --dns=ip
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
[root at gba-bb server]# vi bin/net-test.sh
export BBDISP=10.13.136.134
/usr/local/hobbit/server/bin/bbtest-net --report --ping --checkresponse
--dns=ip
Main points are that the hobbit server runs on the local ip and the
proxy runs on the external ip.
Hmm.. I did exactly like your config above and I am getting
hobbit at ghar:/var/log/hobbit$ tail bbproxy.log
2008-03-10 10:33:22 Cannot bind to listen socket (Address already in use)
I guess it is safer to go with port instead of IP.
I wish there are some official doc on it
▸
Hope this helps, Regards, Craig -----Original Message----- From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] Sent: 08 March 2008 00:18 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Sending Hobbit data from one server to another On Fri, Mar 7, 2008 at 1:51 AM, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:On Thursday 06 March 2008 23:27:47 Asif Iqbal wrote:So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet?Did you read my reply in the other thread? 1)Run hobbitd on a different port 2)Run bbproxy on the usual hobbit port (1984), and have it proxy to the local hobbit running on a different port, and the remote hobbitd on the usual port 3)Run bbnet as usual See my other mail for configuration details.I saw your other email and followed exactly as it is. But I get clear for connection on hobbit server. And the hobbit web page on proxy server is empty I see the following in the proxy server logs hobbit at ghar:~$ tail /var/log/hobbit/bb-display.log 2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed 2008-03-07 10:57:48 hobbitd status-board not available, code 5 2008-03-07 10:57:48 connect to bbd failed - Network is unreachable 2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed hobbit at ghar:~$ tail /var/log/hobbit/bb-network.log 2008-03-07 10:51:32 connect to bbd failed - Network is unreachable 2008-03-07 10:51:32 Whoops ! bb failed to send message - Connection failed hobbit at ghar:~$ tail /var/log/hobbit/bbproxy.log 2008-03-07 18:47:04 bbproxy version 4.3.0-0.20080103 starting 2008-03-07 18:47:04 Listening on 0.0.0.0:1984 2008-03-07 18:47:04 Sending to Hobbit server(s) 8.4.0.5:1984 127.0.0.1:1985 2008-03-07 18:47:04 Sending client data to server(s) 8.4.0.5:1984 127.0.0.1:1985 8.4.0.5 is the master hobbit server (the IP is sterilized to save the innocents) hobbit at ghar:~$ tail /var/log/hobbit/status.log 2008-03-07 18:11:00 Peer not up, flushing message queue 2008-03-07 18:12:34 Tried to down BOARDBUSY: Invalid argument Here is an excerpt of the relevant configuration hobbit at ghar:~/server/etc$ cat hobbitlaunch.cfg [...] [hobbitd] HEARTBEAT ENVFILE /home/hobbit/server/etc/hobbitserver.cfg CMD hobbitd --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,$BBSERVERIP --listen=0.0.0.0:1985 --store-clientlogs=!msgs [...] [bbproxy] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --servers=8.4.0.5,127.0.0.1:1985 --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log [...] hobbit at ghar:~/server/etc$ cat hobbitserver.cfg [...] BBSERVERIP="8.4.0.5" [...] The proxy server is on internal network. It can talk to master hobbit server and I am getting all the reports of the clients that are sending the data to proxy server. The master server has no visibility to the internal network Here is the layout All Internal Hosts 10.13.136.0/24 <--------> PROXY 10.13.136.134 ----------> Master Hobbit server 8.4.0.5 ThanksRegards, Buchan-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Buchan Milne
▸
On Saturday 08 March 2008 02:18:08 Asif Iqbal wrote:
On Fri, Mar 7, 2008 at 1:51 AM, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:On Thursday 06 March 2008 23:27:47 Asif Iqbal wrote:So I am still struggling with this idea. How would I have bbproxy server do bbnet test as well? To run bbrpoxy you have to disable hobbitd, but to do bbnet test hobbitd needs to be running. What a catch 22! Anyone figured that out yet?Did you read my reply in the other thread? 1)Run hobbitd on a different port 2)Run bbproxy on the usual hobbit port (1984), and have it proxy to the local hobbit running on a different port, and the remote hobbitd on the usual port 3)Run bbnet as usual See my other mail for configuration details.I saw your other email and followed exactly as it is. But I get clear for connection on hobbit server. And the hobbit web page on proxy server is empty I see the following in the proxy server logs hobbit at ghar:~$ tail /var/log/hobbit/bb-display.log 2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed 2008-03-07 10:57:48 hobbitd status-board not available, code 5 2008-03-07 10:57:48 connect to bbd failed - Network is unreachable 2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed
Have you checked what IP and port it is trying to connect to ?
▸
hobbit at ghar:~$ tail /var/log/hobbit/bb-network.log 2008-03-07 10:51:32 connect to bbd failed - Network is unreachable 2008-03-07 10:51:32 Whoops ! bb failed to send message - Connection failed
Uh, same question applies here.
▸
hobbit at ghar:~$ tail /var/log/hobbit/bbproxy.log 2008-03-07 18:47:04 bbproxy version 4.3.0-0.20080103 starting 2008-03-07 18:47:04 Listening on 0.0.0.0:1984 2008-03-07 18:47:04 Sending to Hobbit server(s) 8.4.0.5:1984 127.0.0.1:1985 2008-03-07 18:47:04 Sending client data to server(s) 8.4.0.5:1984 127.0.0.1:1985
This seems correct.
▸
8.4.0.5 is the master hobbit server (the IP is sterilized to save the innocents) hobbit at ghar:~$ tail /var/log/hobbit/status.log 2008-03-07 18:11:00 Peer not up, flushing message queue 2008-03-07 18:12:34 Tried to down BOARDBUSY: Invalid argument Here is an excerpt of the relevant configuration
Did you restart all of Hobbit after changing BBSERVERIP etc. ? Have you verified that the Hobbit environment gets the right $BBDISP ? E.g. with: [proxy:~]# su - hobbit -s /bin/bash [hobbit at proxy ~]$ ./server/bin/bbcmd bash 2008-03-10 17:24:58 Using default environment file /usr/lib/hobbit/server/etc/hobbitserver.cfg [hobbit at proxy ~]$ echo $BBDISP w.x.y.z (where w.x.y.z is the IP of the display server) ? Sorry, but there is nothing magical here, no magic undocumented feature, you put the components together as documented in their man pages, and mostly things just work. Figuring out why your setup works is (from the error messages in your logs) mostly figuring out why what you have done does not result in the various components doing what you think you have configured them to do. If the Hobbit clients (e.g. bbtest-net) are getting connection refused, to me it looks either like typos in your real configurations, or network the required network access not working, not a shortcoming of Hobbit (or the documentation). Regards, Buchan
list Buchan Milne
On Monday 10 March 2008 14:24:37 Whilding, Craig wrote:
BBSERVERIP="127.0.0.1"
If this is in hobbitserver.cfg on the proxy, IMHO, this should be the IP of the real display server.
▸
# "bbnet" runs the bbtest-net tool to perform the network based tests -
i.e. http, smtp, ssh, dns and
# all of the various network protocols we need to test.
[bbnet]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/net-test.sh --dns=ip
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
[root at gba-bb server]# vi bin/net-test.sh
export BBDISP=10.13.136.134If you have set BBSERVERIP to the main display server, then this is unnecessary.
▸
Main points are that the hobbit server runs on the local ip and the proxy runs on the external ip.
Well, each should be on a dedicated IP+port combination. If you don't have a dedicated IP, then using an alternative port is sufficient. Or, if you need the proxy to listen on more than one IP (thus 0.0.0.0), then you have to use a different port. Regards, Buchan
list Craig Whilding
In my case 127.0.0.1 is the ip of the display server with port 1984. The proxy is running on the external ip of the server and port 1984. I could probably change it so that the server runs only on the external ip with different ports but my method has been working fine for the past couple of years. The network tests needed sending to the proxy which is running on the external ip instead of internal so that's why the change was needed there. This config is probably in the list archive from a couple of years ago now when it was first suggested. Its getting rebuilt soon though so I might try different port settings instead. Thanks, Craig
▸
-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid]
Sent: 10 March 2008 15:33
To: user-ae9b8668bcde@xymon.invalid
Cc: Whilding, Craig
Subject: Re: [hobbit] Sending Hobbit data from one server to another
On Monday 10 March 2008 14:24:37 Whilding, Craig wrote:BBSERVERIP="127.0.0.1"
If this is in hobbitserver.cfg on the proxy, IMHO, this should be the IP of the real display server.
# "bbnet" runs the bbtest-net tool to perform the network based tests
-
i.e. http, smtp, ssh, dns and
# all of the various network protocols we need to test.
[bbnet]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/net-test.sh --dns=ip
LOGFILE $BBSERVERLOGS/bb-network.log
INTERVAL 5m
[root at gba-bb server]# vi bin/net-test.sh
export BBDISP=10.13.136.134If you have set BBSERVERIP to the main display server, then this is unnecessary.
Main points are that the hobbit server runs on the local ip and the proxy runs on the external ip.
Well, each should be on a dedicated IP+port combination. If you don't have a dedicated IP, then using an alternative port is sufficient. Or, if you need the proxy to listen on more than one IP (thus 0.0.0.0), then you have to use a different port. Regards, Buchan