Jozef,
Cacti is a popular open-source monitoring and graphing solution that
uses PHP and rrdtool. It can graph pretty much anything including
memcache via the templates posted by Joseph.
http://www.cacti.net/ (if you haven't already found it)
Those memcache templates for cacti will also work when pointed at the
statsproxy instead of the memcache instance. A benefit to using the
statsproxy is that it asks the memcache service for stats once (per
configured time interval) and then can hand it out multiple times to
multiple machines instead of your actual service handling those
requests along with it's regular sets/gets.
To get them to work together you'd have to either modify the templates
to use port 8080 or change the statsproxy config to use port 11211
(assuming your memcache server is either on a different port or IP).
Instructions for modifying the templates are in the link above.
I'm currently working on some templates and scripts for Cacti that
will be more plug-n-play for monitoring memcache via statsproxy.
One thing to note with Cacti is that it is configured by default to
poll for new information on a 5 minute interval. This may or may-not
provide you with enough granularity in your graphs, if it doesn't, it
can be configured all the way down to 10 seconds in the Cacti config.
-Nic
On Mar 30, 12:17 pm, Jozef Sevcik <
sev...@styxys.com> wrote:
> Joseph, Brian, thanks for responses.
> Maybe 'real time' was not right word, I was thinking about like combination
> of 'memcache.php' (show me stats now, on request) + scheduled monitoring in
> background (every X minutes for example).
> I'll check Cacti, thanks.
> Brian, that sounds good, announcing it here in mailing list then would be
> fantastic ;)
>
> "There's really not a strong need for this in the world"
> I just guess how 'big players' with hundreds or thousands of memcached
> instances do this.
> Do they all use Cacti+memcached templates or do they all have some custom
> tool ?..
>
> Thanks
> Jozef
>
> 2009/3/30 Joseph Engo <
dev.toas...@gmail.com>