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

Kanwar Ranbir Sandhu rsandhu at globalive.com
Wed Aug 22 20:07:11 CEST 2007


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

-- 
Kanwar Ranbir Sandhu
Linux 2.6.22.1-41.fc7 i686 GNU/Linux 
13:49:04 up 3:59, 2 users, load average: 0.15, 0.17, 0.12 





More information about the Users mailing list