如果有人问及答案,我会道歉但是我已经在网上搜索过了,找不到任何有助于此的信息。
基本上我在多台centos 6.5机器上安装了Munin。他们都运作良好。但CGI图形(当您选择查看特定图表以放大和填充时)则不会。我们所看到的只是一张破碎的图像。
安装完全是ootb,几乎没有修改。 Munin和httpd的日志中都有一些错误:
穆宁-CGI-graph.log:
2014/10/15 10:41:05 [PERL WARNING] Use of uninitialized value $dom in concatenation (.) or string at /var/www/cgi-bin/munin-cgi-graph line 137.
2014/10/15 10:41:05 [PERL WARNING] Use of uninitialized value $host in concatenation (.) or string at /var/www/cgi-bin/munin-cgi-graph line 137.
2014/10/15 10:41:05 [PERL WARNING] Use of uninitialized value $serv in concatenation (.) or string at /var/www/cgi-bin/munin-cgi-graph line 137.
2014/10/15 10:41:05 [PERL WARNING] Use of uninitialized value $scale in concatenation (.) or string at /var/www/cgi-bin/munin-cgi-graph line 137.
2014/10/15 10:41:05 [PERL WARNING] Use of uninitialized value $scale in pattern match (m//) at /var/www/cgi-bin/munin-cgi-graph line 139.
2014/10/15 10:41:05 [WARNING] Request for graph without specifying domain. Bailing out.
httpd error.log:
[Wed Oct 15 11:18:16 2014] [warn] [client 10.77.98.119] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Wed Oct 15 11:18:16 2014] [error] [client 10.77.98.119] Premature end of script headers: munin-cgi-graph
Status: 404 Not Found
Content-Type: image/png
X-Munin-Pid: 24520
X-Munin-Request: 0/0
现在呼叫这个错误似乎从昨天开始改变了。我确实根据另一个论坛安装了mod_fcgid,但它仍然无法正常工作。但它似乎改变了错误。
我悲伤地撞到了这堵墙。我觉得这很容易(傻我!)。任何帮助都会非常棒!
干杯, 柳。