Xymon Mailing List Archive search

Ext to alert once a day

4 messages in this thread

list Ricardo L. · Wed, 30 Sep 2015 15:28:14 -0500 ·
I have an ext script that runs once every 24 hours.

How can I configure the alerts to only send an email once a day if the status is x color.

Thanks
list Paul Root · Wed, 30 Sep 2015 20:36:31 +0000 ·
REPEAT=24h
quoted from Ricardo L.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ricardo L.
Sent: Wednesday, September 30, 2015 3:28 PM
To: xymon at xymon.com
Subject: [Xymon] Ext to alert once a day

I have an ext script that runs once every 24 hours.

How can I configure the alerts to only send an email once a day if the status is x color.

Thanks

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 Ricardo L. · Wed, 30 Sep 2015 16:33:39 -0500 ·
I tried that but it seems to be sending at different times once a day.

If my ext runs at 5am , I would like it to send the alert at 5am.


On Sep 30, 2015, 3:36 PM -0500, Root, Paul T<user-76fdb6883669@xymon.invalid>, wrote:
REPEAT=24h


From:Xymon [mailto:xymon-bounces at xymon.com]On Behalf OfRicardo L.
Sent:Wednesday, September 30, 2015 3:28 PM
To:xymon at xymon.com
Subject:[Xymon] Ext to alert once a day
quoted from Paul Root


I have an ext script that runs once every 24 hours.

How can I configure the alerts to only send an email once a day if the status is x color.

Thanks


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 Galen Johnson · Wed, 30 Sep 2015 22:09:06 +0000 ·
You also need the status to include the delay (status+1d).  I have a test that runs daily that I do this with.


$xymon $xymsrv \"status+$delay $machine.$xymontest $color $date $summary\n$data\n$msg\""?


=G=
quoted from Ricardo L.


From: Xymon <xymon-bounces at xymon.com> on behalf of Ricardo L. <user-7954c4ed4af4@xymon.invalid>
Sent: Wednesday, September 30, 2015 5:33 PM
To: "xymon at xymon.com"; Root, Paul T
Subject: Re: [Xymon] Ext to alert once a day

I tried that but it seems to be sending at different times once a day.

If my ext runs at 5am , I would like it to send the alert at 5am.


On Sep 30, 2015, 3:36 PM -0500, Root, Paul T <user-76fdb6883669@xymon.invalid>, wrote:
REPEAT=24h

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ricardo L.
Sent: Wednesday, September 30, 2015 3:28 PM
To: xymon at xymon.com
Subject: [Xymon] Ext to alert once a day

I have an ext script that runs once every 24 hours.

How can I configure the alerts to only send an email once a day if the status is x color.

Thanks

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.