Cisco 837 - MRTG - monitoring SNR?

Discussion in 'Cisco' started by Jim Willsher, May 7, 2006.

  1. Jim Willsher

    Jim Willsher Guest

    Hi all,

    On the Cisco 837, is it possible to monitor SNR via an OID, using
    MRTG? I can't find an OID which a) looks like it will work, and b)
    does work!

    All help appreciated.



    Jim
     
    Jim Willsher, May 7, 2006
    #1
    1. Advertising

  2. Jim Willsher wrote:
    > Hi all,
    >
    > On the Cisco 837, is it possible to monitor SNR via an OID, using
    > MRTG? I can't find an OID which a) looks like it will work, and b)
    > does work!
    >
    > All help appreciated.
    >
    >
    >
    > Jim


    Local Attn.
    ..1.3.6.1.2.1.10.94.1.1.3.1.5.14
    Remote Attn.
    ..1.3.6.1.2.1.10.94.1.1.2.1.5.14
    Local SNR.
    ..1.3.6.1.2.1.10.94.1.1.3.1.4.14
    Remote SNR.
    ..1.3.6.1.2.1.10.94.1.1.2.1.4.14

    Hope this helps.

    Kelvin.


    *** Posted via a free Usenet account from http://www.teranews.com ***
     
    Kelvin J. Hill, May 8, 2006
    #2
    1. Advertising

  3. Jim Willsher

    Jim Willsher Guest

    On Mon, 08 May 2006 08:16:25 +0100, "Kelvin J. Hill"
    <> wrote:

    >Jim Willsher wrote:
    >> Hi all,
    >>
    >> On the Cisco 837, is it possible to monitor SNR via an OID, using
    >> MRTG? I can't find an OID which a) looks like it will work, and b)
    >> does work!
    >>
    >> All help appreciated.
    >>
    >>
    >>
    >> Jim

    >
    >Local Attn.
    >.1.3.6.1.2.1.10.94.1.1.3.1.5.14
    >Remote Attn.
    >.1.3.6.1.2.1.10.94.1.1.2.1.5.14
    >Local SNR.
    >.1.3.6.1.2.1.10.94.1.1.3.1.4.14
    >Remote SNR.
    >.1.3.6.1.2.1.10.94.1.1.2.1.4.14
    >
    >Hope this helps.
    >
    >Kelvin.
    >
    >
    >*** Posted via a free Usenet account from http://www.teranews.com ***



    Hi Kelvin, that's fabulous, than you! These work perfectly.

    If you don't mind, can you tell me what I'm doing wrong? I've run:

    snmpwalk -c public -v 1 192.168.1.1

    but the numbers you listed do not appear aywhere in the walk. Any idea
    where I'm going wrong? I shall probably want to monitor more values in
    the future, so I'd like to be able to find them myself if I can.

    Thanks again,



    Jim
     
    Jim Willsher, May 8, 2006
    #3
  4. Jim Willsher

    Hans Guest

    Jim Willsher <> wrote:

    >>Local Attn.
    >>.1.3.6.1.2.1.10.94.1.1.3.1.5.14
    >>Remote Attn.
    >>.1.3.6.1.2.1.10.94.1.1.2.1.5.14
    >>Local SNR.
    >>.1.3.6.1.2.1.10.94.1.1.3.1.4.14
    >>Remote SNR.
    >>.1.3.6.1.2.1.10.94.1.1.2.1.4.14


    This doesn't work for me (on cisco 877W)

    any idea ?
     
    Hans, May 8, 2006
    #4
  5. Jim Willsher

    Jim Willsher Guest

    On 08 May 2006 08:53:24 GMT, Hans <> wrote:

    >Jim Willsher <> wrote:
    >
    >>>Local Attn.
    >>>.1.3.6.1.2.1.10.94.1.1.3.1.5.14
    >>>Remote Attn.
    >>>.1.3.6.1.2.1.10.94.1.1.2.1.5.14
    >>>Local SNR.
    >>>.1.3.6.1.2.1.10.94.1.1.3.1.4.14
    >>>Remote SNR.
    >>>.1.3.6.1.2.1.10.94.1.1.2.1.4.14

    >
    >This doesn't work for me (on cisco 877W)
    >
    >any idea ?



    Here's my entire mrtg.cfg file for my Cisco 837 for MRTG. Note the "/
    10" to scale the att and snr values.


    Jim



    EnableIPv6: no
    WorkDir: /var/www/admin/mrtg

    Target[cpu]:1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:public@192.168.1.1
    YLegend[cpu]: Cisco 837 - CPU Utilisation
    ShortLegend[cpu]: %
    MaxBytes[cpu]: 100
    Options[cpu]: nopercent, gauge, unknaszero, growright
    Unscaled[cpu]: dwmy
    Legend1[cpu]: Cisco 837 - CPU Utilisation
    Legend2[cpu]: .
    Legend3[cpu]: Max value per interval on graph
    Legend4[cpu]: .
    LegendI[cpu]: CPU:
    LegendO[cpu]: .
    Title[cpu]: cpu
    PageTop[cpu]: <H1>cpu</H1>
    Colours[cpu]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
    WithPeak[cpu]: ymw


    Target[memory]:1.3.6.1.4.1.9.9.48.1.1.1.5.1&1.3.6.1.4.1.9.9.48.1.1.1.6.1:public@192.168.1.1
    MaxBytes[memory]: 16384000
    Unscaled[memory]: dwmy
    Title[memory]: Cisco 837 - Memory
    PageTop[memory]: <H1>Cisco 837 - Memory</H1>
    Options[memory]: gauge, nopercent, unknaszero, growright
    YLegend[memory]: Bytes
    ShortLegend[memory]: Bytes
    Legend1[memory]: Used
    Legend2[memory]: Free
    Legend3[memory]: Max value per interval on graph
    Legend4[memory]: .
    LegendI[memory]: Used
    LegendO[memory]: Free
    Colours[memory]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
    WithPeak[memory]: ymw

    Target[atm0]: 1:public@192.168.1.1:
    SetEnv[atm0]: MRTG_INT_IP="" MRTG_INT_DESCR="ATM0"
    MaxBytes[atm0]: 64000
    Unscaled[atm0]: dwmy
    Title[atm0]: Cisco 837 - ADSL Line (ATM 0)
    PageTop[atm0]: <H1>Cisco 837 - ATM0</H1>
    Options[atm0]: growright


    Target[eth0]: 2:public@192.168.1.1:
    SetEnv[eth0]: MRTG_INT_IP="<ip address>" MRTG_INT_DESCR="Ethernet0"
    MaxBytes[eth0]: 1250000
    Unscaled[eth0]: dwmy
    Title[eth0]: Cisco 837 - Ethernet (Eth 0)
    PageTop[eth0]: <H1>Cisco 837 - Ethernet</H1>
    Options[eth0]: growright

    Target[snr]:.1.3.6.1.2.1.10.94.1.1.3.1.4.14&.1.3.6.1.2.1.10.94.1.1.2.1.4.14:public@192.168.1.1
    / 10
    Title[snr]: Cisco 837 - SNR Analysis
    Background[snr]: #ffffff
    PageTop[snr]: <H1>Cisco 837 - SNR Analysis</H1>
    WithPeak[snr]: wmy
    XSize[snr]: 500
    YSize[snr]: 200
    MaxBytes[snr]: 200000
    Options[snr]: gauge, growright, nopercent
    YLegend[snr]: SNR Value
    ShortLegend[snr]: SNR
    Legend1[snr]: Average
    Legend2[snr]:
    Legend3[snr]: Maximum
    Legend4[snr]:
    LegendI[snr]: &nbsp;Local SNR:
    LegendO[snr]: &nbsp;Remote SNR:

    Target[att]:.1.3.6.1.2.1.10.94.1.1.3.1.5.14&.1.3.6.1.2.1.10.94.1.1.2.1.5.14:public@192.168.1.1
    / 10
    Title[att]: Cisco 37 - Line Attentuation
    Background[att]: #ffffff
    PageTop[att]: <H1>Cisco 837 - Line Attentuation</H1>
    WithPeak[att]: wmy
    XSize[att]: 500
    YSize[att]: 200
    MaxBytes[att]: 200000
    Options[att]: gauge, growright, nopercent
    YLegend[att]: Att. Value
    ShortLegend[att]: &nbsp;Attenuation
    Legend1[att]: Average
    Legend2[att]:
    Legend3[att]: Maximum
    Legend4[att]:
    LegendI[att]: &nbsp;Local Att.:
    LegendO[att]: %nbsp;Remote Att.:
     
    Jim Willsher, May 8, 2006
    #5
  6. Jim Willsher wrote:
    > On Mon, 08 May 2006 08:16:25 +0100, "Kelvin J. Hill"
    > <> wrote:
    >
    >> Jim Willsher wrote:
    >>> Hi all,
    >>>
    >>> On the Cisco 837, is it possible to monitor SNR via an OID, using
    >>> MRTG? I can't find an OID which a) looks like it will work, and b)
    >>> does work!
    >>>
    >>> All help appreciated.
    >>>
    >>>
    >>>
    >>> Jim

    >> Local Attn.
    >> .1.3.6.1.2.1.10.94.1.1.3.1.5.14
    >> Remote Attn.
    >> .1.3.6.1.2.1.10.94.1.1.2.1.5.14
    >> Local SNR.
    >> .1.3.6.1.2.1.10.94.1.1.3.1.4.14
    >> Remote SNR.
    >> .1.3.6.1.2.1.10.94.1.1.2.1.4.14
    >>
    >> Hope this helps.
    >>
    >> Kelvin.
    >>
    >>
    >> *** Posted via a free Usenet account from http://www.teranews.com ***

    >
    >
    > Hi Kelvin, that's fabulous, than you! These work perfectly.
    >
    > If you don't mind, can you tell me what I'm doing wrong? I've run:
    >
    > snmpwalk -c public -v 1 192.168.1.1
    >
    > but the numbers you listed do not appear aywhere in the walk. Any idea
    > where I'm going wrong? I shall probably want to monitor more values in
    > the future, so I'd like to be able to find them myself if I can.
    >
    > Thanks again,
    >
    >
    >
    > Jim


    I think you may have to use the correct option string for snmpwalk to
    show you numbers rather than names.

    snmpwalk -c public -v 1 -On 192.168.1.1

    This works for me on my C837.

    Regards,
    Kelv.

    *** Posted via a free Usenet account from http://www.teranews.com ***
     
    Kelvin J. Hill, May 8, 2006
    #6
  7. Jim Willsher

    Hans Guest

    Jim Willsher <> wrote:



    > Here's my entire mrtg.cfg file for my Cisco 837 for MRTG. Note the "/
    > 10" to scale the att and snr values.



    SNMP Error:
    Received SNMP response with error code
    error status: noSuchName
    index 1 (OID: 1.3.6.1.2.1.10.94.1.1.3.1.4.14)
    SNMPv1_Session (remote host: "x.x.x.x" [x.x.x.x].161)
    community: "---------"
    request ID: 401085688
    PDU bufsize: 8000 bytes
    timeout: 2s
    retries: 5
    backoff: 1)
    at /usr/local/lib/perl5/site_perl/5.8.2/SNMP_util.pm line 458
    SNMPGET Problem for .1.3.6.1.2.1.10.94.1.1.3.1.4.14 .1.3.6.1.2.1.10.94.1.1.2.1.4.14 sysUptime sysName on
    at /usr/local/bin/mrtg line 1620
    WARNING: skipping because at least the query for .1.3.6.1.2.1.10.94.1.1.3.1.4.14 on x.x.x.x did not succeed
    ERROR: Target[x.x.x.x.snr][_IN_] ' $$target[26]{$mode} / 10' (warn): Use of uninitialized value in division (/) at (eval 85691) line 1.
    ERROR: Target[x.x.x.x.snr][_OUT_] ' $$target[26]{$mode} / 10' (warn): Use of uninitialized value in division (/) at (eval 85692) line 1.
    WARNING: Skipping Update of x.x.x.x.snr, inlast is not defined
    WARNING: Skipping Update of x.x.x.x.snr, outlast is not defined
     
    Hans, May 8, 2006
    #7
  8. Jim Willsher

    Rockh

    Joined:
    Jul 7, 2006
    Messages:
    1
    The last few digits will be different, not used an 877 so don't have the exact info. You need to use something like Getif and walk the whole interface to find the correct figures.
     
    Rockh, Jul 7, 2006
    #8
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill F

    monitoring cpu load w/mrtg

    Bill F, Dec 1, 2003, in forum: Cisco
    Replies:
    4
    Views:
    13,287
    Bill F
    Dec 1, 2003
  2. Matt
    Replies:
    2
    Views:
    580
    Jeroen
    Feb 20, 2004
  3. clusterFSCK
    Replies:
    2
    Views:
    813
    Victor Cappuccio
    Jun 23, 2004
  4. Jim Willsher
    Replies:
    1
    Views:
    706
    Jim Willsher
    May 23, 2006
  5. user

    C837 ADSL SNR Monitoring

    user, Jan 23, 2007, in forum: Cisco
    Replies:
    0
    Views:
    688
Loading...

Share This Page