[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit 4.0.4 released - Alert Script Issue
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit 4.0.4 released - Alert Script Issue
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Tue, 16 Aug 2005 16:24:13 +0200
- References: <20050529111902.GA25071@hswn.dk> <OF789B04DA.C7AE5E08-ONCC257011.00765027-CC257011.00775A9E@zespri.com> <20050531121641.GA6499@hswn.dk> <af5861d605081607035153842a@mail.gmail.com>
- User-agent: Mutt/1.5.6+20040907i
On Tue, Aug 16, 2005 at 04:03:06PM +0200, Peter Welter wrote:
>
> Although it *has* worked before, our Hobbit server 4.0.4 has a problem
> now whereas it is not running external alert-script anymore?! When
> running hobbitd_alert it says it would run the script where in fact,
> it does not; again anymore?!
Anything unusual in the /var/log/hobbit/page.log file ?
> Hobbit has been installed using the sources, running "rpmbuild
> --rebuild hobbit-4.0.4-1.src.rpm". It did run the external scripts, so
> what has changed? We applied during our maintenance window the SLES9
> patches. It has not reported since then, when I think of it. So, is
> there a library missing? Any suggestions?
> '/usr/local/bb/consigne.ksh' and recipient 006XXXXXXXX
What happens if you login as the hobbit user and run the script like
this:
BBCOLORLEVEL=red \
BBALPHAMSG="Just a test" \
ACKCODE="12345" \
RCPT="006xxxxxx" \
BBHOSTNAME="some.host.name" \
MACHIP"10.0.0.1" \
BBSVCNAME="conn" \
BBSVCNUM="300" \
BBHOSTSVC="some.host.name.conn" \
BBHOSTSVCCOMMAS="some,host,name.conn" \
BBNUMERIC="30001000000000112345" \
/usr/local/bb/consigne.ksh
That's basically what Hobbit does when running the script.
Henrik