Monit and munin

Discussion in 'General' started by admins, Oct 16, 2009.

  1. admins

    admins Member

  2. falko

    falko Super Moderator Howtoforge Staff

    Can you go to the monitoring directory and post the output of
    Code:
    ls -la
    ?
     
  3. autogun

    autogun New Member

    Exactly the same thing, munin is running for 12 hours now and my /mon dir is still empty.

    Code:
    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
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

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

    autogun New Member

    Thanks Falko,
    Works like a charm! ;D
     
  6. kelsen

    kelsen New Member

    Leveraging the topic, I can not access the page of munin, the browser show this message "You do not have permission to access /munin on this server" .

    Munin.conf
    dbdir /var/lib/munin
    htmldir /var/cache/munin/www
    logdir /var/log/munin
    rundir /var/run/munin

    [debTest01.localdomain]
    address 127.0.0.1
    use_node_name yes

    etc/apache2/conf.d/munin

    Alias ​​/ munin / var / cache / munin / www
    <Directory /var/cache/munin/www>
    Order allow, deny
    Allow from all
    None Options

    ls-la / var / cache / munin / www /
    total 32
    drwxr-xr-x 2 munin munin 4096 Oct 31 16:03.
    drwxr-xr-x 3 munin munin 4096 Oct 31 14:24 ..
    -rwxr-xr-x 1 munin munin 2555 Oct 31 14:25 definitions.html
    -rwxr-xr-x 1 munin munin 2046 Oct 31 14:25 favicon.ico
    -rwxr-xr-x 1 munin munin 31 Oct 1794 14:25 logo-h.png
    -rwxr-xr-x 1 munin munin 473 Oct 31 14:25 logo.png
    -rwxr-xr-x 1 munin munin 5351 Oct 31 14:25 style.css
     
  7. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls-la /var/cache/
    ?
     
  8. kelsen

    kelsen New Member

    Here:

    drwxr-xr-x 3 munin munin 4096 Out 31 14:24 munin
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Please post the full output.
     
  10. kelsen

    kelsen New Member

    I'm sorry, here is the output:

     
  11. falko

    falko Super Moderator Howtoforge Staff

    Permissions are ok. Did munin create any html files in /var/cache/munin/www? If not, please check if munin is running.
     
  12. kelsen

    kelsen New Member

    it has created this files:

     
  13. falko

    falko Super Moderator Howtoforge Staff

    There should also be an index.html file plus a directory for each host group you want to monitor.

    What's the output of
    Code:
    ps aux | grep munin
    ?
     
  14. kelsen

    kelsen New Member

    root@debTest01:~# ps aux | grep munin
    root 1646 0.0 0.4 41484 8312 ? Ss 08:49 0:00 /usr/sbin/munin-node
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Hm, it seems to be running. I'm not sure what is wrong on your system... :(
     
  16. kelsen

    kelsen New Member

    ok, thank you for your patience! :)
     

Share This Page