[OpenSER-Users] snmpstats doesn't work with OID names

Kanwar Ranbir Sandhu rsandhu at globalive.com
Wed Aug 22 19:04:03 CEST 2007


Hi All,

This is my first post to this list.  I've been using OpenSER at my new
job for only two months.  I've been having a bit of a problem with the
snmpstats module, though.

I've configured openser 1.2.1 to load the snmpstats module and I can
pull info like so:

$ snmpwalk -v 1 -c gl_tor_151_globser2 204.11.120.77 enterprises.27483

SNMPv2-SMI::enterprises.27483.3.1.1.1.1.1.0 = STRING: "SIP/2.0"
SNMPv2-SMI::enterprises.27483.3.1.1.1.1.2.0 = Timeticks: (0) 0:00:00.00
SNMPv2-SMI::enterprises.27483.3.1.1.1.1.4.0 = STRING: "("
SNMPv2-SMI::enterprises.27483.3.1.1.1.1.5.1.4.1.4.204.11.120.77.5060 =
STRING: "`"
[snip]

$ snmpget -v 1 -c gl_tor_151_globser2 204.11.120.77  
  enterprises.27483.3.1.1.1.1.7.1.2.14

SNMPv2-SMI::enterprises.27483.3.1.1.1.1.7.1.2.14 = STRING:
"METHOD_PUBLISH"

But, when I try to use one of the example commands given in the
snmpstats documentation, I always get an error:

$ snmpwalk -v 2c -c gl_tor_151_globser2 204.11.120.77 
  openserSIPEntityType.0

openserSIPEntityType.0: Unknown Object Identifier (Sub-id not found:
(top) -> openserSIPEntityType)


$snmptranslate -TBd openserSIPEntityType
Unable to find a matching object identifier for "openserSIPEntityType"


Why is that happening?  Why can't I use the names?  I've found one other
message in the archives from someone having the same problem, but the
thread didn't go anywhere.

Any tips/suggestions would be appreciated.

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.22.1-41.fc7 i686 GNU/Linux 
11:54:21 up 2:04, 2 users, load average: 1.56, 1.04, 0.57 





More information about the Users mailing list