Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Cisco 837 - MRTG - monitoring SNR?

Reply
Thread Tools

Cisco 837 - MRTG - monitoring SNR?

 
 
Jim Willsher
Guest
Posts: n/a
 
      05-07-2006
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
 
Reply With Quote
 
 
 
 
Kelvin J. Hill
Guest
Posts: n/a
 
      05-08-2006
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 ***
 
Reply With Quote
 
 
 
 
Jim Willsher
Guest
Posts: n/a
 
      05-08-2006
On Mon, 08 May 2006 08:16:25 +0100, "Kelvin J. Hill"
<(E-Mail Removed)> 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
 
Reply With Quote
 
Hans
Guest
Posts: n/a
 
      05-08-2006
Jim Willsher <(E-Mail Removed)> 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 ?

 
Reply With Quote
 
Jim Willsher
Guest
Posts: n/a
 
      05-08-2006
On 08 May 2006 08:53:24 GMT, Hans <(E-Mail Removed)> wrote:

>Jim Willsher <(E-Mail Removed)> 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.0ub lic@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.1ublic@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]: 1ublic@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]: 2ublic@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.9 4.1.1.2.1.4.14ublic@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.9 4.1.1.2.1.5.14ublic@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.:





 
Reply With Quote
 
Kelvin J. Hill
Guest
Posts: n/a
 
      05-08-2006
Jim Willsher wrote:
> On Mon, 08 May 2006 08:16:25 +0100, "Kelvin J. Hill"
> <(E-Mail Removed)> 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 ***
 
Reply With Quote
 
Hans
Guest
Posts: n/a
 
      05-08-2006
Jim Willsher <(E-Mail Removed)> 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 (E-Mail Removed)
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

 
Reply With Quote
 
Rockh Rockh is offline
Junior Member
Join Date: Jul 2006
Posts: 1
 
      07-07-2006
Quote:
Originally Posted by Hans
Jim Willsher <(E-Mail Removed)> 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 (E-Mail Removed)
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
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco 837 - 12.4 - MRTG monitoring stopped? Jim Willsher Cisco 1 05-23-2006 08:54 PM
VPN between Cisco 837 and cisco 837 with IP static and ip dinamic lyvicro@hotmail.com Cisco 4 12-15-2005 09:10 PM
Cisco 837 to Cisco 837 VPN, ping OK, NetBios / VNC DROPPING! Suppa Lamah Cisco 8 12-19-2003 01:15 PM
monitoring cpu load w/mrtg Bill F Cisco 4 12-01-2003 05:20 PM
Cisco 837-837 VPN Confused Cisco 0 07-09-2003 11:13 AM



Advertisments