天天看点

24.3. 监控多个设备

cfgmaker --global "HtmlDir: /var/www/mrtg" \

--global "ImageDir: /var/www/mrtg" \

--global "LogDir: /var/lib/mrtg" \

--global "ThreshDir: /var/lib/mrtg" \

--global "Options[_]: growright,bits"  \

--ifref=name --ifdesc=descr \

--subdirs=Dell6224 \

[email protected] \

--subdirs=Dell3548 \

[email protected] \

--subdirs=H3CS3600 \

[email protected] > /etc/mrtg/mrtg.cfg

indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg

原文出处:Netkiller 系列 手札

本文作者:陈景峯

转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

继续阅读