[mrtg] dealing with transient interfaces, and adding several transients, how to ?

Voytek Eymont voytek at sbt.net.au
Sun Apr 16 20:33:13 MEST 2000


I have a system acting as a 'terminal server', it's a PC with multi i/o
cards and a bunch of analogue modems attached to com ports.

I would like to mrtg all these PPP sesions, individually, and, all together
as well.

 *when* there are calls/PPP sessions estabilished, mrtg can see
these 'transient' interfaces, and, charts them properly.

trouble is,, IF an interface is running at, say, 1000 b/s, and, at next
pass, after 5 minutes, the session is disconnect/gone, then, on subsequent
passes, mrtg doesn't see that i/f, UNITL another PPP sesion is
estabilished, then I end up with a horizontal 1000 b/s line in between
these two sessions.

is there a way to 'drop' reading to zero when an interface 'dissapeared',
rather, than 'extrapolate' it at last know reading ....?

also, my 'SUM of I/F' fails to chart, unless all targets exists, is there a
way to sum up 'only the i/f that exist, up to maximun of all exists ?

mrtg 2.8.8

mrtg.ppp has:
=========================
# this charts OK
Target[ts.sbt.net.au]: 1:my-pass at ts.sbt.net.au
MaxBytes[ts.sbt.net.au]: 1250000
Title[ts.sbt.net.au]: echidna.sbt.net.au (ts.sbt.net.au): DIX+802.3
PageTop[ts.sbt.net.au]: <H1>Traffic Analysis for DIX+802.3
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>ts.sbt.net.au in Chippendale,
NSW</TD></TR>    <TR><TD>Maintainer:</TD><TD>admin at sbt.net.au</TD></TR>
   <TR><TD>Interface:</TD><TD>DIX+802.3 (1)</TD></TR>
   <TR><TD>IP:</TD><TD>ts.sbt.net.au (203.41.6.3)</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>

#---------------------------------------------------------------
# this doesn't chart
Target[ts.sbt.net.au.ppp]: 2:my-pass at ts.sbt.net.au
 				+ 3:my-pass at ts.sbt.net.au
 				+ 4:my-pass at ts.sbt.net.au
	 			+ 5:my-pass at ts.sbt.net.au
 				+ 6:my-pass at ts.sbt.net.au
				+ 7:my-pass at ts.sbt.net.au
MaxBytes[ts.sbt.net.au.ppp]: 28800
Title[ts.sbt.net.au.ppp]: echidna.sbt.net.au (): Serial Interface ppp0-ppp6
PageTop[ts.sbt.net.au.ppp]: <H1>Traffic Analysis for All Serial Interfaces ppp0-ppp6
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>ts.sbt.net.au in Chippendale,
NSW</TD></TR>    <TR><TD>Maintainer:</TD><TD>admin at sbt.net.au</TD></TR>
   <TR><TD>Interface:</TD><TD>All Serial Interfaces ppp0-ppp6 </TD></TR>
   <TR><TD>IP:</TD><TD> ()</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>28800.0 Bytes/s (slip)</TD></TR>
  </TABLE>

#---------------------------------------------------------------
# this charts OK WHEN that session exist

Target[ts.sbt.net.au.2]: 2:my-pass at ts.sbt.net.au
MaxBytes[ts.sbt.net.au.2]: 4800
Title[ts.sbt.net.au.2]: echidna.sbt.net.au (): Serial Interface ppp0
PageTop[ts.sbt.net.au.2]: <H1>Traffic Analysis for Serial Interface ppp0
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>ts.sbt.net.au in Chippendale,
NSW</TD></TR>    <TR><TD>Maintainer:</TD><TD>admin at sbt.net.au</TD></TR>
   <TR><TD>Interface:</TD><TD>Serial Interface ppp0 (2)</TD></TR>
   <TR><TD>IP:</TD><TD> ()</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>4800.0 Bytes/s (slip)</TD></TR>
  </TABLE>


#---------------------------------------------------------------

# several more as above

Voytek Eymont
SBT Information Systems Pty Ltd
http://www.sbt.net.au/links/
phone +61-2 9310-1144 fax +61-2 9310-1118 

--
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



More information about the mrtg mailing list