Hi
So I changed that line in my /etc/snmp/snmpd.conf file to say 'traphandle
default php4 /opt/jffnms/engine/trap_reciver.php' and I've also run
snmptrapd -f (there is no -Le) and when I send a trap to the station I get
this:

debian:~# snmptrapd -f
sh: php: command not found
sh: php: command not found

Also, are snmp traps tied to the syslog daemon in any way, as I don't see
syslog messages in the event view of the jffnms box either.  Hrmmm...any
ideas.  Thanks

jason

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 8:44 PM
To: Jason Humes
Cc: '[EMAIL PROTECTED]'
Subject: Re: [jffnms-users] JFFNMS not receiving traps


On Tue, Nov 16, 2004 at 03:40:40PM -0500, Jason Humes wrote:
> showing up.  I've run the snmpconf -g basic_setup program, and I've 
> added the 'traphandle default /opt/jffnms/engine/trap_receiver.php' to 
> my /etc/snmp/snmpd.conf file...and then run the snmptrap commandline 
> to test the trap reception, but nothing shows up.  Any ideas.  Thanks.
The trap receiver doesn't use a #! and is not executable so it cannot run 
by itself.
You need to change the line to php4 /opt/jffnms/engine/trap_receiver.php

If that doesn't work try snmptrapd -f -Le on the command line for debugging.

  - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to