Re: Traphandle (TraptoEmail) Not working properly (read: Permission denied ???)
Antonio Guerra <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave, Opened two shell windows. One running the forked daemon, the other generating traps. I don't see anything happening on the forked window when sending traps. As you can see below the process is running with the flags you recommended: # ps -ef | egrep snmp root 21750 21510 0 10:49 ? 00:00:00 /usr/sbin/snmptrapd -f -Le -Dsnmptrapd -Cc /etc/snmp/snmptrapd.conf root 21764 1 0 10:49 ? 00:00:00 /usr/sbin/snmpd -Lf /var/log/snmpd.log -p /var/run/snmpd.pid -a On Tue, Jan 27, 2009 at 10:42 AM, Dave Shield <[email protected]> wrote: > 2009/1/27 Antonio Guerra <[email protected]>: >> When I try running that command, the process hangs. > > Are you sure it's not simply waiting to receive a trap? > Those options will run the trap receiver as a normal > command, rather than forking it off into the background > (which is the normal operation of a daemon). > > Start the trap daemon in one window or shell command. > Then send the trap in a different window. > You should see things happening in the trapd window. > > Dave > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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