The pdutype="get-request" worked.

--------------------------------------------------
From: "William W. Fisher" <[EMAIL PROTECTED]>
Sent: Saturday, June 21, 2008 6:06 PM
To: "InterMapper Discussion" <[email protected]>
Subject: Re: [IM-Talk] Why [NoSuchName]?

Steve Himebaugh wrote:
Why am I getting [NoSuchName] in my Status Window?

I'm trying to monitor the number of active DSO channels in a PRI on a Cisco 3845 ISR router/gateway. First PRI reports fine but the second gives me '[NoSuchName]' regardless of how I modify the probe.

The OID exists. There's no 'OID does not exist' error in the debug. Here's the output of 'snmpwalk'. First OID works fine. The second OID is the one I'm trying to monitor so I'm polling for an valid existing SNMP OID. # snmpwalk -c <RO Deleted> -v 2c <IP Address Deleted> .1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.0
  SNMPv2-SMI::enterprises.9.10.19.1.1.9.1.3.0.0 = Gauge32: 0
# snmpwalk -c <RO Deleted> -v 2c <IP Address Deleted> .1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.1
  SNMPv2-SMI::enterprises.9.10.19.1.1.9.1.3.0.1 = Gauge32: 0

Here's the relevant sections of the probe. I changed the DS0 to DSzero to confirm I wasn't typing the capital letter O instead of the number 0.

port0ActiveDS0s, .1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.0, DEFAULT, "Port 0/0/0 - Number of Active DSOs" port1ActiveDSzeros, .1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.1, DEFAULT, "Port 0/0/1 - Number of Active DSOs"

  \B5\DS0 Status:\0P\
    \4\Port 0/0/0 - Number of Active DS0s:\0\ ${port0ActiveDS0s}
    \4\Port 0/0/1 - Number of Active DS0s:\0\ ${port1ActiveDSzeros}

Again, the first PRI (port 0/0/0) reports fine. The second always gives me '[NoSuchName]'

Add the following line to your custom probe in the <snmp-device-properties> section:

   pdutype="get-request"

InterMapper uses Get-Next-Requests by default in SNMP probes. When you enter "OID.3.0.0", or a similar OID with a final subid <= 1, the final subid is removed. So, InterMapper enters "port0ActiveDS0s" into the Get-Next-Request as "OID.3.0". The variable "OID.3.0.1" is also entered as "OID.3.0". This behavior is a legacy from SNMPv1 days.

Another work-around using the default get-next-request is to enter "port1ActiveDSzeros" as "OID.3.0.0+". The + indicates that you want the OID immediately *after* "OID.3.0.0". Be aware if you change the pdutype to get-request, the + does not work.

Regards,

Bill Fisher
Dartware, LLC
____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]


____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]

Reply via email to