Looked around to find out if there is one already and I couldn’t find any.
I’ve created a multifunctional plugin for Munin for monitoring Cherokee server.
It’s written in Ruby. So far I can confirm that it’s compatible with Munin 1.3.4 and Cherokee 0.11.3 on Gentoo.
It gets data from the server_info module available under /about , which has to be set to at least normal.
Plugin graphs will appear under cherokee category and I believe it allows you to monitor multiple servers from single munin-node as it uses the host field.
Plugin can monitor :
- Number of connections, Active, Open and Reusable
- Number of modules Loaded
- Data Transferred by the Server
- Data Transfer rate, but this is just a concept as it doesn’t yield usable data after a while.
How to use it
Place it in directory like
/usr/local/lib/munin/plugins
add executable bit
chmod +x /usr/local/lib/munin/plugins/cherokee__type_.rb
link from /etc/munin/plugins
cd /etc/munin/plugins ln -s /usr/local/lib/munin/plugins/cherokee__type_.rb cherokee_hostname_type_conn ln -s /usr/local/lib/munin/plugins/cherokee__type_.rb cherokee_hostname_type_mod ln -s /usr/local/lib/munin/plugins/cherokee__type_.rb cherokee_hostname_type_data ln -s /usr/local/lib/munin/plugins/cherokee__type_.rb cherokee_hostname_type_rate
restart munin-node
/etc/init.d/munin-node restart
by Alvaro
10 Dec 2008 at 23:21
It sounds great. Good stuff!
Kudos to you
by Miguel Angel Ajo
11 Dec 2008 at 08:39
Wow, I’ve to try it
Great work Joe!!
by Taher
11 Dec 2008 at 10:18
Sweet!
I’ll have to give this a try
by Stefan de Konink
24 Dec 2008 at 13:43
http://tile.openstreetmap.nl/munin/localhost/localhost.html#Cherokee
Pingback
by Continuation » Munin Plugin for Cherokee monitoring update
13 Feb 2009 at 16:58
[...] to Download latest version , follow the link in Munin Cherokee plugin post [...]