yum -y install gd gd-devel libpng libpng-devel zlib zlib-devel net-snmp net-snmp-utils mrtgchkconfig snmpd onecho "rocommunity monitoreo localhost" >> /etc/snmp/snmpd.confservice snmpd restartsnmpwalk -v1 -cmonitoreo localhostmkdir /var/www/html/mrtgcd /etc/mrtgrm -f mrtg.cfgwget http://www.sisargentina.com/downloads/directadmin/mrtg.cfgindexmaker --columns=2 --output=/var/www/html/mrtg/index.html /etc/mrtg/mrtg.cfgecho "*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok" >> /etc/crontab env LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok