|
From: Moses M. <mo...@mo...> - 2007-11-06 14:03:11
|
Villem Alari wrote: > I would like to monitor apache with apache_volume plugin but sudo > munin-node-configure --suggest says: > > apache_volume | no | [no apache server-status or > ExtendedStatus missing on ports 80] > > What that means and how can I overcome it? This is really an Apache question, not a munin question, but I think it is simple to answer so I will try. [Note to others: is all this documented somewhere? Should I have told Villem to 'read the friendly manual' instead?] Apache httpd web server may come with a modules called 'mod_status', which allows you to see a webpage that reports on the current status of the httpd processes. Usually the URI for this special page is '/server-status', and the munin-node plugin expects to see this special page at "http://127.0.0.1/server-status" (you won't be able to see this page from any page other than the web server computer itself, because "127.0.0.1" means "myself" in internet protocol) Many default installations of apache httpd web server do not have the 'mod_status' enabled by default, even though the module is availible. In your web server's configuration file, look for a section like this: #<Location /server-status> # SetHandler server-status # Order deny,allow # Deny from all # Allow from .example.com #</Location> Remove the '#' marks at the begining of each line, and change the "Allow from .example.com" to "Allow from 127.0.0.0/8". Also look for a line that looks like this: #ExtendedStatus On And uncomment (remove the '#' mark from the start) this line too. Then restart the httpd daemon to re-load the new configuration settings. The munin-node plugins will find "http://127.0.0.1/server-status" where it expects to find it, and the 'ExtendedStatus' will add more information to this special page that the munin-node plugins can use for better performance measurements. |