Xymon Mailing List Archive search

Hobbit 4.0.4 released - Alert Script Issue

list Henrik Størner
Tue, 16 Aug 2005 16:24:13 +0200
Message-Id: <user-56dd09c12643@xymon.invalid>

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