El vie, 24-06-2005 a las 11:58 +0100, Dave Shield escribió: > On Fri, 2005-06-24 at 11:38, Angel L. Mateo wrote: > > > I have now the following configuration: > > > > trap2sink traprecv.mydomain.com > > informsink traprecv.mydomain.com > > You probably only want one of these two. > > > > agentSecName internal > > rouser internal > > rocommunity internal > > Drop the "rocommunity internal" line - it's irrelevant. > > Do you have a "createUser internal ...." entry anywhere? > Now I have created the internal user. I have this:
rouser internal noauth agentSecName internal defaultMonitors yes monitor -i -r 30 -o dskPath.4 -o dskErrorMsg.4 "/var file system" dskErrorFlag.4 != 0 With user internal I can get snmp values with a command like this: myotis1:/etc/snmp# snmpget -v 3 -u internal -n "" -l noAuthNoPriv localhost sysUpTime.0 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (348) 0:00:03.48 but the server doesn't send any trap. Maybe the problem is related with an error I get in the snmpd logs. The error is: Jun 27 12:26:41 myotis1 snmpd[31736]: Connection from callback: 1 on fd 3 REFUSED -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ 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