Re: Traphandle (TraptoEmail) Not working properly (read: Permission denied ???)

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <00b901c98154$3ab6bc20$02b2a8c0@tardis>
I presume that TraptoEmail works if run from the shell. Right?

BR,
Nikos
----- Original Message ----- 
From: "Antonio Guerra" <[email protected]>
To: "Dave Shield" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 28, 2009 2:42 PM
Subject: Re: Traphandle (TraptoEmail) Not working properly (read: Permission 
denied ???)


> Dave,
>
> Any thoughts on the issue below? I seem to be stuck between a rock and
> a hard place. It logs to file, but its not logging to the screen.
> Traphandles and Traptoemail are still not working.
>
>
> On Tue, Jan 27, 2009 at 10:55 AM, Antonio Guerra
> <[email protected]> wrote:
>> 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 


------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.