[mrtg] Specifying two IP adresses

Rowan Reid rreid at studio3arc.com
Wed Nov 20 02:46:06 MET 2002







How do I specify charts for two interfaces ... My config is below ...

cfgmaker --global 'WorkDir: /usr/local/httpd/htdocs/mrtg'            
         --global 'Options[_]: bits,growright'           
         --output /www/mrtg/cfg/mrtg.cfg             
           ifref=ip
           internal at 192.168.1.1   
           external at 65.45.76.66

 

eth0      Link encap:Ethernet  HWaddr 00:04:75:B1:3D:A9
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:894907 errors:0 dropped:0 overruns:11 frame:0
          TX packets:1183869 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:65534541 (62.4 Mb)  TX bytes:1539996587 (1468.6 Mb)
          Interrupt:11 Base address:0x6100

eth1      Link encap:Ethernet  HWaddr 00:04:75:B1:3D:6C
          inet addr:**.45.76.66  Bcast:**.45.76.71  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1254426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1165922 errors:0 dropped:0 overruns:0 carrier:0
          collisions:294 txqueuelen:100
          RX bytes:1408486194 (1343.2 Mb)  TX bytes:555044113 (529.3 Mb)
          Interrupt:10 Base address:0x6200

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1282 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:113331 (110.6 Kb)  TX bytes:113331 (110.6 Kb)


Rowan Reid
Job Captain, 
Systems Administrator
STUDIO 3 ARCHITECTS
909  982  1717

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list