[hobbit] External scripts
Brian Lynch
brianlynch at gmail.com
Mon Mar 21 06:54:27 CET 2005
Dave,
Is the log file being created for the script? It would also help to
know what the script is doing and what type of log information it is
spitting out. I have a simple example working with the following
script:
test.pl:
#!/usr/bin/perl
print "TEST\n";
and this entry in hobbitlaunch.cfg:
# TEST Case
[exttest]
ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD $BBHOME/ext/test.pl
LOGFILE $BBSERVERLOGS/ext_test.log
INTERVAL 1m
On Sun, 20 Mar 2005 21:42:45 -0800, David Garaway
<dave at auctionhelper.com> wrote:
> this is all its giving,
>
> 2005-03-20 21:40:52 Task bbhistory started with PID 12271
> 2005-03-20 21:40:52 Task bbenadis started with PID 12273
> 2005-03-20 21:40:52 Task bbpage started with PID 12274
> 2005-03-20 21:40:52 Task larrdstatus started with PID 12276
> 2005-03-20 21:40:52 Task larrddata started with PID 12278
> 2005-03-20 21:40:52 Task bbdisplay started with PID 12280
> 2005-03-20 21:40:52 Task bbnet started with PID 12282
> 2005-03-20 21:40:52 Task bbretest started with PID 12283
> 2005-03-20 21:40:52 Task larrdcolumn started with PID 12284
> 2005-03-20 21:40:52 Task infocolumn started with PID 12285
> 2005-03-20 21:41:51 Task bbxsnmp started with PID 12289
>
>
> -----Original Message-----
> From: Tim Rotunda [mailto:trotunda at opushealthcare.com]
> Sent: Sun 3/20/2005 9:31 PM
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] External scripts
>
> Does the hobbitlaunch.log tell you anything?
>
> This is how I launch my stuff:
> [hobbitcentral]
> ENVFILE /users/hobbit/server/etc/hobbitserver.cfg
> NEEDS hobbitd
> CMD $BBHOME/../hobcen/hobcen.sh
> LOGFILE $BBSERVERLOGS/hobcen.log
> INTERVAL 1m
>
> Good luck.
> Tim
>
> -----Original Message-----
> From: David Garaway [mailto:dave at auctionhelper.com]
> Sent: Sunday, March 20, 2005 11:21 PM
> To: hobbit at hswn.dk
> Subject: [hobbit] External scripts
>
> Hello all,
>
> 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?
>
> Thanks,
>
> Dave
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
More information about the Xymon
mailing list