[hobbit] External scripts
David Garaway
dave at auctionhelper.com
Sat Mar 26 07:29:03 CET 2005
I looked at the log file and its empty. When hobbit starts it creates the log file but nothing is ever writen to it. Any ideas what enviornment varables need to be set? I didnt add anything to the bbsys.local on the BB install. I am running other external scripts that work fine.
Thanks,
Dave
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: Mon 3/21/2005 1:03 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] External scripts
On Sun, Mar 20, 2005 at 09:21:15PM -0800, David Garaway wrote:
> I have a question about external scripts. I just moved over to
> Hobbit from BB and need to run my scripts. I have been using the
> "snmp" for my netapps and "bb-xsnmp" for my switches. I added an
> entry to the "hobbitlaunch.cfg"
>
> [bbxsnmp]
> CMD $BBHOME/ext/bb-xsnmp.pl
> LOGFILE $BBSERVERLOGS/bb-xsnmp.log
> INTERVAL 1m
>
> but it doesnt work. Does anyone have any advice on using these BB
> scripts?
First thing to do is check that logfile you have in
/var/log/hobbit/bb-xsnmp.log and see if it shows any errors.
The most common reason for BB extensions failing with Hobbit is that
some environment variables defined by the BB configuration files are
not setup by Hobbit. Especially if you have added your own custom
settings in bbsys.local.
Regards,
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list