RE: Failed object

Jun Zhang <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I don't see I have this net-snmp-config tool, does it belong to net-snmp?

Jun

Mike Ayers <[email protected]> wrote: > From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Jun Zhang
> Sent: Thursday, January 24, 2008 1:47 PM

> When I issue the command, 
> snmpget -v 1 -c public localhost hrSystemDate.0
> I got,
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: HOST-RESOURCES-MIB::hrSystemDate.0
> If I use -v 2c I got,
> HOST-RESOURCES-MIB::hrSystemDate.0 = No Such Object available 
> on this agent at this OID
> 
> It was pointed out in the FAQ that without the ".0" at the 
> end will cause this message, I observed that.
> 
> This problem occurred on my MS 2003 Server, while I don't 
> have this problem at all on my XP. Both machines have 
> net-snmp 5.4, and I have been comparing the two machines in 
> all aspects.

 It looks like the agent on your server was compiled without tbe host resources MIB.  If you have cygwin or MKS:

$ net-snmp-config --snmpd-module-list | sed 's/ /\n/g' | grep 'host/' | wc -l

Otherwise:

C:\> net-snmp-config --snmpd-module-list

and count the modules that start with "host/".  Cutting and pasting into an editor helps here.

I have 11 modules, and I get a valid response to the query.


 HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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



       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
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.