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
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