From: Lupe C. <lu...@lu...> - 2010-09-29 08:26:00
|
On Tuesday, 2010-09-28 at 14:50:33 -0700, Jonathan Wiggins wrote: > I was able to confirm via another system, that has correct apache stats, via lynx, and got successful return. But when I try this from either of the web servers that is missing stats, I get a quick HTTP 1.1 / 403 Forbidden > I have checked the httpd.conf on 1 of the web servers and found this directive: > # This is for Munin Apache counters > ExtendedStatus On > <Location /server-status> > SetHandler server-status > Order Deny,Allow > Deny from all > Allow from 127.0.0.1 > Allow from 10.0.100.135 (( * question -- this IP on this line,. should be the hosts IP, or the Munin server IP? * )) > </Location> You dug yourself in a hole here by changing the default URL as we saw in the debug output: > *# Environment url = http://10.0.100.139:%d/server-status?auto* The plugin normally uses 127.0.0.1 to access server-status so if you hadn't changed the URL you would have been fine. As I said, the above sans the "Allow from 10.0.100.135" is the Apache dafault and it is sufficient for Munin. So don't touch the Apache config, change the plugin conf and verify with munin-debug. When it works, restart munin-node. HTH, Lupe Christoph PS: The technical term for this kind of problem is PEBKAC. http://ars.userfriendly.org/cartoons/?id=20100925&mode=classic SCNR. -- | It is a well-known fact in any organisation that, if you want a job | | done, you should give it to someone who is already very busy. | | Terry Pratchett, "Unseen Academicals" | |