- 论坛徽章:
- 0
|
下面是debug模式下的错误信息:
RRDTool Command:
/usr/local/rrdtool-1.0.50/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
DEF:a="/usr/local/apache2/htdocs/cacti/rra/localhost_cpu_system_39.rrd":cpu_system:AVERAGE \
DEF:b="/usr/local/apache2/htdocs/cacti/rra/localhost_cpu_user_40.rrd":cpu_user:AVERAGE \
DEF:c="/usr/local/apache2/htdocs/cacti/rra/localhost_cpu_nice_38.rrd":cpu_nice:AVERAGE \
CDEF:cdefbc=TIME,1162533944,GT,a,a,UN,0,a,IF,IF,TIME,1162533944,GT,b,b,UN,0,b,IF,IF,TIME,1162533944,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#FF0000:"System" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
STACK:b#0000FF:"User" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" \
STACK:c#00FF00:"Nice" \
GPRINT:c:LAST:" Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbc#000000:"Total" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/usr/local/apache2/htdocs/cacti/rra/localhost_cpu_system_39.rrd': No such file or directory
然后我到rra目录下面没发现这个localhost_cpu_system_39.rrd' 这个文件。
而且在本机配置的那一也有这样的错误提示:
Localhost (127.0.0.1)
SNMP Information
SNMP not in use *Create Graphs for this Host
请问这是什么原因造成的? |
|