Configure Mrtg Settings

/usr/bin
./snmpwalk -v 2c -c <<snmp_string>> <<ip>

----------------------------------------------------

cfgmaker --global 'WorkDir: /var/www/mrtg' --global 'Options[_]: bits,growright' --output /etc/mrtg/<<ip>>.cfg string@ip

------------------------------------------------------

perl /usr/bin/indexmaker --output /var/www/mrtg/<sitename>.htm /etc/mrtg/<<ip>>.cfg

----------------------------------------------------------

LANG=C /usr/bin/mrtg /etc/mrtg/<<ip>>.cfg

------------------------------------------------------------

crontab -e
* * * * * LANG=C /usr/bin/mrtg /etc/mrtg/<<ip>>.cfg >/dev/null 2>&1
:wq

---------------------------------------------------------------

Comments

Popular posts from this blog

Upgrading the firmware on a standalone Fortigate unit or units in an HA cluster

Traffic Shaping With Fortigate