我在我的3台服务器上默认配置了munin节点,我想要创建一个显示总输出带宽的概要图。
下面是我在minin.conf所做的工作:
[example.com;aggregation]
update no
total_bandwidth.graph_title Aggregated bandwidth
total_bandwidth.upload.label upload
total_bandwidth.upload.sum \
serv1.example.com:if_eth0:up \
serv2.example.com:if_eth0:up \
serv3.example.com:if_eth0:up
但它不起作用,我只得到破碎的图像,而不是图表。在munin-graph.log中:
[RRD ERROR] Unable to graph /var/www/munin/example.com/aggregation/total_bandwidth-month.png : opening '': No such file or directory
在http://waste.mandragor.org/munin_教程/munin.html之后,我已经尝试过,wich不能更好地工作:
[example.com;aggregation]
update no
total_bandwidth.graph_title Our total bandwidth
total_bandwidth.out.sum example.com;serv1.example.com:if_eth0:up example.com;serv2.example.com:if_eth0:up
total_bandwidth.out.draw STACK
total_bandwidth.out.label Out bandwidth
total_bandwidth.in.sum example.com;serv1.example.com:if_eth0:down example.com;serv2.example.com:if_eth0:down
total_bandwidth.in.draw STACK
total_bandwidth.in.label In bandwidth
发布于 2013-12-23 21:02:40
只需用if_eth0:down
替换if_eth0.down
即可。
https://serverfault.com/questions/498079
复制相似问题