[hobbit] Advice on how to handle HA monitoring

Charles Jones jonescr at cisco.com
Wed Sep 26 19:32:59 CEST 2007


Asif Iqbal wrote:
> On 9/21/07, Charles Jones <jonescr at cisco.com> wrote:
>   
>> So you are using a custom script to monitor instead of hobbitclient-*.sh ?
>> This really isn't an option for me, since I have literally dozens of
>> servers that all have the same hobbit homedir, although I have written
>>     
>
> It does not matter. You can still write an external script like this
>
> [external]
>         ENVFILE /path/to/local/etc/hobbitclient.cfg
>         CMD /path/to/local/external/script
>         LOGFILE /path/to/local/logs/external.log
>         INTERVAL 5m
>
> That will work just fine even though you are sharing same hobbit client
>   

I tried that...2 problems:
1. I don't have a local place to store things (the homedirs are SAN, and 
I don't have permissions to use /usr/local and whatnot).
2. I tried similar to above anyway, using /tmp, and the client log fills 
up with errors because it cannot find the ext script to launch. To get 
around this, any ext scripts I write,  I include a hostname check, such 
that they only run on the hosts I want. My wishlist item is that Hobbit 
would support an option to run ext tests via hobbitclients.cfg, but it 
will probably never be added due to security concerns :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070926/5b0e7396/attachment.html>


More information about the Xymon mailing list