查看完整版本: 修正 MRTG: Use of Uninitialized Value $first 的bug


camry 2015-2-6 18:14

修正 MRTG: Use of Uninitialized Value $first 的bug

今天在 centos 6.6 上面安裝 mrtg 時.遇到下面的錯誤<br><br># indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg<br>Use of uninitialized value $ first in hash element at / usr / bin / indexmaker line 353<br><br>這時候需要修正 indexmaker<br># vi&nbsp; /usr/bin/indexmaker<br>[quote]<br>Change:<br>my $ first = $ order [0];<br>To :<br>my $ first = 127.0.0.1<br>[/quote]<br><br>然後重新啟動 snmpd 就可以了~~<br>
頁: [1]
查看完整版本: 修正 MRTG: Use of Uninitialized Value $first 的bug