On 7 January 2013 10:31, shilpa kondawar <[email protected]> wrote:
> We have tried compiling the IEEE802dot11MIB file on snmp agent, but it
> doesn't help.

No - it wouldn't.
The MIB file is essentially the "design" for the mib module - it
doesn't actually
provide the code needed to implement it.   That's down to the agent programmer.


> We compiled the .c and .h files.We have downloaded it from internet.

The Internet is a big place - care to be more specific?


> $ snmpwalk  -v1 -c public localhost:9999 1.2
> iso.2.840.10036.1.1.1.1.3 = Hex-STRING: 00 22 69 27 57 A5
> iso.2.840.10036.1.1.1.7.3 = INTEGER: 1

OK - so this module is inded implementing the IEEE802dot11MIB
(and you are able to query it successfully).   That's a good start.


> iso.2.840.10036.1.5.1.2.3 = INTEGER: 0
> iso.2.840.10036.1.5.1.4.3 = INTEGER: 2
> iso.2.840.10036.2.1.1.1.3 = Hex-STRING: 00 22 69 27 57 A5
> iso.2.840.10036.2.1.1.2.3 = INTEGER: 2347
> iso.2.840.10036.2.1.1.5.3 = INTEGER: -1
> iso.2.840.10036.3.1.1.0 = STRING: "RTID"
> iso.2.840.10036.3.1.2.1.1.3 = STRING: "00:22:69"

So this module implements the dot11PrivacyTable
     (but not the dot11MultiDomainCapabilityTable
      or subsequent children of  dot11smt),
the dot11OperationTable (but not dot11CountersTable
      or subsequent children of  dot11mac),
and dot11ResourceTypeIDName/dot11ResourceInfoTable



> But  the  result of snmpget for specific OID value is same :
>
> $ snmpget  -v1 -c public localhost:9999 1.2.840.10036.2.2.1.7
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: iso.2.840.10036.2.2.1.7

Not surprising.
If that information wasn't present in the output of the walk.
it's unlikely to appear when you query for it specifically.


> Can you please suggest some solution.

It looks as if the code that you found doesn't include support
for the dot11CountersTable
You'll need to go back to the people that wrote it and see if they
have a newer version, or look at adding the missing code yourself.

Dave

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to