[Xymon] alerts.cfg DURATION rule being ignored

Clovis Otteson clovis at ipost.com
Wed Aug 5 18:31:53 CEST 2020


Thank you, but I think it must be something else.

"Configuring Xymon Alerts" at 
https://xymon.sourceforge.io/xymon/help/xymon-alerts.html states "TEXT" 
is the default for FORMAT. Also the alert emails are successfully sent, 
just not being delayed.

I checked the info page for the host for which I set the delay, and it 
shows that there is, as expected, a 30m 1s delay for this notification. 
However, this "delayed" notification is sent at the same time a 
non-delayed notification (to a different address) for the same 
host/service check.

On 8/5/2020 12:15 PM, Scot Kreienkamp wrote:
> Looks like you forgot the format part.  Here's one from my server that works.   The delay is seen on the info page on my server.
>
> SCRIPT $SCRIPTLOCATION $RECIPIENT FORMAT=TEXT REPEAT=240m  DURATION>2 RECOVERED
>
>
> Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
> One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: 734-384-6403 | Fax:  | Mobile: 1-734-915-1444 | E-mail: Scot.Kreienkamp at la-z-boy.com
>
>   
>   
> -----Original Message-----
> From: Clovis Otteson <clovis at ipost.com>
> Sent: Wednesday, August 5, 2020 12:12 PM
> To: Scot Kreienkamp <Scot.Kreienkamp at la-z-boy.com>; xymon at xymon.com
> Subject: Re: [Xymon] alerts.cfg DURATION rule being ignored
>
> ATTENTION:   This email was sent to La-Z-Boy from an external source.     Be vigilant when opening attachments or clicking links.
>
> It's all on one line.
>
> On 8/5/2020 12:10 PM, Scot Kreienkamp wrote:
>> Is that all one line or two lines?  Only asking because in the email it wraps it to two lines.
>>
>>
>> Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
>> One La-Z-Boy Drive | Monroe, Michigan 48162 | ( 734-384-6403 |  |  ) 1-734-915-1444 | *Scot.Kreienkamp at la-z-boy.com
>> www.la-z-boy.com | facebook.com/lazboy | twitter.com/lazboy | youtube.com/lazboy
>>
>> -----Original Message-----
>> From: Xymon <xymon-bounces at xymon.com> On Behalf Of Clovis Otteson
>> Sent: Wednesday, August 5, 2020 11:18 AM
>> To: xymon at xymon.com
>> Subject: [Xymon] alerts.cfg DURATION rule being ignored
>>
>> ATTENTION:   This email was sent to La-Z-Boy from an external source.     Be vigilant when opening attachments or clicking links.
>>
>> Hello,
>>
>> Our Xymon server is monitoring about a hundred hosts and has been doing
>> so nicely for years.  However DURATION rule is being ignored. I have
>> several lines like this in alerts.cfg:
>>
>> SCRIPT <script location> <email address> SERVICE=replication
>> DURATION>30m REPEAT=30d COLOR=red,purple
>>
>> Replication is a custom check. But the alert (scripted email) is being
>> sent as soon as the check goes red, not 30 minutes later. Any
>> suggestions as to why this could be? Using Xymon 4.3.30.
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>> This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.


More information about the Xymon mailing list