Hi all, i still cant get the agent reply to snmpget, set, walk, getnext etc. queries to a remotehost under windows. i have the problem that my queries end with a timeout no response from the remote host. I've a machine with win 2003 server and another machine with win xp pro connected through a network cable. both have the net-snmp kit installed. i can ping the machines and the queries like snmpget are working for each machine itself well. but when i try to send a snmpget query through the network the timeout problem appears. The snmpdtrap.log has following output:
2005-09-06 15:58:31 servermachine [UDP: [192.168.1.129]:1049]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (290748) 0:48:27.48 SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::authenticationFailure SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.13 I have configured the snmpd.conf file for each machine with the basic setup. this is for example the one for the win 2003 server: ########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwuser: a SNMPv3 read-write user # arguments: user [noauth|auth|priv] [restriction_oid] rwuser admins priv rwuser admin auth # rouser: a SNMPv3 read-only user # arguments: user [noauth|auth|priv] [restriction_oid] rouser user noauth # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity server_user 192.168.1.129 # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity servermachine 192.168.1.129 ########################################################################### # SECTION: Monitor Various Aspects of the Running Host # # The following check up on various aspects of a host. # proc: Check for processes that should be running. # proc NAME [MAX=0] [MIN=0] # # NAME: the name of the process to check for. It must match # exactly (ie, http will not find httpd processes). # MAX: the maximum number allowed to be running. Defaults to 0. # MIN: the minimum number to be running. Defaults to 0. # # The results are reported in the prTable section of the UCD-SNMP-MIB tree # Special Case: When the min and max numbers are both 0, it assumes # you want a max of infinity and a min of 1. proc svchost.exe 8 1 ########################################################################### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation serverpc # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact [EMAIL PROTECTED] # sysservices: The proper value for the sysServices object. # arguments: sysservices_number sysservices 76 ########################################################################### # SECTION: Trap Destinations # # Here we define who the agent will send traps to. # trapsink: A SNMPv1 trap receiver # arguments: host [community] [portnum] trapsink 192.168.1.129 servermachine 162 trapsink xppromachine servertrap 162 # trap2sink: A SNMPv2c trap receiver # arguments: host [community] [portnum] trap2sink 192.168.1.129 servermachine 162 trap2sink xppromachine servertrap 162 # informsink: A SNMPv2c inform (acknowledged trap) receiver # arguments: host [community] [portnum] informsink 192.168.1.129 servermachine 162 informsink xppromachine servertrap 162 # trapcommunity: Default trap sink community to use # arguments: community-string trapcommunity servermachinetrap trapcommunity xppromachinetrap # authtrapenable: Should we send traps when authentication failures occur # arguments: 1 | 2 (1 = yes, 2 = no) authtrapenable 1 ################################################################# #end of snmpd.conf ################################################################# my firewalls and the viruskits are down and the ports 161/162 wide open. Isn't there anyone who can give some hints? with best regards -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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