Xymon Mailing List Archive search

Cannot ack hobbit alerts

7 messages in this thread

list Allan Spencer · Fri, 15 Apr 2005 10:47:28 +1000 ·
Hi guys,

Have recently upgraded to 4.0.2 and discovered we are having some issues
ack'ing alerts this morning.

Its sending out notifications to email and pager fine but when I put them
into the Ack Alert page on hobbit it says alert ack'ed or whatever it says
but theys till keep coming. Also in the hobbitd.log i get the message

date time Cookie 624644 not found, dropping ack

There is no way I've typed it wrongas I got 4 ppl to look at it to make sure
I wasnt going insane.

Also not sure if anyone else has had this since upgrading to 4.0.2 as my
emails for the last few days seemed to have vanished

Allan
list Andy France · Fri, 15 Apr 2005 13:18:36 +1200 ·

Hi Allan,

"ZanDAhaR" <user-42a3456c44ef@xymon.invalid> wrote on 15/04/2005 12:47:28:
quoted from Allan Spencer
Hi guys,
Have recently upgraded to 4.0.2 and discovered we are having some issues
ack'ing alerts this morning.
Its sending out notifications to email and pager fine but when I put them
into the Ack Alert page on hobbit it says alert ack'ed or whatever it
says
but theys till keep coming. Also in the hobbitd.log i get the message
date time Cookie 624644 not found, dropping ack
There is no way I've typed it wrongas I got 4 ppl to look at it to make
sure
I wasnt going insane.
Also not sure if anyone else has had this since upgrading to 4.0.2 as my
emails for the last few days seemed to have vanished
Allan
Yeah... this was covered a few days ago.

Pick up and apply this patch...

http://www.hswn.dk/hobbitsw/hobbit-4.0.2-acknowledge.patch

...and you should be back in business.

Regards,
Andy.


#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################
list Allan Spencer · Fri, 15 Apr 2005 11:42:53 +1000 ·
quoted from Andy France
----- Original Message ----- 
From: "Andy France" <user-ee2a9e4eaf57@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, April 15, 2005 11:18 AM
Subject: Re: [hobbit] Cannot ack hobbit alerts

Hi Allan,

"ZanDAhaR" <user-42a3456c44ef@xymon.invalid> wrote on 15/04/2005 12:47:28:
Hi guys,
Have recently upgraded to 4.0.2 and discovered we are having some issues
ack'ing alerts this morning.
Its sending out notifications to email and pager fine but when I put
them
into the Ack Alert page on hobbit it says alert ack'ed or whatever it
says
but theys till keep coming. Also in the hobbitd.log i get the message
date time Cookie 624644 not found, dropping ack
There is no way I've typed it wrongas I got 4 ppl to look at it to make
sure
I wasnt going insane.
Also not sure if anyone else has had this since upgrading to 4.0.2 as my
emails for the last few days seemed to have vanished
Allan
Yeah... this was covered a few days ago.

Pick up and apply this patch...

http://www.hswn.dk/hobbitsw/hobbit-4.0.2-acknowledge.patch

...and you should be back in business.

Regards,
Andy.

############################################################################
#########
This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
############################################################################
#########
Ok I'm guessing by the looks of it have to drop this file into the src
directory and reconfig/make hobbit ?

Can someone please give me a hint in the right direction as I've never had
to apply a patch to hobbit before.

Also is there an online copy/archive of this mailing list at all ?

Cheers
list Andy France · Fri, 15 Apr 2005 13:50:01 +1200 ·

"ZanDAhaR" <user-42a3456c44ef@xymon.invalid> wrote on 15/04/2005 13:42:53:
quoted from Andy France
----- Original Message -----
From: "Andy France"
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, April 15, 2005 11:18 AM
Subject: Re: [hobbit] Cannot ack hobbit alerts
Hi Allan,

"ZanDAhaR" wrote on 15/04/2005 12:47:28:
Hi guys,
Have recently upgraded to 4.0.2 and discovered we are having some
issues
ack'ing alerts this morning.
[snip]
Pick up and apply this patch...

http://www.hswn.dk/hobbitsw/hobbit-4.0.2-acknowledge.patch

...and you should be back in business.

Regards,
Andy.
Ok I'm guessing by the looks of it have to drop this file into the src
directory and reconfig/make hobbit ?
Can someone please give me a hint in the right direction as I've never
had
to apply a patch to hobbit before.
Also is there an online copy/archive of this mailing list at all ?
Cheers
You've got the idea ;-)  First save the patch file to /tmp, then...

cd hobbit-4.0.2
patch -p0 </tmp/maintenance-feature.patch
make
stop Hobbit
make install (as root)
start Hobbit

I'm not sure what system you are running hobbit on, but if you get any
errors with patch try gpatch instead (I have to do this on my Solaris 9 x86
box).

HTH,
quoted from Allan Spencer
Andy.

#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################
list Andy France · Fri, 15 Apr 2005 13:54:28 +1200 ·

Andy France wrote on 15/04/2005 13:50:01:
"ZanDAhaR" wrote on 15/04/2005 13:42:53:
quoted from Andy France
----- Original Message -----
From: "Andy France"
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, April 15, 2005 11:18 AM
Subject: Re: [hobbit] Cannot ack hobbit alerts
Hi Allan,

"ZanDAhaR" wrote on 15/04/2005 12:47:28:
Hi guys,
Have recently upgraded to 4.0.2 and discovered we are having some
issues
ack'ing alerts this morning.
[snip]
You've got the idea ;-)  First save the patch file to /tmp, then...
cd hobbit-4.0.2
patch -p0 </tmp/maintenance-feature.patch
Whoops!  try...

patch -p0 </tmp/hobbit-4.0.2-acknowledge.patch

:-)  Serves me right for copying Henrik's instructions!
quoted from Andy France
make
stop Hobbit
make install (as root)
start Hobbit
I'm not sure what system you are running hobbit on, but if you get any
errors with patch try gpatch instead (I have to do this on my Solaris 9
x86
box).
HTH,
Andy.
#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################
list Allan Spencer · Fri, 15 Apr 2005 13:22:33 +1000 ·
quoted from Andy France
----- Original Message ----- 
From: "Andy France" <user-ee2a9e4eaf57@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, April 15, 2005 11:54 AM
Subject: Re: [hobbit] Cannot ack hobbit alerts

Andy France wrote on 15/04/2005 13:50:01:
"ZanDAhaR" wrote on 15/04/2005 13:42:53:
----- Original Message -----
From: "Andy France"
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, April 15, 2005 11:18 AM
Subject: Re: [hobbit] Cannot ack hobbit alerts
Hi Allan,

"ZanDAhaR" wrote on 15/04/2005 12:47:28:
Hi guys,
Have recently upgraded to 4.0.2 and discovered we are having some
issues
ack'ing alerts this morning.
[snip]
You've got the idea ;-) First save the patch file to /tmp, then...
cd hobbit-4.0.2
patch -p0 </tmp/maintenance-feature.patch
Whoops! try...

patch -p0 </tmp/hobbit-4.0.2-acknowledge.patch

:-) Serves me right for copying Henrik's instructions!
make
stop Hobbit
make install (as root)
start Hobbit
I'm not sure what system you are running hobbit on, but if you get any
errors with patch try gpatch instead (I have to do this on my Solaris 9
x86
box).
HTH,
Andy.
############################################################################
#########
This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
############################################################################
#########
Running all the way back on Redhat Linux 7.2 on a beasty Pentium Pro 200

I tried the patch command and it sat there for an age and did nothing.

Should I drop the file into the hobbit install dir/hobbitd and run it from
there seeing as that the hobbitd.c file is in that dir ? Or will the patch
command search the entire hdd for hobbitd.c ? Im a bit of a newb and can say
ive never used patch before.

The again I might just edit the line in the hobbitd.c by hand, will that
work ?

Allan
list Andy France · Fri, 15 Apr 2005 15:54:17 +1200 ·

"ZanDAhaR"  wrote on 15/04/2005 15:22:33:

[snippage]
quoted from Allan Spencer
Running all the way back on Redhat Linux 7.2 on a beasty Pentium Pro 200
I tried the patch command and it sat there for an age and did nothing.
Should I drop the file into the hobbit install dir/hobbitd and run it
from
there seeing as that the hobbitd.c file is in that dir ? Or will the
patch
command search the entire hdd for hobbitd.c ? Im a bit of a newb and can
say
ive never used patch before.
The again I might just edit the line in the hobbitd.c by hand, will that
work ?
Allan
The location of the patch doesn't really matter - as long as your current
directory is the "root" of the hobbit 4.0.2 source files.  RHL uses GNU
patch AFAIK so the patch vs gpatch thing shouldn't be an issue.  Can you
check you have the redirect the right way around?  "<" not ">" ??

Yes - manually editing hobbitd.c circa line 923 to match the + string in
the patch will certainly have the same affect :-)  Although it might be
nice to figure out why patch isn't working in case the next change is a bit
more complicated.

Andy.

PS - Sorry for the following company sporge :-(
quoted from Allan Spencer

#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################