Xymon Mailing List Archive search

ack'ing with --no-pin

12 messages in this thread

list Craig Whilding · Fri, 4 Aug 2006 15:16:03 +0100 ·
Like the new ack'ing system, works well for some of the IT team who
don't keep the email with the ack code. 
 
One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.

 
Thanks,

 
Craig Whilding

IT Systems Administrator
Edward Court Altrincham Business Park Altrincham WA14 5GL Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid www.mentor.com
<file:///C:\Documents%20and%20Settings\cwhildin\Application%20Data\Micro
soft\Signatures\www.mentor.com>
list Jerry Yu · Fri, 4 Aug 2006 10:27:46 -0400 ·
Question, Craig, where do you use this '--no-pin' to enable ack w/o PIN #
from email ? I am using 4.2-RC-20060712 w/o patch on CentOS4/RHL9.
quoted from Craig Whilding

On 8/4/06, Whilding, Craig <user-9ce31bfa66c3@xymon.invalid> wrote:
 Like the new ack'ing system, works well for some of the IT team who don't
keep the email with the ack code.


One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.


Thanks,


Craig Whilding

IT Systems Administrator
Edward Court
Altrincham Business Park
Altrincham
WA14 5GL
Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid
www.mentor.com

list Craig Whilding · Fri, 4 Aug 2006 15:30:32 +0100 ·
Look in hobbitcgi.cfg, its under ack_opts or something. It is actually
there but outside of the "" so you need to put it inside the "". Think
its now meant to be the default ack method.

 
Craig
quoted from Jerry Yu

 
From: Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid] 
Sent: 04 August 2006 15:28
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ack'ing with --no-pin

 
Question, Craig, where do you use this '--no-pin' to enable ack w/o PIN
# from email ? I am using 4.2-RC-20060712 w/o patch on CentOS4/RHL9.

On 8/4/06, Whilding, Craig <user-9ce31bfa66c3@xymon.invalid > wrote:

Like the new ack'ing system, works well for some of the IT team who
don't keep the email with the ack code. 

 
One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.

 
Thanks,

 
Craig Whilding

IT Systems Administrator
Edward Court 
Altrincham Business Park 
Altrincham 
WA14 5GL 
Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid 
www.mentor.com
list Jerry Yu · Fri, 4 Aug 2006 10:36:54 -0400 ·
that's great. easier to ack it as you see it, all on the web.  the PIN # is
still useful to track which down event you acked though, when a check
actually goes up & down a few times before someone gets around to ack one of
the down events.
quoted from Craig Whilding

On 8/4/06, Whilding, Craig <user-9ce31bfa66c3@xymon.invalid> wrote:
 Look in hobbitcgi.cfg, its under ack_opts or something. It is actually
there but outside of the "" so you need to put it inside the "". Think its
now meant to be the default ack method.


Craig


*From:* Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid]
*Sent:* 04 August 2006 15:28
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] ack'ing with --no-pin


Question, Craig, where do you use this '--no-pin' to enable ack w/o PIN #
from email ? I am using 4.2-RC-20060712 w/o patch on CentOS4/RHL9.

On 8/4/06, *Whilding, Craig* <user-9ce31bfa66c3@xymon.invalid > wrote:

Like the new ack'ing system, works well for some of the IT team who don't
keep the email with the ack code.


One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.


Thanks,


Craig Whilding

IT Systems Administrator
Edward Court
Altrincham Business Park
Altrincham
WA14 5GL
Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid
www.mentor.com

list Kent Brodie · Fri, 4 Aug 2006 10:19:49 -0500 ·
Can someone briefly explain how ACK-ing works?     

 
Kent C. Brodie - user-da7f7d5174c0@xymon.invalid

Department of Physiology

Medical College of Wisconsin

(XXX) XXX-XXXX
quoted from Jerry Yu


From: Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid] 
Sent: Friday, August 04, 2006 9:28 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ack'ing with --no-pin

 
Question, Craig, where do you use this '--no-pin' to enable ack w/o PIN
# from email ? I am using 4.2-RC-20060712 w/o patch on CentOS4/RHL9.

On 8/4/06, Whilding, Craig <user-9ce31bfa66c3@xymon.invalid > wrote:

Like the new ack'ing system, works well for some of the IT team who
don't keep the email with the ack code. 

 
One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.

 
Thanks,

 
Craig Whilding

IT Systems Administrator
Edward Court 
Altrincham Business Park 
Altrincham 
WA14 5GL 
Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid 
www.mentor.com
list Jerry Yu · Fri, 4 Aug 2006 11:31:01 -0400 ·
I'll take a stab.

From the bb.html page you can access the administration->acknowlege event
page. The access is restricted by htaccess, so create your htpasswd secrete
file first. Therein, you can ack an event, specify how long the alert should
be ignored, and why.  The color of the check would change to a yellow check
mark. click on it will say the information you entered when acknolwged
(who/how long/why). So your teamates can go back to their picnic, assured
that Mr. Smart is working on it.

As for the no-pin option discussed in the thread, it affects how you pick an
event to ack
* with no-pin in effect, you get a list of event to pick
* w/o no-pin in effect,  you enter a PIN number embeded in the SUBJECT of
the email alerts.
quoted from Kent Brodie


On 8/4/06, Brodie, Kent <user-8fbf1c81e97c@xymon.invalid> wrote:
 Can someone briefly explain how ACK-ing works?


Kent C. Brodie - user-da7f7d5174c0@xymon.invalid

Department of Physiology

Medical College of Wisconsin

(XXX) XXX-XXXX

*From:* Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid]
*Sent:* Friday, August 04, 2006 9:28 AM

*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] ack'ing with --no-pin


Question, Craig, where do you use this '--no-pin' to enable ack w/o PIN #
from email ? I am using 4.2-RC-20060712 w/o patch on CentOS4/RHL9.

On 8/4/06, *Whilding, Craig* <user-9ce31bfa66c3@xymon.invalid > wrote:

Like the new ack'ing system, works well for some of the IT team who don't
keep the email with the ack code.


One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.


Thanks,


Craig Whilding

IT Systems Administrator
Edward Court
Altrincham Business Park
Altrincham
WA14 5GL
Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid
www.mentor.com

list Henrik Størner · Fri, 4 Aug 2006 17:32:26 +0200 ·
quoted from Jerry Yu
On Fri, Aug 04, 2006 at 03:16:03PM +0100, Whilding, Craig wrote:
One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.
The ack-logging code assumed that only events that had caused an alert
to be sent (via e-mail or a script) would ever get acked. So when you
ack something from the webpage that hasn't triggered an alert, the
ack wouldn't be logged. And with no logging of the ack, no display
on the BB2 page.

There was also another problem, where the first entries in the
acknowledgment log would be skipped, if the file was small.

Patches for both bugs are available now on the 4.2 RC patches page: 
http://www.hswn.dk/hobbitsw/betapatches/.
I'd recommend using the "all-in-one" patch now, since the patches
are getting increasingly dependant upon each other.


Regards,
Henrik
list Kent Brodie · Fri, 4 Aug 2006 10:34:33 -0500 ·
OK, that's how I thought it worked.      One cool thing we ought to
think about-  email-based acks?    Could that be possible?  The hobbit
server would have to be smtp-aware, and would have to forward
hobbit-addressed emails to a script.    

 
I'm thinking along the lines that I have an alphanumeric pager with
respond/send capability.

 
Just dreamin'....   
signature

 
Kent C. Brodie - user-da7f7d5174c0@xymon.invalid

Department of Physiology

Medical College of Wisconsin

(XXX) XXX-XXXX


quoted from Jerry Yu
From: Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid] 
Sent: Friday, August 04, 2006 10:31 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ack'ing with --no-pin

 
I'll take a stab.

From the bb.html page you can access the administration->acknowlege
event page. The access is restricted by htaccess, so create your
htpasswd secrete file first. Therein, you can ack an event, specify how
long the alert should be ignored, and why.  The color of the check would
change to a yellow check mark. click on it will say the information you
entered when acknolwged (who/how long/why). So your teamates can go back
to their picnic, assured that Mr. Smart is working on it.

As for the no-pin option discussed in the thread, it affects how you
pick an event to ack
* with no-pin in effect, you get a list of event to pick
* w/o no-pin in effect,  you enter a PIN number embeded in the SUBJECT
of the email alerts.


On 8/4/06, Brodie, Kent <user-8fbf1c81e97c@xymon.invalid> wrote:

Can someone briefly explain how ACK-ing works?     

 
Kent C. Brodie - user-da7f7d5174c0@xymon.invalid

Department of Physiology

Medical College of Wisconsin

(XXX) XXX-XXXX


From: Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid] 
Sent: Friday, August 04, 2006 9:28 AM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ack'ing with --no-pin

 
Question, Craig, where do you use this '--no-pin' to enable ack w/o PIN
# from email ? I am using 4.2-RC-20060712 w/o patch on CentOS4/RHL9.

On 8/4/06, Whilding, Craig <user-9ce31bfa66c3@xymon.invalid > wrote:

Like the new ack'ing system, works well for some of the IT team who
don't keep the email with the ack code. 

 
One thing I want to query is about the ack's in last 240 minutes section
on the bb2 page. Should the acks still appear in this section? Currently
they don't.

 
Thanks,

 
Craig Whilding

IT Systems Administrator
Edward Court 
Altrincham Business Park 
Altrincham 
WA14 5GL 
Tel: + 44 (0)XXX XXX XXXX
email: user-9ce31bfa66c3@xymon.invalid 
www.mentor.com
list Craig Whilding · Fri, 4 Aug 2006 16:44:11 +0100 ·
Thanks Henrik, ill get that applied asap :).

Can I apply a new allinone over the one I originally applied without any
problems?

When I did ack some alerts through the cgi page it did seem to miss the
1st one I sent. Is this related to your second point or were you just
meaning what is displayed on bb2?

Craig
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: 04 August 2006 16:32
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ack'ing with --no-pin

On Fri, Aug 04, 2006 at 03:16:03PM +0100, Whilding, Craig wrote:
One thing I want to query is about the ack's in last 240 minutes
section
on the bb2 page. Should the acks still appear in this section?
Currently
they don't.
The ack-logging code assumed that only events that had caused an alert
to be sent (via e-mail or a script) would ever get acked. So when you
ack something from the webpage that hasn't triggered an alert, the
ack wouldn't be logged. And with no logging of the ack, no display
on the BB2 page.

There was also another problem, where the first entries in the
acknowledgment log would be skipped, if the file was small.

Patches for both bugs are available now on the 4.2 RC patches page: 
http://www.hswn.dk/hobbitsw/betapatches/.
I'd recommend using the "all-in-one" patch now, since the patches
are getting increasingly dependant upon each other.


Regards,
Henrik
list Henrik Størner · Fri, 4 Aug 2006 17:48:41 +0200 ·
quoted from Craig Whilding
On Fri, Aug 04, 2006 at 04:44:11PM +0100, Whilding, Craig wrote:
Thanks Henrik, ill get that applied asap :).

Can I apply a new allinone over the one I originally applied without any
problems?
No, you'll have to un-apply the old one first. You do that just as when
you apply it, just add the -R (reverse) option with the "patch" command.
So you'd do

    cd hobbit-4.2-RC-20060712
    patch -p0 -R </someplace/allinone.old
    patch -p0 </someplace/allinone.new

and then "make clean; make; make install".
quoted from Craig Whilding
When I did ack some alerts through the cgi page it did seem to miss the
1st one I sent. Is this related to your second point or were you just
meaning what is displayed on bb2?
Sounds like the second bug I fixed.


Regards,
Henrik
list Henrik Størner · Fri, 4 Aug 2006 17:50:03 +0200 ·
quoted from Kent Brodie
On Fri, Aug 04, 2006 at 10:34:33AM -0500, Brodie, Kent wrote:
OK, that's how I thought it worked.      One cool thing we ought to
think about-  email-based acks?    Could that be possible?  The hobbit
server would have to be smtp-aware, and would have to forward
hobbit-addressed emails to a script.    
Have you checked the manpage for "hobbit-mailack" ?


Regards,
Henrik
list Kent Brodie · Fri, 4 Aug 2006 13:39:32 -0500 ·
Cool!   I am having issues debugging....    I see a few lines in
procmail.log, but that's all.   Even with --debug, where does the hobbit
mailack debug output go?
quoted from Henrik Størner


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Friday, August 04, 2006 10:50 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] ack'ing with --no-pin

On Fri, Aug 04, 2006 at 10:34:33AM -0500, Brodie, Kent wrote:
OK, that's how I thought it worked.      One cool thing we ought to
think about-  email-based acks?    Could that be possible?  The hobbit
server would have to be smtp-aware, and would have to forward
hobbit-addressed emails to a script.    
Have you checked the manpage for "hobbit-mailack" ?


Regards,
Henrik