Re: problems in net-snmp-5.4.1-1.win32.exe

Alex Burger <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Nicky wrote:
> 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.

The two tokens are for the Net-SNMP system_mib, which you are not
loading.  You are instead using the Windows SNMP DLL which contains the
system mib.  The Window MIB does not use the snmpd.conf settings.

Using the winExtDLL version of Net-SNMP allows you to use all the
exiting Windows SNMP MIB DLLs written by Microsoft and others but use
the Net-SNMP features such as SNMP v3.

Alex

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