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
pgpaTP5rQTs09.pgp
Description: PGP signature
_______________________________________________ infrastructure mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/infrastructure
