[mrtg] 64 bit counter and vlans

MrPaul mrpaular at gmail.com
Fri Nov 16 15:50:27 CET 2007


What do you get when you do a snmpget on the following OIDs.

ifInOctets.366
ifOutOctets.366
ifHCInOctets.366
ifHCOutOctets.366

If using Net-SNMP the command is snmpget -v2c -c COMMUNITY ADDRESS
ifInOctets.366

Paul

On Nov 15, 2007 3:50 PM, gregorcy <gregorcy at eng.utah.edu> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I am trying to graph VLAN's on my routers and I am running into problems.
>  MRTG seems to sees the VLAN as an interface
> and but when it graphs it is graphing 0.  I looked through the archives
> and it looks like I need to enable 64 bit
> counters, I did that (at least I think I did) and I am still getting the
> same result.  This is a sample of my config, if
> anybody sees something I did wrong please let me know.
>
> I added the :::::2 at the end of the target is that all I need to do to
> enable 64 bit counters.
>
> > ### Interface 366 >> Descr: 'v110' | Name: 've110' | Ip: 'x.x.x.x' |
> Eth: '' ###
> >
> > Target[ROUTER_366]: 366:STRING at MYROUTER.edu:::::2
> > SetEnv[ROUTER_366]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="v110"
> > MaxBytes[ROUTER_366]: 125000000
> > Title[ROUTER_366]: Traffic Analysis for 366 -- ROUTER
> > PageTop[ROUTER_366]: <h1>Traffic Analysis for 366 -- ROUTER</h1>
> >                 <div id="sysdetails">
> >                         <table>
> >                                 <tr>
> >                                         <td>System:</td>
> >                                         <td>M 3555</td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td>Maintainer:</td>
> >                                         <td>NOSPAM</td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td>Description:</td>
> >                                         <td>v110 ve_emrl </td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td>ifType:</td>
> >                                         <td>Layer 2 Virtual LAN using
> 802.1Q (135)</td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td>ifName:</td>
> >                                         <td>ve110</td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td>Max Speed:</td>
> >                                         <td>1000.0 Mbits/s</td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td>Ip:</td>
> >                                         <td>IP ()</td>
> >                                 </tr>
> >                         </table>
> >                 </div>
>
>
> - --Brian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHPL8uVUgmzOrz1gcRAr3YAJ0UKcgTaqRsaQpIhdLeHdvGLlK/nQCeOoh4
> q8BygOCs+p+ZasrXPKEKZiY=
> =AaGp
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20071116/7aabe442/attachment.html 


More information about the mrtg mailing list