歡迎您光臨本站 註冊首頁

CACTI基於APACHE、IIS都不能顯示圖像

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

CACTI基於APACHE、IIS都不能顯示圖像

各位大俠,我的CACTI不能顯示圖像.錯誤提示如下面,RRA目錄沒有生成的文件...


RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="WSUS - Traffic - 192.168.10.4 (Broadcom NetXtr)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/wsus_traffic_in_88.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/wsus_traffic_in_88.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/wsus_traffic_in_88.rrd': No such file or directory



日誌文件的錯誤是MYSQL的

04/05/2007 07:58:37 AM - CMDPHP: Poller ERROR: SQL Assoc Failed "select  snmp_query.id,  snmp_query.name,  snmp_query.xml_path  from (snmp_query,host_snmp_query)  where host_snmp_query.snmp_query_id=snmp_query.id  and host_snmp_query.host_id=  order by snmp_query.name"
04/05/2007 08:03:08 AM - CMDPHP: Poller ERROR: SQL Assoc Failed "select  graph_local.graph_template_id  from (graph_local,host_graph)  where graph_local.graph_template_id=host_graph.graph_template_id  and graph_local.host_id=host_graph.host_id  and graph_local.host_id=  group by graph_local.graph_template_id"
04/05/2007 08:03:08 AM - CMDPHP: Poller ERROR: SQL Assoc Failed "select  snmp_query.id,  snmp_query.name,  snmp_query.xml_path  from (snmp_query,host_snmp_query)  where host_snmp_query.snmp_query_id=snmp_query.id  and host_snmp_query.host_id=  order by snmp_query.name"
《解決方案》

你的templates選擇不對,不知道你要得到什麼樣設備值~

[火星人 ] CACTI基於APACHE、IIS都不能顯示圖像已經有566次圍觀

http://coctec.com/docs/service/show-post-35437.html