Freeze break request: disable nagios event_handler for fedora-tagger

Pierre-Yves Chibon pingou at pingoured.fr
Mon Oct 27 16:27:21 UTC 2014


On Mon, Oct 27, 2014 at 11:49:54AM -0400, Ralph Bean wrote:
> 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 for me to

Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20141027/760597ad/attachment.sig>


More information about the infrastructure mailing list