Freeze break request: disable nagios event_handler for fedora-tagger

Ralph Bean rbean at redhat.com
Mon Oct 27 15:49:54 UTC 2014


Tagger started acting up recently and responding very slowly.  Longer
term, I think this is due to the database outgrowing our original
expectations for it -- a "select count(*) from votes;" takes quite a
while to return on the db server.

This slowness is causing nagios to time out every now and then which
makes it then try to restart httpd to get things working again (and
notify us about this).

To cut down on spam, I'd just like to remove the event_handler with
the following patch.  Any +1s?:

---
 .../files/nagios/services/websites.cfg             |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/roles/nagios_server/files/nagios/services/websites.cfg b/roles/nagios_server/files/nagios/services/websites.cfg
index c52c167..9595b3d 100644
--- a/roles/nagios_server/files/nagios/services/websites.cfg
+++ b/roles/nagios_server/files/nagios/services/websites.cfg
@@ -95,7 +95,7 @@ define service {
   check_command                check_website!localhost!/tagger/!Tagger
   max_check_attempts   8
   use                  internalwebsitetemplate
-  event_handler         restart_httpd
+  #event_handler         restart_httpd
 }
 
 define service {
-- 
1.7.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20141027/3714b183/attachment.sig>


More information about the infrastructure mailing list