memcached + nagios

Cahill, Earl ecahill at
Thu Sep 29 14:33:14 PDT 2005

Thinking you might want to add a delete to your script.  I would also
suggest doing a distinct thing in the value, just so when you set and
get, you know you are getting back what you just set.
Then each time you can do something like

my $value = time . ".$$";

->set($key, $value, 4*60)

And check after each thing to make sure all is well.  I wrote a similar
script not too long ago.  Can't seem to find it right now though.  I
also added in timings just to make sure things were getting done
reasonably fast.


-----Original Message-----
From: memcached-bounces at
[mailto:memcached-bounces at] On Behalf Of Ian Holsman
Sent: Thursday, September 29, 2005 3:02 PM
To: memcached at
Subject: memcached + nagios


For any of you running nagios monitoring.. I wrote a check script for  
it (announcement here: 
nagios-check-for-memcached )


ps.. I just noticed  Alexandre's stat script, which also seems pretty  
cool as well.. I'll try to get that integrated into the nagios check  
in the next couple of days.

Ian Holsman / ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -  
Mario Andretti

More information about the memcached mailing list