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

Jeffrey Magder jmagder at somanetworks.com
Wed Aug 22 20:41:00 CEST 2007


After your mibdirs directive in your snmp.conf file, can you try adding:

mibs +ALL

Its possible that it is not reading all MIBS by default.

- JM

Kanwar Ranbir Sandhu wrote:
> On Wed, 2007-08-22 at 13:50 -0400, Jeffrey Magder wrote:
>   
>> Could you elaborate on what you mean by "wouldn't work at all"?  I'm not 
>> sure why you needed the .txt extension.  
>>     
>
> I don't get any output.  That is, issuing this:
>
> $ snmpwalk -v 1 -c gl_tor_151_globser2 204.11.120.77 enterprises.27483
>
> returns absolutely nothing.  As soon as I add the ".txt" extension to
> the openser MIB files, I get this:
>
> 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: "`"
> SNMPv2-SMI::enterprises.27483.3.1.1.1.1.7.1.2.1 = STRING:
> "METHOD_INVITE"
> SNMPv2-SMI::enterprises.27483.3.1.1.1.1.7.1.2.2 = STRING:
> "METHOD_CANCEL"
> SNMPv2-SMI::enterprises.27483.3.1.1.1.1.7.1.2.3 = STRING: "METHOD_ACK"
>
> [snip]
>
>   
>> Can you show me the contents of 
>> your snmp.conf file?  (not the snmpd.conf file).  
>>     
>
> defVersion              2c
> defCommunity            gl_tor_151_globser2
> mibdirs                 /usr/share/snmp/mibs
>
>   
>> Also, what version of 
>> NetSNMP are you using? (snmpget --version).
>>     
>
> NET-SNMP version: 5.3.1
>
> Regards,
>
> Ranbir
>
>   





More information about the Users mailing list