MRTG and multiple IPs per device
server has:eth0 ip1
eth0:0 ip2
eth0:1 ip2
...
eth0:9 ip9
If I have cfgmaker create my mrtg.cfg it selects the last IP to use in its graphs for device eth0... I am using:
cfgmaker --output=/etc/mrtg/mrtg.cfg --global "workdir: /var/www/mrtg" --ifref=ip --global 'options[_]: growright,bits' public@localhost
how can I tell cfgmaker to always use eth0 ('main ip') instead of any of its aliases?