18 Mar
2010
18 Mar
'10
2:14 a.m.
Hi, I wrote a script to filter out the matching syslog messages and send as SNMP traps. In syslog-ng.conf, I use: filter f_snmp { match("XXXX" value("MESSAGE")) destination d_snmp(program("send_trap.sh")) If I use logger to manually generate the messages, the traps can be sent successfully. But if the exact same syslog message that was generated by a program, the traps were not triggered. I use syslog-ng version 3.0.5-1 x86_64. Can anyone provide any insight on this issue? Thanks Xuan _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:W...