Hi all,

I don't know if snmptrapd issue is already fixed, but here you have a 
solution:

The problem:
=========

Few days ago I'd installed JFFNMS v0.8.1 (for *nix) with SNMPTrap support 
(Net-SNMP v5.1.2). Unfortunately whenever snmptrapd received a trap it goes 
down with a message "Broken Pipe", not saving any trap messaje in DB.

The problem seems to be caused because daemon is not able to read 
"/etc/snmp/snmptrapd.conf" file properly (snmptrapd.conf documentation seems 
to be wrong):

The solution:
=========
1.- Create the file "/opt/jffnms/engine/trapshandler.sh" with this content:

   #!/usr/bin/bash
   cd /opt/jffnms/engine && php -q trap_receiver.php

2.- Modify the file "/etc/snmp/snmptrapd.conf" and leave it as (just 1 line): 

   traphandle default /bin/bash /opt/jffnms/engine/traphandler.sh



Saludos
--
Yery



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to