Xymon Mailing List Archive search

External scripts

list Henrik Størner
Mon, 21 Mar 2005 10:03:26 +0100
Message-Id: <user-b65cfea1e3eb@xymon.invalid>

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