Project

General

Profile

Actions

Howto Munin » History » Revision 3

« Previous | Revision 3/10 (diff) | Next »
icy, 2009-10-10 18:57


Howto Munin

Installation

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

$ 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

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

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

If you use a different URL for your status page, you'll need to adjust the STATUS_URL variable in the script.

Screenshots

Updated by icy almost 11 years ago · 3 revisions