Difference between revisions of "Mrtg"

From Teknologisk videncenter
Jump to: navigation, search
m
m
 
Line 3: Line 3:
 
*Data ''/var/log/mrtg''
 
*Data ''/var/log/mrtg''
  
 
+
=Crontab=
 
<source lang=cli>
 
<source lang=cli>
 
*/5 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg --logging /var/log/mrtg.log
 
*/5 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg --logging /var/log/mrtg.log

Latest revision as of 08:45, 31 March 2010

MRTG Homepage

  • Config /etc/mrtg/mrtg.conf
  • Data /var/log/mrtg

Crontab

*/5 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg --logging /var/log/mrtg.log

Configmaker

cfgmaker --ifref=name  public@172.16.0.5 >> /etc/mrtg/mrtg.cfg