201705.06
Désactivé
0

Munin

Checkyour linux version and Apache version :

  • lsb_release -a
  • apache2 : apachectl -V

Then follow :

https://www.howtoforge.com/tutorial/server-monitoring-with-munin-and-monit-on-ubuntu-14-04/

https://www.howtoforge.com/tutorial/server-monitoring-with-munin-and-monit-on-ubuntu-16-04-lts/

If you have Apache 2.2 (pre 2.4) from

https://doc.ubuntu-fr.org/munin

Do :

In : /etc/munin/apache.conf

replace : "Allow from localhost 127.0.0.1/8 ::1"

by :  "Allow from all".


My comment : on page https://www.howtoforge.com/tutorial/server-monitoring-with-munin-and-monit-on-ubuntu-16-04-lts/

Hi,

I need munin on 2 machines (mut301.clight.fr and mut302.clight.fr)

Initially I tried installing munin with https://doc.ubuntu-fr.org/munin which didn't work well. Then I found this (super, thanks) page. On both machines I did :


1)  apt-get remove munin munin-node munin-plugins-extra

2) Followed exactly the procedure on this page

My problem is that on mut301.clight.fr if looks in the wrong place for the graphs. For exemple the first graph link is :

src="/munin-cgi/munin-cgi-graph/clight.fr/mut301.clight.fr/apache_accesses-day.png"

The same graph on mut302, which works is :

src="../../clight.fr/mut302.clight.fr/apache_accesses-day.png"


Any idea what I'm missing ?