看板FreeBSD
标 题Re: 关於FreeBSD MRTG的问题
发信站东海大度山之恋 BBS 站 (Tue Jun 22 10:53:22 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.cis.nctu!dadusan
【 在
[email protected] (过端午的暑假) 的大作中提到: 】
: jong# indexmaker -title 'Jong Neflow' -output /usr/local/www/data/mrtg/index.htm
: l mrtg.jong
: ERROR: "WorkDir" not specified in mrtg config file
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: 出现了上面的讯息
不是写的很清楚吗 ? 在 mrtg 的 config 档里面要有 WorkDir 的设定
: mrtg.jong档
: -----------------------------------------------------------
: ### Global Config Options
: # for UNIX
: # WorkDir: /home/http/mrtg
^ 拿掉这个 , 并确定後面的路径是你要的...
: # or for NT
: # WorkDir: c:\mrtgdata
: ### Global Defaults
: # to get bits instead of bytes and graphs growing to the right
: # Options[_]: growright, bits
: EnableIPv6: no
: ######################################################################
: # System:
: # Description:
: # Contact:
: ------------------------------------------------
: snmpd.conf档
: ----------------------------------------
: # for UNIX
: WorkDir:/usr/local/www/data/mrtg/
: #Global Defaults
: # to get bits instead of bytes and graphs growing to the right
: Options[_]:growright,bits
: Language:big5
: WithPeak[_]:wmy
: roCommunity jong
这个 snmpd.conf 设定档 ... 不对哦 :)
--
※ 来源:‧大度山之恋 bbs.thu.edu.tw‧[FROM: 220-134-60-125.]