Xymon Mailing List Archive search

Anyone got a patch for the 24-hour limit on ACKS? Or a script to invoke acknowledge.sh?

9 messages in this thread

list Betsy Schwartz · Mon, 19 Oct 2015 10:57:12 -0400 ·
We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape the
board and re-ack)

thank you!!
list Ryan Novosielski · Mon, 19 Oct 2015 10:58:57 -0400 ·
I have never found acks to have a 24 hour limit. Can anyone confirm whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
quoted from Betsy Schwartz
    `'

On Oct 19, 2015, at 10:57, Betsy Schwartz <user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:

We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape the board and re-ack)

thank you!!
list Paul Root · Mon, 19 Oct 2015 15:02:11 +0000 ·
I was just doing an ack for 1+ days.

It will only get cancelled if the test in question goes green however briefly.

A disable will persist if it is set to expire at a certain time.
quoted from Ryan Novosielski

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Novosielski, Ryan
Sent: Monday, October 19, 2015 9:59 AM
To: user-c61747246f66@xymon.invalid
Cc: xymon at xymon.com
Subject: Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS? Or a script to invoke acknowledge.sh?

I have never found acks to have a 24 hour limit. Can anyone confirm whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*

|| \\UTGERS<file:///\\UTGERS>      |---------------------*O*---------------------
quoted from Ryan Novosielski
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 19, 2015, at 10:57, Betsy Schwartz <user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:
We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape the board and re-ack)
thank you!!


This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Ralph Mitchell · Mon, 19 Oct 2015 11:18:54 -0400 ·
I have ack-by-email set up, and can send multi-day/week acks without a
problem.

Ralph Mitchell
quoted from Paul Root
On Oct 19, 2015 11:02 AM, "Root, Paul T" <user-76fdb6883669@xymon.invalid> wrote:
I was just doing an ack for 1+ days.


It will only get cancelled if the test in question goes green however
briefly.


A disable will persist if it is set to expire at a certain time.


*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Novosielski,
Ryan
*Sent:* Monday, October 19, 2015 9:59 AM
*To:* user-c61747246f66@xymon.invalid
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS?
Or a script to invoke acknowledge.sh?


I have never found acks to have a 24 hour limit. Can anyone confirm
whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist

|| \\ and Health | user-46c89e614701@xymon.invalid- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'


On Oct 19, 2015, at 10:57, Betsy Schwartz <user-c61747246f66@xymon.invalid>
quoted from Paul Root
wrote:

We've GOT to be able to ack alerts and have the ack survive the weekend.

(if I can call acknowledge.sh from perl I have a script that can scrape
the board and re-ack)

thank you!!


This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.

list Betsy Schwartz · Mon, 19 Oct 2015 13:07:07 -0400 ·
our acks always always always seem to time out
what are we doing differently?

we're running xymon 4.3.21 on RHEL6


On Mon, Oct 19, 2015 at 11:18 AM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
quoted from Ralph Mitchell
wrote:
I have ack-by-email set up, and can send multi-day/week acks without a
problem.

Ralph Mitchell
On Oct 19, 2015 11:02 AM, "Root, Paul T" <user-76fdb6883669@xymon.invalid>
wrote:
I was just doing an ack for 1+ days.


It will only get cancelled if the test in question goes green however
briefly.


A disable will persist if it is set to expire at a certain time.


*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Novosielski,
Ryan
*Sent:* Monday, October 19, 2015 9:59 AM
*To:* user-c61747246f66@xymon.invalid
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS?
Or a script to invoke acknowledge.sh?


I have never found acks to have a 24 hour limit. Can anyone confirm
whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'


On Oct 19, 2015, at 10:57, Betsy Schwartz <user-c61747246f66@xymon.invalid>
wrote:

We've GOT to be able to ack alerts and have the ack survive the weekend.

(if I can call acknowledge.sh from perl I have a script that can scrape
the board and re-ack)

thank you!!


This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.

list Ryan Novosielski · Mon, 19 Oct 2015 13:38:49 -0400 ·
My suspicion would be that the test briefly exits the bad state, or you have a problem with a clock somewhere. One weird issue that I used to have is if I set acknowledgments too long (we are talking like 999 weeks), IRIX would expire them almost immediately. But that would not happen under your circumstance certainly.
signature

--
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

quoted from Betsy Schwartz
On Oct 19, 2015, at 13:07, Betsy Schwartz <user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:

our acks always always always seem to time out
what are we doing differently?

we're running xymon 4.3.21 on RHEL6


On Mon, Oct 19, 2015 at 11:18 AM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid<mailto:user-00a5e44c48c0@xymon.invalid>> wrote:

I have ack-by-email set up, and can send multi-day/week acks without a problem.

Ralph Mitchell

On Oct 19, 2015 11:02 AM, "Root, Paul T" <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
I was just doing an ack for 1+ days.

It will only get cancelled if the test in question goes green however briefly.

A disable will persist if it is set to expire at a certain time.

From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Novosielski, Ryan
Sent: Monday, October 19, 2015 9:59 AM
To: user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS? Or a script to invoke acknowledge.sh?

I have never found acks to have a 24 hour limit. Can anyone confirm whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist

|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922<tel:973%2F972.0922> (2x0922)
quoted from Betsy Schwartz
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 19, 2015, at 10:57, Betsy Schwartz <user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:
We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape the board and re-ack)
thank you!!


This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Japheth Cleaver · Mon, 19 Oct 2015 10:53:33 -0700 ·
Betsy,

Have you noticed any difference in success depending on how you're
specifying the duration? (eg, "1d" vs "24h", etc.?)

There's one "magic value" relating to a full day when we're generating the
ack code to begin with, but on walking through the module code I can't see
how it would cause an effect like this.


After the acknowledgement, the expiration time of the current one should
be displayed on the status page for that test. Can you confirm that the
pending date in those cases is what you'd expect it to be?

Sort of grasping at straws here. I'll keep digging in, but so far things
seem to be working correctly for me.

Regards,
-jc
quoted from Ryan Novosielski


On Mon, October 19, 2015 10:38 am, Novosielski, Ryan wrote:
My suspicion would be that the test briefly exits the bad state, or you
have a problem with a clock somewhere. One weird issue that I used to have
is if I set acknowledgments too long (we are talking like 999 weeks), IRIX
would expire them almost immediately. But that would not happen under your
circumstance certainly.

--
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>-
973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 19, 2015, at 13:07, Betsy Schwartz
<user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:

our acks always always always seem to time out
what are we doing differently?

we're running xymon 4.3.21 on RHEL6


On Mon, Oct 19, 2015 at 11:18 AM, Ralph Mitchell
<user-00a5e44c48c0@xymon.invalid<mailto:user-00a5e44c48c0@xymon.invalid>> wrote:

I have ack-by-email set up, and can send multi-day/week acks without a
problem.

Ralph Mitchell

On Oct 19, 2015 11:02 AM, "Root, Paul T"
<user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
I was just doing an ack for 1+ days.

It will only get cancelled if the test in question goes green however
briefly.

A disable will persist if it is set to expire at a certain time.

From: Xymon
[mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf
Of Novosielski, Ryan
Sent: Monday, October 19, 2015 9:59 AM
To: user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS? Or
a script to invoke acknowledge.sh?

I have never found acks to have a 24 hour limit. Can anyone confirm
whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>-
973/972.0922<tel:973%2F972.0922> (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 19, 2015, at 10:57, Betsy Schwartz
<user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:
We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape
the board and re-ack)
thank you!!
list Betsy Schwartz · Mon, 19 Oct 2015 14:23:33 -0400 ·
I've noticed that if I ack for more than a day the ack falls off after 5
minutes sometimes

On Mon, Oct 19, 2015 at 1:53 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
Betsy,

Have you noticed any difference in success depending on how you're
specifying the duration? (eg, "1d" vs "24h", etc.?)

There's one "magic value" relating to a full day when we're generating the
ack code to begin with, but on walking through the module code I can't see
how it would cause an effect like this.


After the acknowledgement, the expiration time of the current one should
be displayed on the status page for that test. Can you confirm that the
pending date in those cases is what you'd expect it to be?

Sort of grasping at straws here. I'll keep digging in, but so far things
seem to be working correctly for me.

Regards,
-jc


On Mon, October 19, 2015 10:38 am, Novosielski, Ryan wrote:
My suspicion would be that the test briefly exits the bad state, or you
have a problem with a clock somewhere. One weird issue that I used to
have
is if I set acknowledgments too long (we are talking like 999 weeks),
IRIX
would expire them almost immediately. But that would not happen under
your
circumstance certainly.

--
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>-
973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 19, 2015, at 13:07, Betsy Schwartz
<user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:

our acks always always always seem to time out
what are we doing differently?

we're running xymon 4.3.21 on RHEL6


On Mon, Oct 19, 2015 at 11:18 AM, Ralph Mitchell
<user-00a5e44c48c0@xymon.invalid<mailto:user-00a5e44c48c0@xymon.invalid>> wrote:

I have ack-by-email set up, and can send multi-day/week acks without a
problem.

Ralph Mitchell

On Oct 19, 2015 11:02 AM, "Root, Paul T"
<user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
I was just doing an ack for 1+ days.

It will only get cancelled if the test in question goes green however
briefly.

A disable will persist if it is set to expire at a certain time.

From: Xymon
[mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On
Behalf
Of Novosielski, Ryan
Sent: Monday, October 19, 2015 9:59 AM
To: user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS? Or
a script to invoke acknowledge.sh?

I have never found acks to have a 24 hour limit. Can anyone confirm
whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>-
973/972.0922<tel:973%2F972.0922> (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 19, 2015, at 10:57, Betsy Schwartz
<user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:
We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape
the board and re-ack)
thank you!!
list Japheth Cleaver · Tue, 3 Nov 2015 10:47:11 -0800 ·
Hi Betsy,

There's a possibility this might be fixed in RC2. If you get a chance, 
would you be able to test it out on your side? If the issue continues to 
occur, can you add a ACK_COOKIE_EXPIRATION= line to xymonserver.cfg, and 
set the value to something higher than 86400 (1 day)? I'm not completely 
convinced it's related, but that's the only magic value relating to 
cookie codes that's set to 1 day itself now.

HTH,
-jc
quoted from Betsy Schwartz

On 10/19/2015 10:53 AM, J.C. Cleaver wrote:
Betsy,

Have you noticed any difference in success depending on how you're
specifying the duration? (eg, "1d" vs "24h", etc.?)

There's one "magic value" relating to a full day when we're generating the
ack code to begin with, but on walking through the module code I can't see
how it would cause an effect like this.


After the acknowledgement, the expiration time of the current one should
be displayed on the status page for that test. Can you confirm that the
pending date in those cases is what you'd expect it to be?

Sort of grasping at straws here. I'll keep digging in, but so far things
seem to be working correctly for me.

Regards,
-jc


On Mon, October 19, 2015 10:38 am, Novosielski, Ryan wrote:
My suspicion would be that the test briefly exits the bad state, or you
have a problem with a clock somewhere. One weird issue that I used to have
is if I set acknowledgments too long (we are talking like 999 weeks), IRIX
would expire them almost immediately. But that would not happen under your
circumstance certainly.

--
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>-
973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
     `'

On Oct 19, 2015, at 13:07, Betsy Schwartz
<user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:

our acks always always always seem to time out
what are we doing differently?

we're running xymon 4.3.21 on RHEL6


On Mon, Oct 19, 2015 at 11:18 AM, Ralph Mitchell
<user-00a5e44c48c0@xymon.invalid<mailto:user-00a5e44c48c0@xymon.invalid>> wrote:

I have ack-by-email set up, and can send multi-day/week acks without a
problem.

Ralph Mitchell

On Oct 19, 2015 11:02 AM, "Root, Paul T"
<user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
I was just doing an ack for 1+ days.

It will only get cancelled if the test in question goes green however
briefly.

A disable will persist if it is set to expire at a certain time.

From: Xymon
[mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf
Of Novosielski, Ryan
Sent: Monday, October 19, 2015 9:59 AM
To: user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Anyone got a patch for the 24-hour limit on ACKS? Or
a script to invoke acknowledge.sh?

I have never found acks to have a 24 hour limit. Can anyone confirm
whether this is definitely true or not?

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>-
973/972.0922<tel:973%2F972.0922> (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
     `'

On Oct 19, 2015, at 10:57, Betsy Schwartz
<user-c61747246f66@xymon.invalid<mailto:user-c61747246f66@xymon.invalid>> wrote:
We've GOT to be able to ack alerts and have the ack survive the weekend.
(if I can call acknowledge.sh from perl I have a script that can scrape
the board and re-ack)
thank you!!