Hi

I have been "playing" with mrtg (how do you say that in normal english?) 
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

MRTG  was designed to provide a LIVE visual representation of this traffic but 
it can also be used to display other information.

I have create a small servlet that aquires some basic stats from mmbase
(memory and cache hits/total)
currenty I am only getting information that is easely avaiable but the result
looks very good (so I say..)

creating new "graphs" is quite easy and at the server side you don't have to 
keep to much data (only simple counters)

The node caches information is displayed in hits/s :)

here is a sample result
http://carlit.mine.nu/~keesj/mrtg-example/

is shows the results of a small stress test 
I first created 10000 people node
then I played around with the cache settings
and looked at the behaviour 
when multiple rmmci clients wheren accing the nodes
(max speed reached is 298 cache hits/s on a 5 minute average,
but the clients wheren only getting +- 60 nodes a second any idea why?)
the code does a peole.getList(null,null,null) and then iterates over the 
recieved nodes)

I would like to add more "stats"
-bridge stats
-database stats (queries/waiting times/active connections)
those are all very small changes. do people feel this is a good way to go?

what do you think of the stats?
can you help create good stats for mmbase?

PS the source code is located in cvs speeltuin/keesj/mrtg
and you nee d to create a servlet mapping from the MRTGServlet to /stats.db
a sample mmbase-mrtg.conf is also there
nice week-end :)

-- 
cat mozilla_rules
killall -9 mozilla-bin ;killall -9 mozilla-bin ;mozilla &


Reply via email to