RE: SNMPTRAP & traptomail

"BENAMAR Khalid" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hello
i want to say trap that snmptrapd receive

i try to launch snmptrapd (say in the second message)
snmptrapd -Lf /home/benamar/tmp/log.log -F "%#02.2h:%#02.2j TRAP%w.%q from 
%A\n" -c /usr/bin/snmptrapd.conf

in the log i have this message

2007-01-15 18:25:14 NET-SNMP version 5.1.4 Started.
couldn't open udp:162 -- errno 98 ("Address already in use")

but i don't understand the source of this error

can you help me

thanks




>From: "BENAMAR Khalid" <[email protected]>
>To: [email protected]
>Subject: SNMPTRAP & traptomail
>Date: Thu, 02 Nov 2006 16:12:11 +0000
>
>hello word
>
>i want to use traptoemail scrip for sending an email when a snmptrapd
>receive a trap
>
>but i don't know how to configure it
>1- i created a snmptrad.conf. in this file i have define the DIRECTIVE
>traphandle
>       traphandle default /usr/bin/traptoemail -s smtp.xxx.com -f 
>[email protected]
>[email protected]
>my question : what i must add in this file ?
>2- in snpd.conf i have define monitor
>
>thanks for your help
>
>_________________________________________________________________
>MSN Messenger : discutez en direct avec vos amis !
>http://www.msn.fr/msger/default.asp
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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

_________________________________________________________________
Windows Live Messenger sur i-mode™ : dialoguez avec vos amis depuis votre 
mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.