Howto Munin » History » Version 9

« Previous - Version 9/10 (diff) - Next » - Current version
icy, 2012-08-11 10:42

Howto Munin


Download this file: 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:

$ ln -s /usr/share/munin/plugins/lighttpd2 /etc/munin/plugins/lighttpd2_requests
$ ln -s /usr/share/munin/plugins/lighttpd2 /etc/munin/plugins/lighttpd2_traffic
$ ln -s /usr/share/munin/plugins/lighttpd2 /etc/munin/plugins/lighttpd2_statuscodes
$ ln -s /usr/share/munin/plugins/lighttpd2 /etc/munin/plugins/lighttpd2_connections

You need to enable mod_status in your config. Example config:

if req.path == "/status" {; }

Now restart your munin-node service and wait for the graphs to appear.

If you use a different URL for your status page, you'll need to put the following snippet
in your munin node config file (usually /etc/munin/plugin-conf.d/munin-node):

env.statusurl http://ip/other_status?format=plain

Screenshots View (5.56 KB) icy, 2010-06-12 17:05

lighttpd_connections-day.png (30.6 KB) icy, 2010-06-13 22:52

lighttpd_requests-day.png (16.4 KB) icy, 2010-06-13 22:52

lighttpd_traffic-day.png (19.4 KB) icy, 2010-06-13 22:52

lighttpd_statuscodes-day.png (22.2 KB) icy, 2010-06-15 19:01