|
you have to place the script in $BBHOME/ext and then call
ot from $BBHOME/etc/bb-bbexttab. Use the following format:
localhost : : newscript.sh
restart and it should work...if not, send back the results
of BBOUT and we will try something else.
hope that helps
Kevin From: mdingeldey@sbcglobal.net [mailto:mdingeldey@sbcglobal.net] Sent: Saturday, February 05, 2005 2:23 PM To: bb@bb4.com Subject: {bb} External Script problem [bcc][faked-from][bayes] Importance: Low Greetings All.
First off, I am a relative newbie to BB, and have
finally subscribed to the
mailing list.
I am currently attempting to get an external script
to operate correctly to
monitor close to 100 APC UPSes that we have
installed (with the APC 9617
card). To that end, I have found the appropriate
script on the mailing list
and have made modifications to make it work. It has
been modified to use
the correct OIDs and to use
snmpget as opposed to snmpwalk.
I'll send it to deadcat in the next few
days...
The only problem with said script is that it works
fine when I run it manually.
External scripts do not start when runbb-sh is
started. I have verified that the
appropriate BB variables are set (and do work) by
printing the values throughout
the startup scripts.
I have checked BBOUT and it does not start any of
the external scripts. I have trolled
the archives quite extensively, and haven't found
any one thing that jumps out at me.
Apart from loosely following Craig's setup guid
(and reading all the READMEs and
INSTALLs in everything) I have not made any
changes.
I have the following:
Fedora Core 3 on a Compaq DL360. 1.5GB memory.
38.4GB mirrored. It is up-to-date (as
of Friday) with all patches, etc...
I have added Net-SNMP (the latest) after
removing the SNMP that came with
FC3.
BB 1.9e
bbgen-3.5
fping
Could anyone suggest anything that I should check?
I'm certainly at wit's end....
Thanks!
|