MRTG的問題 - Linux

Table of Contents

不好意思,新手發問

最近在安裝MRTG,照著鳥哥的步驟走

從設定檔,到產出圖都正常沒有錯誤訊息

但使用其 indexmaker 有跑出這段問題

Use of uninitialized value $first in hash element at
/usr/local/mrtg-2.17.2/bin/indexmaker line 364.

拜google大神是有人說 將 my $first = $order[0];
改為
my $first = 127.0.0.1;

改了之後正常 但連到該網頁看不到流量圖

查看原始碼之後

* commandline was: /usr/local/mrtg-2.17.2/bin/indexmaker
--output=/var/www/html/mrtg/net/index.html --title=JustWhatIAm
/var/www/html/mrtg/net/mrtg.cfg */
/* sorry, no style, just abusing this to place the commandline and pass
validation */

但產出圖時沒有任何錯誤訊息阿

上網查還是沒什麼頭緒,請教各位大大 我該往哪麼方向思考呢

附上 mrtg.cfg

http://pastie.org/2330313

--

All Comments

Erin avatarErin2011-08-10
共29行??沒設要撈什麼資料 所以沒圖
Joseph avatarJoseph2011-08-15
是要加上 target那些嗎@@
Jacob avatarJacob2011-08-16
先用snmpwalk看能不能讀到東西