The munin-cgi-html program is intended to be run from a web server. It can either run as CGI, or as FastCGI.
munin-cgi-html takes no options. It is controlled using environment variables.
The following environment variables are used to control the output of munin-cgi-html:
This is the remaining part of the URI, after the path to the munin-cgi-html script has been removed.
The group, host, service and timeperiod values are extracted from this variable. The group may be nested.
- refers to the top page.
- refers to the group page for “example.com” hosts.
- refers to the host page for “client.example.com” in the “example.com” group
When given an URI like the following: http://munin.example.org/munin-cgi/munin-cgi-html/example.org
munin-cgi-html will be called with the following environment:
To verify that munin is able to create HTML pages, you can use the following command line:
sudo -u www-data \ PATH_INFO=/example.org \ /usr/lib/munin/cgi/munin-cgi-html
See munin for an overview over munin.