[mrtg] Using MRTG to monitor MLPPP bundles, no graphs

rickard rs587 at hotmail.com
Mon Feb 24 21:45:49 MET 2003


Hi all

I am using MRTG to monitor my companys leased lines (E1's), it works
very well but sometimes we use MLPPP to bundle the E1's and i would
like to get MRTG to monitor the bundle, problem is that MRTG doesn't
graph the values for the bundles, but it does if i monitor an individual serial 
interface....I used Solarwinds Advanced Bandwidth monitor for a while
and it suceeded to print the values.

Heres my MRTG config for the MLPPP bundle (2*E1):

Workdir: /local/mrtg
Target[router_mlppp]: 1.3.6.1.2.1.2.2.1.10.22&1.3.6.1.2.1.2.2.1.16.22:public at 192.168.1.1
MaxBytes[router_mlppp]: 512
Title[router_mlppp]: Traffic Analysis for  Virtualtemplate 1  
PageTop[router_mlppp]: <H1>Traffic Analysis Virtualtemplate 1 </H1>

This is the MRTG config for an individual serial interface

Workdir: /local/mrtg
Target[router_mlppp]: 1.3.6.1.2.1.2.2.1.10.21&1.3.6.1.2.1.2.2.1.16.21:public at 192.168.1.1
MaxBytes[router_mlppp]: 256
Title[router_mlppp]: Traffic Analysis for  Virtualtemplate 1  
PageTop[router_mlppp]: <H1>Traffic Analysis Virtualtemplate 1 </H1>

I captured this with Tethereal:

(MLPPP snmp request)
########################################################################
Simple Network Management Protocol
    Version: 1
    Community: public
    PDU type: GET
    Request Id: 0x369bc776
    Error Status: NO ERROR
    Error Index: 0
    Object identifier 1: 1.3.6.1.2.1.2.2.1.10.22 (IF-MIB::ifInOctets.22)
    Value: NULL
    Object identifier 2: 1.3.6.1.2.1.2.2.1.16.22 (IF-MIB::ifOutOctets.22)
    Value: NULL
    Object identifier 3: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysUpTime.0)
    Value: NULL
    Object identifier 4: 1.3.6.1.2.1.1.5.0 (SNMPv2-MIB::sysName.0)
    Value: NULL

and the router returns this:

Simple Network Management Protocol
    Version: 1
    Community: public
    PDU type: RESPONSE
    Request Id: 0x70dbe3ff
    Error Status: NO ERROR
    Error Index: 0
    Object identifier 1: 1.3.6.1.2.1.2.2.1.10.22 (IF-MIB::ifInOctets.22)
    Value: Counter32: 1304657234
    Object identifier 2: 1.3.6.1.2.1.2.2.1.16.22 (IF-MIB::ifOutOctets.22)
    Value: Counter32: 3374915971
    Object identifier 3: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysUpTime.0)
    Value: Timeticks: (2684400) 7:27:24.00
    Object identifier 4: 1.3.6.1.2.1.1.5.0 (SNMPv2-MIB::sysName.0)
    Value: 3680

Individual serial i/f snmp request and response

Mrtg send this:

Simple Network Management Protocol
    Version: 1
    Community: public
    PDU type: GET
    Request Id: 0x13a1062c
    Error Status: NO ERROR
    Error Index: 0
    Object identifier 1: 1.3.6.1.2.1.2.2.1.10.21 (IF-MIB::ifInOctets.21)
    Value: NULL
    Object identifier 2: 1.3.6.1.2.1.2.2.1.16.21 (IF-MIB::ifOutOctets.21)
    Value: NULL
    Object identifier 3: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysUpTime.0)
    Value: NULL
    Object identifier 4: 1.3.6.1.2.1.1.5.0 (SNMPv2-MIB::sysName.0)
    Value: NULL

And gets this response from the router:

Simple Network Management Protocol
    Version: 1
    Community: public
    PDU type: RESPONSE
    Request Id: 0x4ad0edc2
    Error Status: NO ERROR
    Error Index: 0
    Object identifier 1: 1.3.6.1.2.1.2.2.1.10.21 (IF-MIB::ifInOctets.21)
    Value: Counter32: 2864467371
    Object identifier 2: 1.3.6.1.2.1.2.2.1.16.21 (IF-MIB::ifOutOctets.21)
    Value: Counter32: 1474355412
    Object identifier 3: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysUpTime.0)
    Value: Timeticks: (2712800) 7:32:08.00
    Object identifier 4: 1.3.6.1.2.1.1.5.0 (SNMPv2-MIB::sysName.0)
    Value: 3680


It seems like the response is ok, it returns values but MRTG does'nt seem to notice/store them..

(I don't use public as community string on my router, only in this example)

Thanks in advance

/Rickard

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