On 21 May 2012 13:50, Jehan Badshah <[email protected]> wrote:
> I have installed Net-Snmp 5.2.1 on windows 2003 server

First thing - that's a very old version of the agent (2005!),
and the 5.2.x line is no longer being actively supported.
Can you try with something a little newer?


> and configured snmpt agent on 192.168.100.88
>
> When I run following command then getting empty response for UCD-SNMP-MIB
> snmpwalk -v 1 -c community 192.168.100.88 .1.3.6.1.4.1.2021.4
> End of MIB

How have you configured the agent?
In particular, what access control settings do you have?
   (See the FAQ or snmpd.conf(5) for more details)

What information *can* you see.
Can you retrieve anything from the enterprises tree at all?
  (try "snmpgetnext .... .1.3.6.1.4")


> when I run following command
> bin>snmpget -v1 -c community 192.168.100.88 memAvailReal.0
> Error in packet Reason: (noSuchName) There is no such variable name in this
> MIB. Failed object: UCD-SNMP-MIB::memAvailReal.0
>
> What I am missing ?,
>
>  should I install UCD-SNMP-MIB on host or client, but how ?

The UCD-SNMP-MIB is installed OK on the client side
Note that the name 'memAvailReal' is recognised,
and reported back using the MIB module qualified form.
   And the agent doesn't really need the MIB files at all.

The problem will either be access control settings on the agent,
or the lack of implementation code for that particular object
on your O/S.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to