Xymon Mailing List Archive search

External scripts

list David Garaway
Fri, 25 Mar 2005 22:29:03 -0800
Message-Id: <user-33ce2bde9b39@xymon.invalid>

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:user-ce4a2c883f75@xymon.invalid]
Sent: Mon 3/21/2005 1:03 AM
To: user-ae9b8668bcde@xymon.invalid
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