Created
May 29, 2017 07:30
-
-
Save auycro/59c9d0e0e47dafb1305c4fa262664911 to your computer and use it in GitHub Desktop.
MRTG + SNMP Setting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snmpwalk -v 2c -c public 192.168.xx.xxx 1 | |
cfgmaker [email protected].xx.xxx > /var/www/mrtg/192.168.xx.xxx.cfg | |
vi /var/www/mrtg/192.168.xx.xxx.cfg | |
env LANG=C /usr/bin/mrtg /var/www/mrtg/192.168.xx.xxx.cfg | |
env LANG=C /usr/bin/mrtg /var/www/mrtg/192.168.xx.xxx.cfg | |
env LANG=C /usr/bin/mrtg /var/www/mrtg/192.168.xx.xxx.cfg | |
vi /etc/cron.d/mrtg | |
indexmaker /var/www/mrtg/192.168.xx.xxx.cfg > /var/www/mrtg/192.168.xx.xxx.html | |
vi /var/www/mrtg/192.168.xx.xxx.html | |
vi /var/www/mrtg/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment