To retrieve info (Host resource mib) from netsnmp windows agent

"xuemei" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 

Hello:

 

I  have downloaded and installed the  net-snmp-5.3.0.1-1.win32.exe under
windows XP professional,  after install the perl and run the snmpconf,
everything looks good.

By that I mean I can query via

 

snmptranslate -IR -Td IF-MIB::linkDown and return is good.

 

While I initiate following:

 

Snmpget -v 1 -c rov1v2cuser localhost 1.3.6.1.2.1.25.1.1.0 to get the
hrsystemuptime,

 

I get following:

 

Error in packet:

Reason: (noSuchName)There is no such variable name in this MIB Failed
object: HOST-RESOURCE-MIB::hrSystemUptime.0

 

After research for the error message at
http://snmp.adventnet.com/help/mibbrowser/errormessages.html

I think the above error indicate that the net-snmp-5.3.0.1-1.win32.exe snmp
agent does not have the functionality for this OID, the same error will
appear for the memorysize etc other OID, is this right?

 

If above is right, why is it? I mean in the 5.2.1.2 version net snmp for
linux(my environment is red hat 8.0) , I can retrieve above OID info without
problems, Does this mean the net-snmp for windows has less functionalities?

 

 

Thanks a lot !!!

 

Shemy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.