May I know how to get it to log?
How to send traps to log file? Where is the log file basically? Thanks.


-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 29, 2004 11:38 PM
To: Goh, Yen Mei
Cc: [EMAIL PROTECTED]
Subject: Re: (no subject) 


> I have encountered another issue which is regarding the snmptrapd
> command.
> 
> I was trying to execute this "Snmptrapd -P" command to get the trap
log
> however, it gave me the following message and stop halfway for a very
> long time.

Yes - that's correct.
The trap daemon is designed to run "forever" - it doesn't
exit until you explicitly kill it.    Normally it will
detach itself from the terminal, and run as a daemon.

By giving the '-P' option, you are telling it not to do this,
and to stay attached to the terminal until you kill it.




> May I know what is the problem basically.

There is no problem - snmptrapd is working as intended.

If you're not debugging problems, don't use '-P'
and get it to log elsewhere.

Dave

PS: Please - no HTML mail.  Thanks



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to