[mrtg] Help with MRTG and mibs please please?

Mike Bernhardt mbernhardt at arsin.com
Thu Jan 25 07:16:49 MET 2001


Hello,

 I'm new to MRTG and I've been trying to get it to do something more than
just bytes/bits in and out- to use other mibs in other words- and I can't
seem to get it to work. Unfortunately, the documentation doesn't make it
clear to an idiot like me how to build a proper customized cfg file.

I am including a cfg below that was created with cfgmaker and then modified.
It tries to look at an interface on a router. It works fine if I don't
specify the ifDiscardsIn [and Out] mibs in front of the "/" but it does
nothing as shown. Obviously, I have changed IP addresses and community
string here...

BTY, I am using mrtg and rrdtool on Win2000 and it works fine with
14all.cgi. Still working on routers.cgi.

What I'd like to know is
1. What needs to change to make this work?
2. Is it possible to have the same file poll more than 1 mib for an
interface and how?
3. Is it possible to get cfgmaker to build such a cfg file or is it more
trouble than it's worth?



# Created by 
# cfgmaker --global 'workdir:c:\program files\apache group\apache\rrdstuff'
--global 'options[_]:growright,bits' --ifref=ip XYZXYZ at 256.256.256.1
--output 'C:\program files\apache group\apache\rrdstuff\newarsin3.cfg'

WorkDir: c:\Program Files\Apache Group\apache\rrdstuff
PathAdd: c:\mrtg\bin
LogFormat: rrdtool
Options[_]: growright,bits
RunAsDaemon: yes

### Interface 2 >> Descr: 'Serial0' | Name: 'Se0' | Ip: '256.256.257.126' |
Eth: '' ###

Target[256.256.256.1_256.256.257.126]:
ifInDiscards/256.256.257.126&ifOutDiscards/256.256.257.126:XYZXYZ at 256.256.25
6.1:
SetEnv[256.256.256.1_256.256.257.126]: MRTG_INT_IP="256.256.257.126"
MRTG_INT_DESCR="Serial0"
MaxBytes[256.256.256.1_256.256.257.126]: 193000
Title[256.256.256.1_256.256.257.126]: Traffic Analysis for 256.256.257.126
-- router.arsin.com
PageTop[256.256.256.1_256.256.257.126]: <H1>Traffic Analysis for
256.256.257.126 -- router.arsin.com</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>router.arsin.com in Santa Clara</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Stephan</TD></TR>
   <TR><TD>Description:</TD><TD>Serial0 t1 </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ppp (23)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Se0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1544.0 kbits/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>256.256.257.126
(arsin-T1-our.isp.net)</TD></TR>
 </TABLE>

Thanks in advance,

Mike Bernhardt
Arsin Corporation
Email: mbernhardt at arsin.com


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