Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Munin with VestaCP - Monitorize Apache.

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Trentor
Posts: 84
Joined: Fri Apr 25, 2014 6:42 pm

Munin with VestaCP - Monitorize Apache.
  • Quote

Post by Trentor » Thu May 11, 2017 7:23 pm

Hi there,

I need your help to configure Munin to analyze apache.

I have a default VestaCP configuration with apache + nginx, on CentOS 7.

I have no problems in Munin with nginx plugins, I've put the code below and it's working ok.
SpoilerShow

Code: Select all

/home/admin/conf/web/nginx.conf

Code: Select all

server {
    listen 127.0.0.1:80;
    server_name localhost;
    location /nginx_status {
        stub_status on;
        access_log   off;
        allow 127.0.0.1;
        deny all;
    }
}
The problem comes with Apache. I tried dozens of options but I can't make it work.

Of course, I've the apache-status module installed.

Is supposed that I have to put the code in:

Code: Select all

/etc/httpd/conf/httpd.conf

Code: Select all

<Location /server-status>
   SetHandler server-status
   Order Deny,Allow
   Deny from all
   Allow from 127.0.0.1
</Location>
But it's not working. No errors in Apache log, neither in Munin' log.

I'm also modified the code of the Munin Apache plugins:

Code: Select all

[apache_*]
     env.url   http://127.0.0.1:%d/server-status?auto
     env.ports 8080
Anyone could please help me with this problem?

Thanks!!
Top

Trentor
Posts: 84
Joined: Fri Apr 25, 2014 6:42 pm

Re: Munin with VestaCP - Monitorize Apache.
  • Quote

Post by Trentor » Thu May 11, 2017 8:52 pm

SOLVED

Apache was not listen in 127.0.0.1

Code: Select all

/etc/httpd/conf

Code: Select all

Listen 127.0.0.1:8080
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password