- 论坛徽章:
- 0
|
目前状态:其他如cpu, 内存,磁盘等,都能正常显示图像,只有网卡的一律不显示,连背景都没有
环境:RHEL6 x64,软件都是yum安装的,NET-SNMP version: 5.5,RRDTool 1.3.x,PHP 5.3.2,Apache/2.2.15,
在下学艺不精,没啥思路,网上搜搜又说X64兼容问题,但我是yum安装的,应该没问题吧。看到一个rrdtool的错误
-------------------------------------------------------------------------------------------------------
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='edmond.cc - Traffic' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bytes per second' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
AREA:#00CF00FF:"Inbound" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
LINE1:#002A97FF:"Outbound" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: parameter '#00CF00FF' does not represent a number in line AREA:#00CF00FF:Inbound
--------------------------------------------------------------------------------------------------------------------------------------
现在比较晕,不知道如何入手,问题大概在哪个方向,其实是不理解这些工具是怎么协同的(PHP,RRDTOOL,MYSQL,SNMP)。rrdtool好像没什么调的吧? |
|