check_memcached and hits/misses

quanta quanta.linux at gmail.com
Mon May 30 07:17:14 CEST 2011


In my opinion, you shouldn't check the sudden increase in misses.
You should check the get_misses value and alert when it is greater than
a threshold.

$ echo "stats" | nc -w 1 <host> <port> | awk '/get_misses/ { print $3 }'

On 12/09/2010 11:55 PM, Pär Åslund wrote:
> Hi,
>
> I'm searching for a nagios check that looks at hits and misses.
>
> Been using check_memcached for checking memcached status and right now
> I will continue to do that checking that memcached is answering and
> got free memory.
>
> However, the issue with check_memcached is that it's looking at the
> hits/misses ratio since start up of the memcached-process.
> Whereas I need to know if a sudden increase in misses instead between
> polls has occured.
>
> Is anyone familiar with a such check for Nagios?
>
> Best regards,
> -p
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list