Xymon Mailing List Archive search

acks through email

list Asif Iqbal
Tue, 22 Feb 2005 14:16:37 -0500
Message-Id: <user-26021329409e@xymon.invalid>

On Tue, Feb 22, 2005 at 02:10:14PM, kevin grady wrote:
When I reply to an alert, I get a message stating that bb-mailack.sh
can not find bbdef.sh. Is there an equivelent file for hobbit? This is
a clean install of hobbit 4.0RC2 no bb.
I would recommend to put this at the beginning of your script

[ -f /export/home/hobbit/server/etc/hobbitserver.cfg ] || exit 99
. /export/home/hobbit/server/etc/hobbitserver.cfg

And get rid of this

if [ -d "$BBHOME" ]
then
        . $BBHOME/etc/bbdef.sh

And the corresponding "else" and "fi"

Thanks


On Sat, 19 Feb 2005 22:36:06 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Sat, Feb 19, 2005 at 01:46:50PM -0500, Asif Iqbal wrote:
On Sat, Feb 19, 2005 at 10:54:30AM, Kevin Grady wrote:
Does hobbit support acks through email? Thanks
I am using it. You should be able to use the same shell script that was
in Bigbrother.

The only thing different is the following line in shell script

Bigbrother: $BB $BBPAGE "ack ack_event ${ACKCODE} ${DELAY} ${MESSAGE}"

Hobbit: $BB $BBPAGE "hobbitdack ${ACKCODE} ${DELAY} ${MESSAGE}"
Actually, it should work even without this change. The "ack ack_event"
command is recognized by hobbitd. I didn't see any reason why I should
break existing scripts, when it was so simple to just make it work.

Regards,
Henrik
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin