Freeze Break Request: Add nagios check for memcached connectivity

Pierre-Yves Chibon pingou at pingoured.fr
Wed Nov 19 21:12:35 UTC 2014


On Wed, Nov 19, 2014 at 01:50:39PM -0500, Ralph Bean wrote:
> Another freeze break request - this one to add a nagios check for connectivity
> to memcached.
> 
> This will attempt to call the daemon's stats command which, if broken, might
> hang and cause nrpe to time out.  We want that, as it will give us a clue to
> what might be causing some other app to fail.
> 
> This is in part what happened this morning.  The memcached process was present,
> and it was even accepting tcp requests, but it would not respond to commands.
> 
> ---
>  .../files/scripts/check_memcache_connect           |   24 ++++++++++++++++++++
>  roles/nagios_client/tasks/main.yml                 |    1 +
>  .../nagios_client/templates/check_memcache.cfg.j2  |    2 +-
>  .../files/nagios/services/memcached.cfg            |   16 +++++++++++-
>  roles/nagios_server/files/nrpe.cfg                 |    1 +
>  5 files changed, 41 insertions(+), 3 deletions(-)
>  create mode 100644 roles/nagios_client/files/scripts/check_memcache_connect
> 

+1

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/20141119/afad8d37/attachment-0001.sig>


More information about the infrastructure mailing list