munin only partially working
From my endless searching so far I have managed to find a way of getting debug output from muning which unfortunately does not help me much because as far as I know there is no official munin forums so what ever you find on google is what you get.
debug output:
2011/10/02 19:00:05 [DEBUG] Lock /var/run/munin/munin-update.lock already exists, checking process
2011/10/02 19:00:05 [DEBUG] Lock contained pid '1322'
2011/10/02 19:00:05 [DEBUG] kill -0 1322 worked - it is still alive. Locking failed.
2011/10/02 19:00:05 [FATAL ERROR] Lock already exists: /var/run/munin/munin-update.lock. Dying.
2011/10/02 19:00:05 at /usr/share/perl5/Munin/Master/Update.pm line 128
[FATAL ERROR] Lock already exists: /var/run/munin/munin-update.lock. Dying.
at /usr/share/perl5/Munin/Master/Update.pm line 128
I have found a ton of search results for "munin lock already exists" but no actual solutions.
Also my /var/log/munin/munin-update.log is filled with:
2011/10/02 20:15:02 [WARNING] Service diskstats_throughput on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvda_rdbytes
2011/10/02 20:15:02 [WARNING] Service diskstats_throughput on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvdb_wrbytes
2011/10/02 20:15:02 [WARNING] Service diskstats_latency on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvdb_avgwait
2011/10/02 20:15:02 [WARNING] Service diskstats_latency on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvda_avgwait
2011/10/02 20:15:02 [WARNING] Service diskstats_utilization.xvdb on localhost.localdomain/localhost.localdomain:4949 returned no data for label util
2011/10/02 20:15:02 [WARNING] Service diskstats_iops.xvda on localhost.localdomain/localhost.localdomain:4949 returned no data for label rdio
2011/10/02 20:15:02 [WARNING] Service diskstats_iops.xvda on localhost.localdomain/localhost.localdomain:4949 returned no data for label avgwrrqsz
2011/10/02 20:15:02 [WARNING] Service diskstats_iops.xvda on localhost.localdomain/localhost.localdomain:4949 returned no data for label wrio
2011/10/02 20:15:02 [WARNING] Service diskstats_iops.xvda on localhost.localdomain/localhost.localdomain:4949 returned no data for label avgrdrqsz
2011/10/02 20:15:02 [WARNING] Service diskstats_utilization.xvda on localhost.localdomain/localhost.localdomain:4949 returned no data for label util
2011/10/02 20:15:02 [WARNING] Service diskstats_utilization on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvdb_util
2011/10/02 20:15:02 [WARNING] Service diskstats_utilization on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvda_util
2011/10/02 20:15:02 [WARNING] Service diskstats_iops on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvdb_rdio
2011/10/02 20:15:02 [WARNING] Service diskstats_iops on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvda_wrio
2011/10/02 20:15:02 [WARNING] Service diskstats_iops on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvda_rdio
2011/10/02 20:15:02 [WARNING] Service diskstats_iops on localhost.localdomain/localhost.localdomain:4949 returned no data for label xvdb_wrio
My instalation method was exactly as instructed in the tutorial
I have been fighting with this for over a day and I think it is time I ask for some advice to see if someone more experienced than me has had a similar issue and can point me in the right direction.
4 Replies
Try:
munin-node-configure --suggest --remove-also --shell
This will output some shell script you can copy/paste to disable plugins that won't work and add other plugins that will work. Then, "service munin-node restart" to refresh.
ln -s '/usr/share/munin/plugins/exim_mailqueue' '/etc/munin/plugins/exim_mailqueue'
ln -s '/usr/share/munin/plugins/exim_mailstats' '/etc/munin/plugins/exim_mailstats'
# The following plugins caused errors:
# ip_:
# Nothing printed to stdout
# No valid suggestions
# postfix_mailqueue:
# Non-zero exit during autoconf (255)
# 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)
I know I should be enabling the exim plugin but I want to get the issues resolved first before adding more stuff.
As for the ones that would cause errors none of those are enabled.
I find more than a few plugins enable themselves if they think they can get data, but few actually try getting test data to be sure, so your plight is not uncommon.