DURATION
list Eric Jacobs
I'm trying to debug a problem with alerts. We have a catchall rule that alerts "on-call" person about any connectivity, http and httpcontent checks going red. The syntax is: HOST=* SERVICE=conn,http,httpcontent COLOR=red DURATION>4 followed underneath by the MAIL command. But I see that oftentimes, the alert doesn't get sent even if test has been red for 15 minutes. Don't know if this is connected, but if I try the "bbcmd hobbit_alert --debug --test HOST SERVICE" test, it fails on the catchall rule Eric Jacobs Infrastructure and Operations Information Technology Group Phone:XXX-XXX-XXXX Email:user-2ad24e73f3d4@xymon.invalid
list Asif Iqbal
On Wed, Feb 3, 2010 at 11:02 AM, Jacobs, Eric
▸
<user-2ad24e73f3d4@xymon.invalid>wrote:
I'm trying to debug a problem with alerts. We have a catchall rule that alerts "on-call" person about any connectivity, http and httpcontent checks going red. The syntax is: HOST=* SERVICE=conn,http,httpcontent COLOR=red DURATION>4 followed underneath by the MAIL command. But I see that oftentimes, the alert doesn't get sent even if test has been red for 15 minutes. Don't know if this is connected, but if I try the "bbcmd hobbit_alert --debug --test HOST SERVICE" test, it fails on the catchall rule
add the --duration=SECONDS
Eric Jacobs Infrastructure and Operations Information Technology Group Phone:XXX-XXX-XXXX Email:user-2ad24e73f3d4@xymon.invalid <user-3a340c0da949@xymon.invalid>
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
list Eric Jacobs
▸
From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] Sent: Wednesday, February 03, 2010 2:39 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] DURATION On Wed, Feb 3, 2010 at 11:02 AM, Jacobs, Eric <user-2ad24e73f3d4@xymon.invalid> wrote: I'm trying to debug a problem with alerts. We have a catchall rule that alerts "on-call" person about any connectivity, http and httpcontent checks going red. The syntax is: HOST=* SERVICE=conn,http,httpcontent COLOR=red DURATION>4 followed underneath by the MAIL command. But I see that oftentimes, the alert doesn't get sent even if test has been red for 15 minutes. Don't know if this is connected, but if I try the "bbcmd hobbit_alert --debug --test HOST SERVICE" test, it fails on the catchall rule add the --duration=SECONDS
Not sure I understand. I thought duration, by default, was minutes and
that's what I wanted
▸
Eric Jacobs
Infrastructure and Operations
Information Technology Group
Phone:XXX-XXX-XXXX
Email:user-2ad24e73f3d4@xymon.invalid
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
list Eric Jacobs
▸
From: Jacobs, Eric [mailto:user-2ad24e73f3d4@xymon.invalid] Sent: Wednesday, February 03, 2010 2:58 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] DURATION From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] Sent: Wednesday, February 03, 2010 2:39 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] DURATION On Wed, Feb 3, 2010 at 11:02 AM, Jacobs, Eric <user-2ad24e73f3d4@xymon.invalid> wrote: I'm trying to debug a problem with alerts. We have a catchall rule that alerts "on-call" person about any connectivity, http and httpcontent checks going red. The syntax is: HOST=* SERVICE=conn,http,httpcontent COLOR=red DURATION>4 followed underneath by the MAIL command. But I see that oftentimes, the alert doesn't get sent even if test has been red for 15 minutes. Don't know if this is connected, but if I try the "bbcmd hobbit_alert --debug --test HOST SERVICE" test, it fails on the catchall rule add the --duration=SECONDS Not sure I understand. I thought duration, by default, was minutes and that's what I wanted
Sorry, I just figured out your duration addition was to the testing
command. That works.
▸
Eric Jacobs
Infrastructure and Operations
Information Technology Group
Phone:XXX-XXX-XXXX
Email:user-2ad24e73f3d4@xymon.invalid
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?