[hobbit] acks through email
kevin grady
kevin.grady at gmail.com
Tue Feb 22 22:47:33 CET 2005
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.
On Tue, 22 Feb 2005 16:17:46 -0500, kevin grady <kevin.grady at gmail.com> 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
> <iqbala-hobbit at qwestip.net> 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 <henrik at hswn.dk> 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
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> >
>
More information about the Xymon
mailing list