Balint, Thanks for the configs. Is there a way to debug this to make sure its working? I don't seem to get anything in my syslog-ng-debug file (file not created) I put in the recipe in syslog-ng... source snmp { unix-stream( "/dev/log.snmp" keep_timestamp(yes) keep_hostname(yes) ); }; destination d_debug { file("/var/log/syslog-ng-debug" owner(root) group(adm) perm(0660)); }; log { source(snmp); destination(d_debug); }; ================================================= Here's what I can see....
From netstat unix 6 [ ] DGRAM 77199 3475/syslog-ng /dev/log unix 2 [ ] DGRAM 89815 10562/snmptrapd unix 2 [ ACC ] STREAM LISTENING 77193 /dev/log.snmp udp 0 0 *:snmp-trap *:*
Tcpdump show trap data on interface. Not sure how to debug the unix-stream and syslog-ng. Any pointers? -=Dan=-