[syslog-ng] snmptrapd to syslog-ng 3.1

Smart, Dan SmartD at VMCMAIL.com
Fri Aug 19 20:40:24 CEST 2011


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....


More information about the syslog-ng mailing list