Nachdem ich durch eine Neuinstallation von Debian Lenny zu Debian Squeeze gewechselt bin, funktioniert das nun installierte Munin nicht mehr. Ich habe es ganz normal vom Paketserver geladen:
aptitude install munin munin-node
Allerdings ist es so, dass der Cronjob nicht automatisch gestartet wird, so dass von selbst keine Grafiken erstellt werden. Starte ich den Cronjob manuell, läuft er ganz normal durch, bringt keinerlei Fehlermeldung und auch Grafiken werden im richtigen Ordner erstellt. Diese zeigen allerdings keine Werte an.
Die Konfiguration sieht so aus:
apache.conf
<Directory /var/cache/munin/www>
Order allow,deny
Allow from all
Options All
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault M310
</IfModule>
</Directory>
Alles anzeigen
munin.conf:
munin-node.conf:
log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid
background 1
setsid 1
user root
group root
ignore_file ~$
ignore_file DEADJOE$
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$
port 4949
Alles anzeigen
In den Log-Dateien steht folgendes:
==> munin-graph.log <==
2011/05/24 18:50:16 Opened log file
2011/05/24 18:50:16 Starting munin-graph
2011/05/24 18:50:16 Graphed service : open_inodes (0.11 sec * 4)
2011/05/24 18:50:16 Graphed service : entropy (0.15 sec * 4)
2011/05/24 18:50:16 Graphed service : if_eth0 (0.17 sec * 4)
2011/05/24 18:50:16 Graphed service : if_err_eth0 (0.18 sec * 4)
2011/05/24 18:50:16 Graphed service : processes (0.21 sec * 4)
2011/05/24 18:50:16 Graphed service : users (0.13 sec * 4)
2011/05/24 18:50:16 Graphed service : interrupts (0.12 sec * 4)
2011/05/24 18:50:16 Graphed service : postfix_mailqueue (0.20 sec * 4)
2011/05/24 18:50:16 Graphed service : df (0.17 sec * 4)
2011/05/24 18:50:16 Graphed service : swap (0.13 sec * 4)
2011/05/24 18:50:16 Graphed service : uptime (0.16 sec * 4)
2011/05/24 18:50:16 Graphed service : load (0.15 sec * 4)
2011/05/24 18:50:16 Graphed service : irqstats (0.48 sec * 4)
2011/05/24 18:50:16 Graphed service : postfix_mailvolume (0.13 sec * 4)
2011/05/24 18:50:16 Graphed service : df_inode (0.15 sec * 4)
2011/05/24 18:50:16 Graphed service : cpu (0.19 sec * 4)
2011/05/24 18:50:16 Graphed service : threads (0.14 sec * 4)
2011/05/24 18:50:16 Graphed service : open_files (0.12 sec * 4)
2011/05/24 18:50:16 Munin-graph finished (0.61 sec)
2011/05/24 18:50:16 Graphed service : proc_pri (0.17 sec * 4)
2011/05/24 18:50:16 Graphed service : forks (0.15 sec * 4)
2011/05/24 18:50:16 Graphed service : munin_stats (0.13 sec * 4)
2011/05/24 18:50:16 Graphed service : memory (0.22 sec * 4)
2011/05/24 18:50:16 Graphed service : fw_packets (0.13 sec * 4)
==> munin-html.log <==
2011/05/24 18:50:17 Opened log file
2011/05/24 18:50:17 [INFO] copied style.css into /var/cache/munin/www
2011/05/24 18:50:17 [INFO] copied logo.png into /var/cache/munin/www
2011/05/24 18:50:17 [INFO] copied logo-h.png into /var/cache/munin/www
2011/05/24 18:50:17 [INFO] copied definitions.html into /var/cache/munin/www
2011/05/24 18:50:17 [INFO] copied favicon.ico into /var/cache/munin/www
2011/05/24 18:50:17 [INFO] Starting munin-html, getting lock /var/run/munin/munin-html.lock
2011/05/24 18:50:17 [INFO] Releasing lock file /var/run/munin/munin-html.lock
2011/05/24 18:50:17 [INFO] munin-html finished (0.26 sec)
==> munin-limits.log <==
2011/05/24 18:50:16 Opened log file
2011/05/24 18:50:16 [INFO] Starting munin-limits, getting lock /var/run/munin/munin-limits.lock
2011/05/24 18:50:16 [INFO] munin-limits finished (0.00 sec)
==> munin-node-configure.log <==
# diskstats:
# Non-zero exit during autoconf (1)
# postgres_bgwriter:
# Non-zero exit during autoconf (255)
# postgres_cache_:
# Non-zero exit during autoconf (255)
# postgres_checkpoints:
# Non-zero exit during autoconf (255)
# postgres_connections_:
# Non-zero exit during autoconf (255)
# postgres_connections_db:
# Non-zero exit during autoconf (255)
# postgres_locks_:
# Non-zero exit during autoconf (255)
# postgres_querylength_:
# Non-zero exit during autoconf (255)
# postgres_scans_:
# Non-zero exit during autoconf (255)
# postgres_size_:
# Non-zero exit during autoconf (255)
# postgres_transactions_:
# Non-zero exit during autoconf (255)
# postgres_tuples_:
# Non-zero exit during autoconf (255)
# postgres_users:
# Non-zero exit during autoconf (255)
# postgres_xlog:
# Non-zero exit during autoconf (255)
# tomcat_:
# Non-zero exit during autoconf (127)
==> munin-node.log <==
Process Backgrounded
2011/05/24-18:45:57 Munin::Node::Server (type Net::Server::Fork) starting! pid(1385)
Binding to TCP port 4949 on host *
2011/05/24-18:47:13 Server closing!
Process Backgrounded
2011/05/24-18:47:13 Munin::Node::Server (type Net::Server::Fork) starting! pid(3000)
Binding to TCP port 4949 on host *
2011/05/24-18:50:13 CONNECT TCP Peer: "127.0.0.1:36146" Local: "127.0.0.1:4949"
==> munin-update.log <==
2011/05/24 18:50:16 [ERROR] Tuning type of '/var/lib/munin/localdomain/localhost.localdomain-users-pts-g.rrd' to 'GAUGE' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring max of '/var/lib/munin/localdomain/localhost.localdomain-users-pts-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning max of '/var/lib/munin/localdomain/localhost.localdomain-users-pts-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring min of '/var/lib/munin/localdomain/localhost.localdomain-users-pts-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning min of '/var/lib/munin/localdomain/localhost.localdomain-users-pts-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring type of '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd' is 'GAUGE'.
2011/05/24 18:50:16 [ERROR] Tuning type of '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd' to 'GAUGE' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring max of '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning max of '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring min of '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning min of '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring type of '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd' is 'GAUGE'.
2011/05/24 18:50:16 [ERROR] Tuning type of '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd' to 'GAUGE' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring max of '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning max of '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring min of '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning min of '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring type of '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd' is 'GAUGE'.
2011/05/24 18:50:16 [ERROR] Tuning type of '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd' to 'GAUGE' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring max of '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning max of '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO]: Config update, ensuring min of '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd' is 'U'.
2011/05/24 18:50:16 [ERROR] Tuning min of '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd' to 'U' failed.
2011/05/24 18:50:16 [INFO] creating rrd-file for users->pty: '/var/lib/munin/localdomain/localhost.localdomain-users-pty-g.rrd'
2011/05/24 18:50:16 [INFO] creating rrd-file for users->pts: '/var/lib/munin/localdomain/localhost.localdomain-users-pts-g.rrd'
2011/05/24 18:50:16 [INFO] creating rrd-file for users->other: '/var/lib/munin/localdomain/localhost.localdomain-users-other-g.rrd'
2011/05/24 18:50:16 [INFO] creating rrd-file for users->X: '/var/lib/munin/localdomain/localhost.localdomain-users-X-g.rrd'
2011/05/24 18:50:16 [INFO] creating rrd-file for users->tty: '/var/lib/munin/localdomain/localhost.localdomain-users-tty-g.rrd'
2011/05/24 18:50:16 [INFO] Reaping Munin::Master::UpdateWorker<localdomain;localhost.localdomain>. Exit value/signal: 0/0
2011/05/24 18:50:16 [INFO]: Munin-update finished (2.56 sec)
Alles anzeigen
Ich bin mit meinem Latein am Ende und weiß nicht mehr, was ich ändern soll.
Die Berechtigungen stimmen, die Konfigurations-Dateien decken sich auch mit denen, die ich sonst so im Internet finde und geladen werden nur die Standard-Plugins, die bei der Installation dabei sind.
Es wäre super, wenn mir hier jemand helfen könnte ![]()