Running the snmpd, I got the bellow output. So the HOST-RESOURCES-MIB is not
found. I know that every module listed has a .txt file under
c:/snmp54/share/snmp, why only 22 couldn't be found out of about 70? I've never
seen these messages in any log files before.
$ snmpget -v1 -c public localhost:20161 hrSystemDate.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: HOST-RESOURCES-MIB::hrSystemDate.0
Jun
$ snmpd -f -C -c c:/snmp54/etc/snmp/snmpd.conf -Le :20161
c:/snmp54/etc/snmp/snmpd.conf: line 60: Error: Blank line following disk token.
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
c:/snmp54/etc/snmp/snmpd.conf: line 60: Error: Blank line following disk token.
Creating directory: c:/usr
Creating directory: c:/usr/snmp
Creating directory: c:/usr/snmp/persist
NET-SNMP version 5.4.1
Mike Ayers <[EMAIL PROTECTED]> wrote:
> From: Jun Zhang [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 25, 2008 2:49 PM
> Here are the files snmp.conf and snmpd.conf,
> Both installations were from binary net-snmp-5.4.1.
> When I did the last test and get the same error on the 2003
> Server, the agent is started as a service, I don't see a
> snmpd process in the taskmgr, though.
> While the hrSystemDate.0 failed, sysUpTime.0 would succeed.
IIRC, snmp.conf is not applicable to the agent.
I think you're not running the net-snmp agent. Try running it on a non-default
port, in the foreground so that you get all the output:
C:/> snmpd -f -C -c snmpd.conf -Le :20161
Remember to include the port in the request:
snmpwalk -v 1 -c public localhost:20161 hrSystem
If you get output from this, then you probably need to find and shut down the
Windows SNMP agent (IIRC WS2K3 defaults to using the agent, Xp doesn't install
it), or perhaps just continue to run on the alternate port.
I note that there is no logging configured in your snmpd.conf. You might want
to check the Windows applications log for death messages from snmpd.
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