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

Jeffrey Magder jmagder at somanetworks.com
Wed Aug 22 19:33:46 CEST 2007


Hi Kanwar,

Have you made sure that the MIB files (OPENSER-MIB, OPENSER-REG-MIB, 
etc.) included as part of the OpenSER distribution, have been copied to 
the same folder as the rest of your MIBs? 

On my system, the other mib files were located in one of:

/usr/local/share/snmp/mibs
/usr/share/snmp/mibs

Though on your system, it may be different.  If you are unsure of the 
location of your existing MIBS (the ones installed with NetSNMP), you 
can search for them with:

find / -name "SNMPv2-TC". 

I believe that file is installed by default with NetSNMP.

I hope this helps, let me know how it goes!

- Jeffrey Magder

Kanwar Ranbir Sandhu wrote:
> 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
>
>   





More information about the Users mailing list