I know rrdtool (and the jrobin equivalent in java) can do it, but that's a fairly low level tool. I was hoping to find some generic framework that could accept either counter or gauge type values and do the rest for you including a web graph display. I'd think this would be a common problem but I haven't found any high-level tools that aren't married to snmp for the input.

 -Les


Gavin M. Roy wrote:
I use RRDTool for this with derive counter types. Collect the data you want from the stats command and use rrdtool to store the data every minute, graph it out with rrdtool graph and you'll get your trended stats.


            hi, i am newbie to memcached. I need help in finding how to get
            throughput stat.

            I want to see how much throughput memcache is getting.
            "stats" command
            does not list any stat for through put (requests per sec).
            Any idea on
            how to go about getting that info? Does memcache keep track
            of this
            information?


         It's rare to keep derived stats like that in general.  It's usually
        not interesting.  Do you want average requests per second over the
        lifetime of the process?  Over the last second?, 60 seconds?
        300, 900,
        3600, etc...

         Most of the time, this is easily observable from the outside.
        Collect counters -- wait a bit, collect them again, then do your own
        math.  That'll give you exactly what you want.


    It's a bit off topic for this list, but does anyone know if there
    are good generic tools for that?  There are quite a few designed to
    convert SNMP 'COUNTER' types to rates, check thresholds and keep
    history to graph the trends, but usually the SNMP sampling is
    closely coupled to the rest of the logic.  I think OpenNMS might do
    it with values it can pick up with http requests but I'm not sure
    how well it handles the spikes that would appear from restarts and
    value rollovers.

-- Les Mikesell
      lesmikes...@gmail.com <mailto:lesmikes...@gmail.com>



Reply via email to