Edit config to reflect your working enviroment.
- add host to hosts
- ./make-cfg.sh
- ./update-host-cfg.sh
- ./start-mrtg.sh
- ./update-mrtg.sh
- ./make-index.sh
A one-liner. ./make-cfg.sh ; ./update-host-cfg.sh ; ./start-mrtg.sh ; ./update-mrtg.sh ; ./make-index.sh
Add update-mrtg.sh to crontab.
*/5 * * * * $PATH_TO_SCRIPTS/update-mrtg.sh > /dev/null
*/5 * * * * $PATH_TO_SCRIPTS/update-mrtg.sh > /dev/null 2>&1