很久以来我一直在使用 munin 来监控我的服务器(Ubuntu 14.04 LTS 和 Plesk Onyx、Apache/2.4.10、nginx/1.11.4)。它可以很好地向我展示所有 apache 图表(访问、进程、卷)。
昨天我在 plesk 上安装了 nginx 反向代理来提高性能。这适用于我的网站,我也可以在 munin 上监控 nginx。
但是apache图表停止了。因为 apache 现在侦听端口 7080,所以我将其添加到 munin-node.conf:
[apache_*]
env.url http://public-server-url:7080/server-status
env.ports 7080
打开或正常工作http://public-server-url:7080/server-status
,我一如既往地获得服务器状态页面。curl
lynx
现在我在运行时收到此错误munin-run apache_accesses autoconf
:
no (ExtendedStatus option for apache mod_status is missing on port 7080)
但是 ExtendedStatus 选项设置为On
in /etc/apache2/mods-enabled/status.conf
。
我忘记了什么?在我添加 nginx 反向代理之前它运行良好,但这不能更改 apache mods conf?