• Munin Cherokee plugin

    by  • 7th December 2008 • post

    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


    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