PDA

View Full Version : Monit and munin


admins
16th October 2009, 14:28
Hi all

I used the howto: http://www.howtoforge.com/server_monitoring_with_munin_monit_debian_etch

Munin: I installed all things. no if I co to stats.domain/monitoring

It comes following: Forbidden You don't have permission to access /monitoring/ on this server.

How could I fix it?

Thanks
admins

falko
17th October 2009, 15:03
Can you go to the monitoring directory and post the output of ls -la?

autogun
18th October 2009, 14:11
Exactly the same thing, munin is running for 12 hours now and my /mon dir is still empty.

ls -la
total 16
drwxr-xr-x 2 munin munin 4096 2009-10-18 01:27 .
drwx--x--- 10 web1 client1 4096 2009-10-18 01:22 ..
-rw-r--r-- 1 root root 138 2009-10-18 01:27 .htaccess
-rw-r--r-- 1 root root 20 2009-10-18 01:27 .htpasswd

falko
19th October 2009, 15:05
Exactly the same thing, munin is running for 12 hours now and my /mon dir is still empty.

ls -la
total 16
drwxr-xr-x 2 munin munin 4096 2009-10-18 01:27 .
drwx--x--- 10 web1 client1 4096 2009-10-18 01:22 ..
-rw-r--r-- 1 root root 138 2009-10-18 01:27 .htaccess
-rw-r--r-- 1 root root 20 2009-10-18 01:27 .htpasswd

Please run a chmod 755 on the parent directory of the monitoring directory.

autogun
19th October 2009, 15:19
Thanks Falko,
Works like a charm! ;D