> From: fei tan [mailto:feitan...@gmail.com] 
> Sent: Saturday, June 13, 2009 9:56 AM

> So, I shut the windows snmp service, and run the net-snmp use 
> the following command line:
> snmpd.exe 
> -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,snmp_mib,sysORTable

        You misread the instructions:

[SNIP]
> The Windows DLL snmpmib.dll (SNMPMIB) contains SNMP traffic statistics
> (.1.3.6.1.2.1.11). As we are using Net-SNMP and not the 
> Windows SNMP Service,
> no values will be returned from the Windows extension. To allow SNMP
> statistics to be received, the Net-SNMP module snmp_mib is 
> permitted to load
> by not excluding it in the above command line. As stated 
{/SNIP]

        This means, "don't have 'snmp_mib' in that list".  You should have left 
it as is:

[SNIP]
> snmpd.exe -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,
> sysORTable -DwinExtDLL
[/SNIP]


> Then, I use the following command line to get the traffic statistics:
> snmpget -v 1 -c public localhost .1.3.6.1.2.1.11

        That should be snmpwalk, not snmpget.  Actually, you should use 
snmpgetnext ("crawl") until you get a response, then try walking.

> But, I get the following output:
> Timeout: No Response from localhost.
> (if I get other OID, I can get the response)
> (use "snmpd.exe 
> -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib"
> get the same output:"Timeout: No Response from localhost.")

        That might be interesting, but it's tangential.  You're trying to get a 
non-object.

> In addition:
> 1) when use "snmpd.exe 
> -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,snmp_mib,sysORTable"
> there is a following waring:
> C:/usr/etc/snmp/snmpd.conf: line 253: Warning: Unknown token: disk.
> 
> 2) when use "snmpd.exe 
> -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable"
> there is a following waring:
> C:/usr/etc/snmp/snmpd.conf: line 253: Warning: Unknown token: disk.
> C:/usr/etc/snmp/snmpd.conf: line 103: Warning: Unknown token: 
> syslocation.
> C:/usr/etc/snmp/snmpd.conf: line 104: Warning: Unknown token: 
> syscontact.
> C:/usr/etc/snmp/snmpd.conf: line 253: Warning: Unknown token: disk.

        These configuration tokens aren't recognized when the MIB module that 
implements them is disabled.  It's nothing to worry about.


        HTH,

Mike

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to