我有一个问题使用munin(在Ubuntu 10.05 LTS上)。 没有图表可用。 而是显示图像占位符。 我尝试了不同的设置,但不起作用。 我用http://munin-monitoring.org/wiki/CgiHowto2来设置CGI。 我也尝试使用http://munin-monitoring.org/wiki/FAQ_no_graphsfind我的错误。
但是,仍然没有图表可用。 我的设置和日志和telnettesting: https : //gist.github.com/Bjoernsen/bd7b9ab506ac55748292
告诉我,如果我没有分享所有的信息
尝试直接打开“CGI图像”并检查源代码。 它必须是来自CGI的错误消息。
我find了原因,为什么/etc/apache2/sites-available/munin
没有改变影响服务器。 有一个从'/etc/apache2/conf.d/'文件链接到munin文件夹中的apache2.conf文件。 这个文件总是被使用,而不是我的设置文件。
现在,我的设置或多或less像http://munin-monitoring.org/wiki/CgiHowto2
真的有助于检查/var/log/munin
,并以debugging模式运行munin:
% munin-cron --debug > /tmp/munin-cron.debug 2>&1
我得到的错误是:
/usr/bin/perl: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: g_mutex_trylock
基于这个错误,我怀疑某种版本不匹配。 运行sudo yum update
(花了很长时间:-) munin开始工作。