Option | Description |
---|---|
--ifref=ip | Identify each interface by its IP address. |
--ifref=eth | Use the Ethernet address to identify the interface. |
--ifref=descr | Use the interface description to identify the interface. |
--ifref=name | Use the interface name to identify the interface. |
Thus, to label interfaces with their IP addresses, run cfgmaker like so:
Be sure to read the cfgmaker manual that comes with the MRTG documentation.[root][linuxserver] ~/mrtg-2.9.10> cfgmaker --global 'WorkDir: /mrtg/images' \ --output /mrtg/run/mrtg.cfg --ifref=ip public@router
Copyright © 2002 O'Reilly & Associates. All rights reserved.