mdittmer
7th January 2009, 15:36
I recently installed munin to see how it runs on Ubuntu. I configured it to only monitor the machine it is running on (localhost.localdomain). It appears that both munin and munin-node are running properly, except no reports are showing up on munin's page. There is a page for localhost.localdomain but it contains no reports. Munin has been running for over a day now, and the generated by Munin message at the bottom suggests that it is updating at regular intervals.
Here is some relevant configuration information
munin.conf
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin
tmpldir /etc/munin/templates
graph_strategy cgi
[localhost.localdomain]
address 127.0.0.1
use_node_name yes
munin-node.conf
log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid
background 1
setseid 1
user root
group root
setsid yes
ignore_file ~$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
ignore_file \.pod$
allow ^127\.0\.0\.1$
host 127.0.0.1
port 4949
Munin virtual host configuration on Apache 2
EDIT: Fixed mismatch in cgi-bin location; still no success
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName munin
DocumentRoot /var/www/munin
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/munin/cgi-bin/
<Directory "/var/www/munin/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
As you can see, I'm attempting to configure Munin to use just-in-time reporting via CGI by following these instructions (http://munin.projects.linpro.no/wiki/CgiHowto) without bothering with fast CGI.
Any suggestions as to why Munin might appear to be doing its job but also appear to be configured to provide 0 reports?
Here is some relevant configuration information
munin.conf
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin
tmpldir /etc/munin/templates
graph_strategy cgi
[localhost.localdomain]
address 127.0.0.1
use_node_name yes
munin-node.conf
log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid
background 1
setseid 1
user root
group root
setsid yes
ignore_file ~$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
ignore_file \.pod$
allow ^127\.0\.0\.1$
host 127.0.0.1
port 4949
Munin virtual host configuration on Apache 2
EDIT: Fixed mismatch in cgi-bin location; still no success
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName munin
DocumentRoot /var/www/munin
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/munin/cgi-bin/
<Directory "/var/www/munin/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
As you can see, I'm attempting to configure Munin to use just-in-time reporting via CGI by following these instructions (http://munin.projects.linpro.no/wiki/CgiHowto) without bothering with fast CGI.
Any suggestions as to why Munin might appear to be doing its job but also appear to be configured to provide 0 reports?