MRTG的問題 - Linux

By Liam
at 2011-08-06T22:31
at 2011-08-06T22:31
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
--
最近在安裝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
--
Tags:
Linux
All Comments

By Erin
at 2011-08-10T22:12
at 2011-08-10T22:12

By Joseph
at 2011-08-15T04:12
at 2011-08-15T04:12

By Jacob
at 2011-08-16T09:04
at 2011-08-16T09:04
Related Posts
Linus:「Gnome3太crazy啦,我跳Xfce了!」

By Kama
at 2011-08-06T14:41
at 2011-08-06T14:41
Oneiric Ocelot Alpha 3 Released

By Jacky
at 2011-08-06T12:32
at 2011-08-06T12:32
linux新手

By Kumar
at 2011-08-06T10:14
at 2011-08-06T10:14
Unix System Administrator Handbook 翻譯

By Hazel
at 2011-08-06T00:49
at 2011-08-06T00:49
搜尋檔案內容

By Andrew
at 2011-08-05T10:41
at 2011-08-05T10:41