I'm running mrtg on ubuntu to monitor my Cisco switches, and it works fine for one device. However, when I attempt to add a second switch, the index.html file created by mrtg only shows me information regarding the latest switch added, and not both switches together.
I use the following commands to add a new device...
cfgmaker --global 'WorkDir:/var/www/mrtg' --global 'Options[_]: bits,growright' --output /etc/mrtg/mrtg.cfg public@<ip address of my switch> env LANG=C mrtg /etc/mrtg/mrtg.cfg indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg
But whenever I add a new device this way, the /var/www/mrtg/index.html file only displays details of the last added device, not an accumulation of all devices.
Any advice greatly appreciated.