On Fri, 27 Jul 2007 09:59:32 +0100, Dave Shield wrote: > On 26/07/07, Mateus Interciso <[EMAIL PROTECTED]> wrote: >> Hello, I have this snmpd.conf configuration on one host >> >> trapsink 10.0.0.4 test >> trap2sink 10.0.0.4 test >> informsink 10.0.0.4 test > > Why do you want to send three copies of every notification to the same > trap receiver? Isn't trapsink for SNMPv1 traps, trap2sink for SNMPv2 traps? > > > > >> Now, when I start the snmpd on 10.0.0.1 (the SNMP host), the >> snmptrapd.log shows this > [snip] >> Does this by any chance means that the snmptrap is working fine? > > It means that the agent and "snmptrapd" are working fine. The > command-line tool "snmptrap" is not relevant here - that is an > alternative mechanism for sending traps. > But the agent is generating traps quite happily - three at a time! > > > >> snmptrap -v 2c -c public localhost "" NOTIFICATION-TEST-MIB::demo-notif >> \ >> SNMPv2-MIB::sysLocation.0 s "just here" >> but nothing happens. > > Try with "localhost:162" instead of just "localhost". > > I presume you are running this on the same machine as the trap receiver > (10.0.0.4), rather than the system with the SNMP agent (10.0.0.1) > Yes, it is the same machine, (10.0.0.4), and it didn't worked with the :162 > > >> Also, let's say I have on the snmpd.conf file this: >> >> proc apache2 100 1 >> >> And let's say that apache2 has stopped, will this triger a trap to the >> trapserver? > > Not by itself, no. > Please see the snmpd.conf(5) man page - in particular, the section > headed ACTIVE MONITORING. > I'll take a look as soon as I have some time(little busy now), and will post back doubts, and stuff. > Dave > > Thanks a lot Dave. ------------------------------------------------------------------------- > 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
------------------------------------------------------------------------- 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
