Howto Munin » History » Revision 4
Revision 3 (icy, 2009-10-10 18:57) → Revision 4/10 (icy, 2009-10-10 19:04)
h1. Howto Munin h2. Installation Download this file: attachment:lighttpd2_munin.py and save it as "lighttpd" in the directory where all your munin plugins reside (usually this is /usr/share/munin/plugins/) and make it executeable (chmod +x). Then issue any of the following commands (with appropriate paths) to enable the graphs: <pre> $ ln -s /usr/share/munin/plugins/lighttpd /etc/munin/plugins/lighttpd_requests $ ln -s /usr/share/munin/plugins/lighttpd /etc/munin/plugins/lighttpd_connections $ ln -s /usr/share/munin/plugins/lighttpd /etc/munin/plugins/lighttpd_traffic </pre> You need to enable [[mod_status]] in your config. Example config: <pre> if req.path == "/status" { status.info; } </pre> If you use a different URL for your status page, you'll need to put adjust the following snippet STATUS_URL variable in your munin node config file (usually /etc/munin/plugin-conf.d/munin-node): <pre> [lighttpd_*] env.statusurl http://ip/other_status </pre> the script. h2. Screenshots !lighttpd_connections-day.png! !lighttpd_traffic-day.png! !lighttpd_requests-day.png!