|
相必你曾经用过Mrtg,现我有问题向你求助,望答复。 谢谢!
按照http://www.linuxsir.cn/bbs/showthr...安装mrtg,在输入
./indexmaker --output=/var/www/html/mrtg/net/index.html --title=Sonic /var/www/html/mrtg/mrtg.cfg
后出现如下错误:
Possible precedence problem on bitwise | operator at /usr/bin/../lib/mrtg2/BER.pm line 601.
Can't locate package $VERSION for @MRTG_lib::ISA at ./indexmaker line 49
main::BEGIN() called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49
eval {...} called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49
其中mrtg.cfg文件如下:
# Created by
# /usr/bin/cfgmaker --output=/var/www/html/mrtg/mrtg.cfg public@210.41.84.72
### Global Config Options
# for UNIX
WorkDir: /var/www/html/mrtg/
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
# Language:GB2312
######################################################################
# System: landk
# Description: Linux landk 2.4.20-8bigmem #1 SMP Thu Mar 13 17:32:29 EST 2003 i686
# Contact: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (edit /etc/snmp/snmpd.conf)
###################################################################### |
|