[volunteergrid2-l] stats gatherer

Christoph Langguth christoph at rosenkeller.org
Tue Mar 13 14:46:39 UTC 2012


Am 13.03.2012 03:43, schrieb Mike Lenzen:
> Chris,
>
> Would you be able to explain how you setup the total space available and
> space used graphs?  I've played around with the stock munin plugins that
> come with version 1.9.1, but haven't found any name/settings that give
> those two graphs.  The rest I have working.
>
Sure. I simply edited the tahoe_stats plugin thingy a bit. Specifically,
- I added a few stats which I found useful; you can essentially use any 
"metric" that appears in http://localhost:3456/statistics
- I changed the naming logic a bit
- for the space used/space free stats, I used AREASTACK type instead of 
LINE.
- for space available, I also added "warning" and "critical" thresholds, 
which is why it's currently in "critical" state (the red box around it)

It's essentially just another python program. Took me some time to 
understand how it all works, but once you got that, it's pretty 
powerful, and easy to modify so it displays the stats you want, the way 
you want them. I'm attaching the relevant files here.

Hope that helps...

@all: do you find the stats useful the way they are now, or would you 
like to see anything else added to them?

-- Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: munin-plugins.tar.bz2
Type: application/x-bzip
Size: 3234 bytes
Desc: not available
URL: <http://tahoe-lafs.org/cgi-bin/mailman/private/volunteergrid2-l/attachments/20120313/7d2f752a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6161 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://tahoe-lafs.org/cgi-bin/mailman/private/volunteergrid2-l/attachments/20120313/7d2f752a/attachment-0001.bin>


More information about the volunteergrid2-l mailing list