[問題] MRTG的問題

看板Linux作者 (懶懶懶)時間14年前 (2011/08/06 22:32), 編輯推噓1(102)
留言3則, 3人參與, 最新討論串1/1
不好意思,新手發問 最近在安裝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 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.164.97.243 ※ 編輯: werbnm 來自: 218.164.97.243 (08/06 23:03)

08/06 23:12, , 1F
共29行??沒設要撈什麼資料 所以沒圖
08/06 23:12, 1F

08/06 23:16, , 2F
是要加上 target那些嗎@@
08/06 23:16, 2F

08/07 07:36, , 3F
先用snmpwalk看能不能讀到東西
08/07 07:36, 3F
文章代碼(AID): #1EFL1XjL (Linux)