I actually figured it out.
I ran 'bbcmd sh' to get into the hobbit environment and then manually
executed the script.
I had the machine name as localhost in the bb-xsnmptab, but it was
expecting the machine name, so I just changed that.
--Pat
-----Original Message-----
From: Deal, Richard [mailto:user-f6f804cb0a50@xymon.invalid]
Sent: Thursday, November 17, 2005 5:10 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-xsnmp.pl
What do you have in the bb-xsnmp.log file?
Do you have a bb-xsnmptab file in /bb/hms/server/etc ?
I assume this is running on the hobbitd server since you have
"NEEDS hobbitd"
-----Original Message-----
From: user-c102b8958c7a@xymon.invalid [mailto:user-c102b8958c7a@xymon.invalid]
Sent: Thursday, November 17, 2005 2:48 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-xsnmp.pl
Hey all,
I'm trying to debug whether or not an external script is launching.
If I
run it by hand, it works perfectly.
I've checked all the log files in /var/log/hobbit and there's nothing
apparent from them it's working.
I'm assuming it runs once when it starts and then in 5m intervals
(according to hobbitlaunch.cfg).
here's my snippet from hobbitlaunch
[xsnmp]
ENVFILE /bb/hms/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD /bb/hms/server/ext/bb-xsnmp.pl
LOGFILE $BBSERVERLOGS/bb-xsnmp.log
INTERVAL 5m