Xymon Mailing List Archive search

bb-xsnmp.pl

list Asif Iqbal
Thu, 17 Nov 2005 20:06:16 -0500
Message-Id: <user-cd634b71690b@xymon.invalid>

On Thu, Nov 17, 2005 at 02:47:34PM, user-c102b8958c7a@xymon.invalid wrote:
Hey all,
 I'm trying to debug whether or not an external script is launching.  If I
run it by hand, it works perfectly.
Did you mean you ran it like this as user 'hobbit' (assuming that is the
user you picked for your hobbit installation)

/bb/hms/server/bin/bbcmd /bb/hms/server/ext/bb-xsnmp.pl

And it worked fine?
 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

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi