Watchdog listening to Hobbit (was: [hobbit] windows question )

Anna Jonna Armannsdottir annaj at hi.is
Tue Feb 19 15:38:24 CET 2008


On þri, 2008-02-19 at 10:32 +0200, Buchan Milne wrote:
> If you *really* *really* want to do this, it can be done. Run a bb 
> localhost 'hobbitdboard host=xxxx test=conn color=red' to check the
> status, 
> if it's down, you can use 'net' from samba to reboot the server (.e.g
> 'net 
> rpc shutdown -r -S server -U user , with an account that has
> sufficient 
> rights.

Hi Buchan, 
this is an interesting and inspiring idea. It would probably be 
unreliable in case the connection of the windows host is down. 
Then the net command would not work. 

Most modern servers have built-in watchdogs, so that if a certain 
condition is met (generally frozen machine) the watchdog reboots 
the machine. It is a built in hardware/firmware thingie, that 
has its own OS, and network interface. 

Then is the question of how to make such a watchdog listen to the 
Hobbit monitor. Most of such firmware has built in SNMP but i do 
not know if any of them would be able to catch a SNMP TRAP and 
then reboot upon that. 

In this scheme, the role of the Hobbit monitor would be to monitor 
and send an alert to maybe a devmon or some other process that would 
convert that alert into a SNMP trap and send it to the watchdog. 

But still, this idea is rather far fetched. :) 

-- 
Kær kveðja, Anna Jonna Ármannsdóttir,   %&   A: Because people read from top to bottom.
Unix Kerfisstjórn, Reiknistofnun HÍ   %&   Q: Why is top posting bad?




More information about the Xymon mailing list