|
From: | Tomich,John |
Subject: | Monit alerting config issue |
Date: | Thu, 26 Jan 2012 09:45:20 -0600 |
Hello all,
Using monit 4, can an alerting config block be modified as below to disable monitoring when temporary system aberrations result in unceasing alerting?
check process http-resource with pidfile /var/lock/subsys/ej_httpd_all/http-resource.pid
start program = "/opt/apache/bin/ej_httpd start resource"
stop program = "/opt/apache/bin/ej_httpd stop resource"
if failed host 192.168.100.18 port 80 then alert
if cpu > 80% for 15 cycles then alert
if totalmem > 750 MB for 10 cycles then alert
if children > 150 for 10 cycles then alert
if loadavg(5min) greater than 15 for 10 cycles then alert
if 5 alerts in 5 cycles then unmonitor <== new code
My goal here is to interrupt alerting if 5 contiguous evaluation cycles result in 5 alerts.
Many thanks.
Regards, jt
888888888888
John Tomich, IS Web Infrastructure
direct: 480.337.5854
page: 602.208.9893
If you are not the intended recipient of this message (including attachments) or if you have received this message in error, immediately notify us and delete it as well as any attachments.
If you do not wish to receive any email messages from us, excluding administrative communications, please email this request to address@hidden along with the email address you wish to unsubscribe.
For important additional information related to this email, visit www.edwardjones.com/US_email_disclosure . Edward D. Jones & Co., L.P. d/b/a Edward Jones, 12555 Manchester Road, St. Louis, MO 63131 © Edward Jones. All rights reserved.
[Prev in Thread] | Current Thread | [Next in Thread] |