why com2sec group ... are unknown tokens
fei tan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
hi all, I have installed net-snmp-5.4.2.1 on my compuer(the os is windows xp sp2) and rewrite the snmp.conf file. when I run the instructions in file c:\usr\bin. such as snmpget. it always print the following warings: ------------------------------------------------------------ C:\usr\bin>snmpget -v 1 -c public localhost sysDescr.0 C:/usr/etc/snmp/snmp.conf: line 61: Warning: Unknown token: com2sec. C:/usr/etc/snmp/snmp.conf: line 62: Warning: Unknown token: com2sec. C:/usr/etc/snmp/snmp.conf: line 68: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 69: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 70: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 71: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 72: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 73: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 79: Warning: Unknown token: view. C:/usr/etc/snmp/snmp.conf: line 86: Warning: Unknown token: access. C:/usr/etc/snmp/snmp.conf: line 87: Warning: Unknown token: access. C:/usr/etc/snmp/snmp.conf: line 103: Warning: Unknown token: syslocation. C:/usr/etc/snmp/snmp.conf: line 104: Warning: Unknown token: syscontact. C:/usr/etc/snmp/snmp.conf: line 138: Warning: Unknown token: proc. C:/usr/etc/snmp/snmp.conf: line 141: Warning: Unknown token: proc. C:/usr/etc/snmp/snmp.conf: line 144: Warning: Unknown token: proc. C:/usr/etc/snmp/snmp.conf: line 202: Warning: Unknown token: exec. C:/usr/etc/snmp/snmp.conf: line 253: Warning: Unknown token: disk. C:/usr/etc/snmp/snmp.conf: line 282: Warning: Unknown token: load. Timeout: No Response from localhost. ------------------------------------------------------------------- the 60-79 lines in snmp.conf is: ------------------------------------------------------------------- # sec.name source community com2sec local 127.0.0.1 public com2sec mynetwork 192.168.1.101 public #### # Second, map the security names into group names: # sec.model sec.name group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local group MyROGroup v1 mynetwork group MyROGroup v2c mynetwork group MyROGroup usm mynetwork #### # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view all included .1 80 -------------------------------------------------------------- why there are those warnings, and why No response from the localhost (I have register the agent service through the shortcuts in the Start menu for "register agent service"). Could anyone help me? your help will be apprecicated! Thanks! -- Fei Tan ------------------------------------------------------------------------------ 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users