Xymon Mailing List Archive search

acks through email

21 messages in this thread

list Kevin Grady · Sat, 19 Feb 2005 10:54:30 -0500 ·
Does hobbit support acks through email? Thanks
list Asif Iqbal · Sat, 19 Feb 2005 13:46:50 -0500 ·
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}"

Enjoy

-- 
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
list Kevin Grady · Sat, 19 Feb 2005 13:51:49 -0500 ·
Sweet thank you. I looked at the bb-mailack.sh but my shell scripting
knowledge is still a work in progess.


On Sat, 19 Feb 2005 13:46:50 -0500, Asif Iqbal
quoted from Asif Iqbal
<user-c8222abeff59@xymon.invalid> 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}"

Enjoy

--
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

list Kevin Hanrahan · Sat, 19 Feb 2005 14:08:25 -0500 ·
Hi,
 Where can I get bb-mailack.sh?

KEvin 
-----Original Message-----
From: kevin grady [mailto:user-50dc3c45bc73@xymon.invalid] Sent: Saturday, February 19, 2005 1:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] acks through email
Importance: Low
quoted from Kevin Grady

Sweet thank you. I looked at the bb-mailack.sh but my shell scripting
knowledge is still a work in progess.


On Sat, 19 Feb 2005 13:46:50 -0500, Asif Iqbal <user-c8222abeff59@xymon.invalid>
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}"

Enjoy

--
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

list Asif Iqbal · Sat, 19 Feb 2005 14:11:37 -0500 ·
quoted from Kevin Hanrahan
On Sat, Feb 19, 2005 at 02:08:25PM, Kevin Hanrahan wrote:
Hi,
 Where can I get bb-mailack.sh?
Download bb1.9c or bb1.9e-btf and look in the bin dir. It is there.
quoted from Kevin Hanrahan
KEvin 
-----Original Message-----
From: kevin grady [mailto:user-50dc3c45bc73@xymon.invalid] Sent: Saturday, February 19, 2005 1:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] acks through email
Importance: Low

Sweet thank you. I looked at the bb-mailack.sh but my shell scripting
knowledge is still a work in progess.


On Sat, 19 Feb 2005 13:46:50 -0500, Asif Iqbal <user-c8222abeff59@xymon.invalid>
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}"
Enjoy
-- 
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
list Asif Iqbal · Sat, 19 Feb 2005 14:17:53 -0500 ·
quoted from Kevin Grady
On Sat, Feb 19, 2005 at 01:51:49PM, kevin grady wrote:
Sweet thank you. I looked at the bb-mailack.sh but my shell scripting
knowledge is still a work in progess.
Two small things I forgot to mention

I added this at the beginning of the script

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


Also I removed all references to BBDISPLAY. BBPAGE is what all I needed
anyway. If you want to use BBDISPLAY you need to define it to the right
IP address, either inside your script OR hobbitserver.cfg file. 
Thanks
quoted from Asif Iqbal

On Sat, 19 Feb 2005 13:46:50 -0500, Asif Iqbal
<user-c8222abeff59@xymon.invalid> 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}"
Enjoy
-- 
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
list Henrik Størner · Sat, 19 Feb 2005 22:36:06 +0100 ·
quoted from Asif Iqbal
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
list Kevin Grady · Tue, 22 Feb 2005 14:10:14 -0500 ·
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.
quoted from Henrik Størner

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

list Asif Iqbal · Tue, 22 Feb 2005 14:16:37 -0500 ·
quoted from Kevin Grady
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"
quoted from Kevin Grady

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
list Kevin Grady · Tue, 22 Feb 2005 16:17:46 -0500 ·
Ok, no more error messages. Now when I reply to an alert, the message
gets sent and processed (it's no longer in /var/spool/mail/hobbit) and
that's. No indication that the alert has been acknowledged and the
hobbit logs are empty (well not empty, but they don't have any
messages corresponding to the issue). Any pointers greatly
appreciated.


On Tue, 22 Feb 2005 14:16:37 -0500, Asif Iqbal
quoted from Asif Iqbal
<user-c8222abeff59@xymon.invalid> wrote:
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

list Kevin Grady · Tue, 22 Feb 2005 16:47:33 -0500 ·
Ok, I eliminated the shell script and attempted to ack the alert via
command line. I entered the following:

./bb 10.3.2.229 "hobbitdack 378435 30 blah"

No errors. Nothing in the acklog. Any help is appreciated.
quoted from Kevin Grady


On Tue, 22 Feb 2005 16:17:46 -0500, kevin grady <user-50dc3c45bc73@xymon.invalid> wrote:
Ok, no more error messages. Now when I reply to an alert, the message
gets sent and processed (it's no longer in /var/spool/mail/hobbit) and
that's. No indication that the alert has been acknowledged and the
hobbit logs are empty (well not empty, but they don't have any
messages corresponding to the issue). Any pointers greatly
appreciated.

On Tue, 22 Feb 2005 14:16:37 -0500, Asif Iqbal
<user-c8222abeff59@xymon.invalid> wrote:
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

list Henrik Størner · Tue, 22 Feb 2005 23:24:52 +0100 ·
quoted from Kevin Grady
On Tue, Feb 22, 2005 at 04:47:33PM -0500, kevin grady wrote:
Ok, I eliminated the shell script and attempted to ack the alert via
command line. I entered the following:

./bb 10.3.2.229 "hobbitdack 378435 30 blah"

No errors. Nothing in the acklog. Any help is appreciated.
There was another report about this a day or two ago. The "hobbitdack"
command is broken in RC2, the "ack ack_event" does work (maint.pl uses
it).

RC3 should be available in a few minutes time.


Henrik
list Kevin Grady · Tue, 22 Feb 2005 17:33:28 -0500 ·
Ok, using ack ack_event on the command line works. Acks through
bb-mailack.sh still result in the message being consumed, but no sign
of the acknowledgement in acklogs on or in the display
quoted from Henrik Størner


On Tue, 22 Feb 2005 23:24:52 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Feb 22, 2005 at 04:47:33PM -0500, kevin grady wrote:
Ok, I eliminated the shell script and attempted to ack the alert via
command line. I entered the following:

./bb 10.3.2.229 "hobbitdack 378435 30 blah"

No errors. Nothing in the acklog. Any help is appreciated.
There was another report about this a day or two ago. The "hobbitdack"
command is broken in RC2, the "ack ack_event" does work (maint.pl uses
it).

RC3 should be available in a few minutes time.


Henrik

list Kevin Grady · Tue, 22 Feb 2005 17:33:50 -0500 ·
The bb-mailack.sh is using ack ack_event
quoted from Kevin Grady


On Tue, 22 Feb 2005 17:33:28 -0500, kevin grady <user-50dc3c45bc73@xymon.invalid> wrote:
Ok, using ack ack_event on the command line works. Acks through
bb-mailack.sh still result in the message being consumed, but no sign
of the acknowledgement in acklogs on or in the display


On Tue, 22 Feb 2005 23:24:52 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Feb 22, 2005 at 04:47:33PM -0500, kevin grady wrote:
Ok, I eliminated the shell script and attempted to ack the alert via
command line. I entered the following:

./bb 10.3.2.229 "hobbitdack 378435 30 blah"

No errors. Nothing in the acklog. Any help is appreciated.
There was another report about this a day or two ago. The "hobbitdack"
command is broken in RC2, the "ack ack_event" does work (maint.pl uses
it).

RC3 should be available in a few minutes time.


Henrik

list Kevin Grady · Tue, 22 Feb 2005 17:43:22 -0500 ·
So looking at the format of bb alert messages the subject line is:

!BB - 2827410! prodsqlclstr1.prod.smartbargains.com.sql-server - 
999010100001240

Where in hobbit without bb the subject line format is: 

BB [770509] vicious.smartbargains.com:ftp is RED

Is there a way to modify the subject line format in hobbit to match bb
the bb format or does bb-mailack.sh need some mods for this to work?

Thanks
quoted from Kevin Grady


On Tue, 22 Feb 2005 17:33:50 -0500, kevin grady <user-50dc3c45bc73@xymon.invalid> wrote:
The bb-mailack.sh is using ack ack_event


On Tue, 22 Feb 2005 17:33:28 -0500, kevin grady <user-50dc3c45bc73@xymon.invalid> wrote:
Ok, using ack ack_event on the command line works. Acks through
bb-mailack.sh still result in the message being consumed, but no sign
of the acknowledgement in acklogs on or in the display


On Tue, 22 Feb 2005 23:24:52 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Feb 22, 2005 at 04:47:33PM -0500, kevin grady wrote:
Ok, I eliminated the shell script and attempted to ack the alert via
command line. I entered the following:

./bb 10.3.2.229 "hobbitdack 378435 30 blah"

No errors. Nothing in the acklog. Any help is appreciated.
There was another report about this a day or two ago. The "hobbitdack"
command is broken in RC2, the "ack ack_event" does work (maint.pl uses
it).

RC3 should be available in a few minutes time.


Henrik

list Henrik Størner · Wed, 23 Feb 2005 00:02:57 +0100 ·
quoted from Kevin Grady
On Tue, Feb 22, 2005 at 05:43:22PM -0500, kevin grady wrote:
So looking at the format of bb alert messages the subject line is:

!BB - 2827410! prodsqlclstr1.prod.smartbargains.com.sql-server - 
999010100001240

Where in hobbit without bb the subject line format is: 

BB [770509] vicious.smartbargains.com:ftp is RED

Is there a way to modify the subject line format in hobbit to match bb
the bb format or does bb-mailack.sh need some mods for this to work?
It shouldn't matter. bb-mailack does some processing to filter out the
"fluff" in a mail message, and picks up all of the data it needs from
the subject line - regardless of whether it is in BB or Hobbit format.

I'd start the troubleshooting by adding a line or two to echo the
data bb-mailack sends to Hobbit. Just before the line
  $BB $BBPAGE "ack ack_event ${NUMBER} ${DELAY} ${MESSAGE}"
could you add this:
  echo "ack ack_event ${NUMBER} ${DELAY} ${MESSAGE}"  >>/tmp/mailack.log

Then do a couple of mail-ack's and check out what's in the log file.
My first suspicion is that the ack-number is wrong, since that will
mean that Hobbit silently discards the ack-message.


Henrik
list Kevin Grady · Tue, 22 Feb 2005 22:37:33 -0500 ·
Ok, after walking away for a while I apologize for wasting people's
time. I was missing defs for SED, AWK, etc.

Works like a champ now
quoted from Henrik Størner


On Wed, 23 Feb 2005 00:02:57 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Feb 22, 2005 at 05:43:22PM -0500, kevin grady wrote:
So looking at the format of bb alert messages the subject line is:

!BB - 2827410! prodsqlclstr1.prod.smartbargains.com.sql-server -
999010100001240

Where in hobbit without bb the subject line format is:

BB [770509] vicious.smartbargains.com:ftp is RED

Is there a way to modify the subject line format in hobbit to match bb
the bb format or does bb-mailack.sh need some mods for this to work?
It shouldn't matter. bb-mailack does some processing to filter out the
"fluff" in a mail message, and picks up all of the data it needs from
the subject line - regardless of whether it is in BB or Hobbit format.

I'd start the troubleshooting by adding a line or two to echo the
data bb-mailack sends to Hobbit. Just before the line
  $BB $BBPAGE "ack ack_event ${NUMBER} ${DELAY} ${MESSAGE}"
could you add this:
  echo "ack ack_event ${NUMBER} ${DELAY} ${MESSAGE}"  >>/tmp/mailack.log

Then do a couple of mail-ack's and check out what's in the log file.
My first suspicion is that the ack-number is wrong, since that will
mean that Hobbit silently discards the ack-message.


Henrik

list Kevin Grady · Wed, 23 Feb 2005 08:25:51 -0500 ·
Well to make a small contribution back to hobbit, attached is a
modified version of bb-mailack.sh that assumes you are using RC3 (I
removed the settings for AWK, etc.) Also, sets BBDISPLAYS to BBDISP,
BBPAGERS to BBPAGE (you'll need to change this if you have multiple
displays or pagers). One other mod is when you ack by email, the
message in the acknowledgement will read: email ack from [user's name]
 Duration [delay] min

Also, included are the changes suggested by Asif and Henrik in this thread.
This script still uses ack ack_event as I did not have a chance to
test with hobbitdack.

There are 2 places you will need to change the path if your home is
not /usr/local/hobbit.

I'll add comments soon. If this is not the proper method of
distributing mods for hobbit please let me know what is and I'll
adhere to it.

Thanks and great software.
quoted from Kevin Grady


On Tue, 22 Feb 2005 22:37:33 -0500, kevin grady <user-50dc3c45bc73@xymon.invalid> wrote:
Ok, after walking away for a while I apologize for wasting people's
time. I was missing defs for SED, AWK, etc.

Works like a champ now


On Wed, 23 Feb 2005 00:02:57 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Feb 22, 2005 at 05:43:22PM -0500, kevin grady wrote:
So looking at the format of bb alert messages the subject line is:

!BB - 2827410! prodsqlclstr1.prod.smartbargains.com.sql-server -
999010100001240

Where in hobbit without bb the subject line format is:

BB [770509] vicious.smartbargains.com:ftp is RED

Is there a way to modify the subject line format in hobbit to match bb
the bb format or does bb-mailack.sh need some mods for this to work?
It shouldn't matter. bb-mailack does some processing to filter out the
"fluff" in a mail message, and picks up all of the data it needs from
the subject line - regardless of whether it is in BB or Hobbit format.

I'd start the troubleshooting by adding a line or two to echo the
data bb-mailack sends to Hobbit. Just before the line
  $BB $BBPAGE "ack ack_event ${NUMBER} ${DELAY} ${MESSAGE}"
could you add this:
  echo "ack ack_event ${NUMBER} ${DELAY} ${MESSAGE}"  >>/tmp/mailack.log

Then do a couple of mail-ack's and check out what's in the log file.
My first suspicion is that the ack-number is wrong, since that will
mean that Hobbit silently discards the ack-message.


Henrik

Attachments (1)
list Henrik Størner · Wed, 23 Feb 2005 16:04:38 +0100 ·
quoted from Kevin Grady
On Wed, Feb 23, 2005 at 08:25:51AM -0500, kevin grady wrote:
Well to make a small contribution back to hobbit, attached is a
modified version of bb-mailack.sh that assumes you are using RC3
I'm sorry, but I cannot accept this contribution. The script is
clearly copyrighted:

# (c) Copyright Quest Software, Inc.  1997-2003  All rights reserved.

Including it in Hobbit would be a violation of Quest's copyright.


Regards,
Henrik
list Kevin Grady · Wed, 23 Feb 2005 10:16:58 -0500 ·
Yeah I guess I should have read the copyright. My apologies.
quoted from Henrik Størner

On Wed, 23 Feb 2005 16:04:38 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Feb 23, 2005 at 08:25:51AM -0500, kevin grady wrote:
Well to make a small contribution back to hobbit, attached is a
modified version of bb-mailack.sh that assumes you are using RC3
I'm sorry, but I cannot accept this contribution. The script is
clearly copyrighted:

# (c) Copyright Quest Software, Inc.  1997-2003  All rights reserved.

Including it in Hobbit would be a violation of Quest's copyright.

Regards,
Henrik

list Henrik Størner · Thu, 24 Feb 2005 00:09:13 +0100 ·
quoted from Kevin Grady
On Wed, Feb 23, 2005 at 04:04:38PM +0100, Henrik Stoerner wrote:
On Wed, Feb 23, 2005 at 08:25:51AM -0500, kevin grady wrote:
Well to make a small contribution back to hobbit, attached is a
modified version of bb-mailack.sh that assumes you are using RC3
I'm sorry, but I cannot accept this contribution. [copyright issues]
Since it seems that the bb-mailack.sh script is quite popular, I went
ahead and came up with a Hobbit re-implementation of that concept.
So there will be a hobbit-mailack tool included in the next release.


Henrik