MRTG AND ETH

diego.veiga at embraer.com.br diego.veiga at embraer.com.br
Tue Mar 30 16:58:07 UTC 2004





Hi Guys,

I just install mrtg and apache in a redhat9 server.
By the mrtg and apache webserver I can see the status of the local eth0.

Now, how can I see the status of others ethx servers from my network using
the mrtg and apache redhat9 server ?

more eth0
#!/bin/awk -f
/eth0:/ { $0=substr($0,index($0,":")+1);
          print $1;print $9}

more mrtg.cfg
WorkDir: p_mrtg

Target[eth0]: `p_mrtg/eth0 /proc/net/dev`
Title[eth0]:"Status da interface eth0 "
PageTop[eth0]: <h1>Status da Interface: eth0 </h1>
MaxBytes[eth0]: 1250000
Options[eth0]: growright,bits,noinfo

I hope this is not so confusing.
regards,

Diego Brito Veiga
Technical Publications
Phone: +55 (12) 39274293
Fax: +55 (12) 39273342





More information about the redhat-list mailing list