>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "BENAMAR Khalid" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: SNMPTRAP & trapt
>Date: Wed, 8 Nov 2006 12:45:40 +0000
>
>On 07/11/06, BENAMAR Khalid <[EMAIL PROTECTED]> wrote:
>>this is the response when i launch snmptrapd
>     [snip]
>>snmptrapd: get_traphandler default (902d458)
>>snmptrapd: command_handler
>>snmptrapd: token = '/usr/local/bin/traptoemail -f [EMAIL PROTECTED]
>>     -s smtp.menara.ma [EMAIL PROTECTED]'
>>snmptrapd: execute format
>
>OK - so it is at least *trying* to run the traptoemail script.
>What happens if you run that same command by hand?
>
>You'll need to give it at least three lines of input.
>Try:
>     (echo localhost; echo 127.0.0.1; echo OID Value) |
>          /usr/local/bin/traptoemail -f [EMAIL PROTECTED]
>                        -s smtp.menara.ma [EMAIL PROTECTED]'

the response when i try it is

illegal trap at /usr/local/bin/traptoemail line 56, <STDIN> line 3



>
>(all on one line, obviously)
>
>Dave

_________________________________________________________________
MSN Hotmail : créez votre adresse e-mail gratuite & à vie ! 
http://www.msn.fr/newhotmail/Default.asp?Ath=f


-------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to