[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] sorry for the constant revision



hobbit (at) randomaccess ~/server/etc $ ../bin/bbcmd --env=/home/hobbit/server/etc/hobbitserver.cfg bbtest-net --ping --debug
---
It seems to have worked, pingwise:


2005-11-01 16:27:24 Sending results for service conn
2005-11-01 16:27:24 Adding to combo msg: status randomaccess.conn green <!-- [flags:OrdAstILe] --> Tue Nov 1 16:27:24 2005 conn ok
2005-11-01 16:27:24 Adding to combo msg: status orizo.conn green <!-- [flags:OrdAstILe] --> Tue Nov 1 16:27:24 2005 conn ok
2005-11-01 16:27:24 Adding to combo msg: status moadib.conn green <!-- [flags:OrdAstILe] --> Tue Nov 1 16:27:24 2005 conn ok
2005-11-01 16:27:24 Adding to combo msg: status brassai.conn green <!-- [flags:OrdAstILe] --> Tue Nov 1 16:27:24 2005 conn ok
2005-11-01 16:27:24 Adding to combo msg: status doisneau.conn green <!-- [flags:OrdAstILe] --> Tue Nov 1 16:27:24 2005 conn ok


but still doesn't test anything else... no checks for ssh, ldaps, dns... nothing it was checking (and showing as green) two days ago seems to be getting tested now. It completes the conn test, reports the results, and that's that.

I've checked the permissions on hobbitserver.cfg and they're correct. There's no reason the hobbit user shouldn't be able to read it.
I then ran bbcmd again without specifying the env, and got identical results.


I don't understand why ssh et. al. is yielding nothing at all..? If it failed to connect in some way it'd be red, wouldn't it? They remain purple... for some reason the tests aren't being done at all. I haven't altered the services definitions in any way.

Henrik Stoerner wrote:

On Tue, Nov 01, 2005 at 02:40:48PM -0500, Rob Munsch wrote:


Last email for a while, i promise; i'm chainsmoking packets at this point. but i found this-

---
2005-11-01 14:14:20 TCP tests completed normally
2005-11-01 14:14:20 Execution of 'fping -Ae' failed with error-code 99
2005-11-01 14:14:20 Sending results for service conn
---

Okay, it can't find fping. But...
---
hobbit (at) randomaccess ~/server/bin $ more ../etc/hobbitserver.cfg |grep fping
# Make sure the path includes the directories where you have fping, mail and (optionally) ntpdate installed,
FPING="/usr/sbin/fping" # Path and options for the 'fping' program.



This is pretty odd, because with that FPING setting you should also see /usr/sbin/fping in the logfile entry - it should read 2005-11-01 14:14:20 Execution of '/usr/sbin/fping -Ae' failed with error-code 99

Could you check your hobbitlaunch.cfg file ? [bbnet] section should be

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

I suspect that maybe the ENVFILE setting is missing or points to the
wrong file ...



[bbnet]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg



Hrm, so you did that.


What happens if you run

bbcmd --env=/home/hobbit/server/etc/hobbitserver.cfg bbtest-net --ping

?


Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk






--
Rob Munsch
Systems Analyst, Solutions for Progress
http://www.solutionsforprogress.com