Re: problems in net-snmp-5.4.1-1.win32.exe
Nicky <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Maybe it's that I don't attach the additional command line option.If I use "snmpd -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable",the function is OK. But the snmpd cmd windows shows that ################################################################################# C:\>snmpd -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable No log handling enabled - turning on stderr logging netsnmp_assert x failed ..\..\agent\agent_registry.c:535 netsnmp_assert x failed ..\..\agent\agent_registry.c:535 netsnmp_assert x failed ..\..\agent\agent_registry.c:535 C:/usr/etc/snmp/snmpd.conf: line 6: Warning: Unknown token: sysLocation. C:/usr/etc/snmp/snmpd.conf: line 7: Warning: Unknown token: syscontact. NET-SNMP version 5.4.1 ################################################################################## Why does it shows "Unknown token"?Thanks. Alex Burger <[email protected]> 說: Nicky wrote: > Dear all: > I install net-snmp in winxp.If I start up the snmpd using command mode,it shows > ######################################################## > C:\>snmpd > No log handling enabled - turning on stderr logging > netsnmp_assert x failed ..\..\agent\agent_registry.c:535 > ######################################################################################### > What's wrong? > I install net-snmp with windows extension dll support and follow the readme.win32(install > Simple Network Management Protocol windows component and stop the win snmp service),and I > can't still see the host by querying the net-snmp.Does version 5.4.1 support host?I don't > know what'wrong. > If I configure Net-SNMP to proxy all requests to the Microsoft agent and start up win SNMP service,I can see the host.Thanks. How are you starting the agent? From a command line or by starting the service? The service is registered with additional command line options. Without them, you won't be able to query the Microsoft DLLs. If you want to test on the command line, start it using: snmpd -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable On my system I also get the 'netsnmp_assert x failed' messages but it doesn't prevent the walk from finishing. I also get the messages when using the regular non-WinExtDLL agent. Alex 設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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