swup --install mrtg
vi /etc/httpd/conf.d/httpd-mrtg.conf (將必要的行頭 # 拿掉)
vi /etc/mrtgd/mrtg.conf (把要監控的部分, 留下, 其餘的加上 # 註解掉)
執行 indexmaker --output /home/httpd/sites/mrtg/index.html /etc/mrtg/mrtg.conf
(會建立一個 index.html 檔, 必要時可以修改)
chkconfig mrtgd on
service mrtgd start
|