Changeset 817 for server/fedora/config


Ignore:
Timestamp:
Aug 20, 2008, 11:51:23 AM (16 years ago)
Author:
geofft
Message:
Added code to zephyr on OOM kills.

Also commented out a change by someone who doesn't believe in something.
Location:
server/fedora/config/etc/syslog-ng
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/config/etc/syslog-ng/d_zroot.pl

    r784 r817  
    8787                sendmsg($message." (UNKNOWN KEY)");
    8888            }
     89        } elsif ($message =~ m|^Out of memory:|) {
     90            sendmsg($message);
    8991        } elsif ($message =~ m|^Connection closed|) {
    9092            # Do nothing
  • server/fedora/config/etc/syslog-ng/syslog-ng.conf

    r645 r817  
    6666
    6767destination d_zroot { program("/etc/syslog-ng/d_zroot.pl"); };
     68#destination d_watch { program("/usr/local/libexec/watch-syslog.py"); };
    6869
    6970#filter f_filter1   { facility(kern); };
     
    7879filter f_filter8   { facility(cron); };
    7980
    80 filter f_zroot     { facility(authpriv); };
     81filter f_oom { facility(kern) and (match("Out of memory:") or match("Killed process")); };
    8182
    8283#log { source(s_sys); filter(f_filter1); destination(d_cons); };
     
    8990log { source(s_sys); filter(f_filter8); destination(d_cron); };
    9091
    91 log { source(s_sys); filter(f_zroot); destination(d_zroot); };
     92log { source(s_sys); filter(f_filter3); destination(d_zroot); };
     93#log { source(s_sys); filter(f_filter2); destination(d_watch); };
     94log { source(s_sys); filter(f_oom); destination(d_zroot); };
    9295
    9396# vim:set ai ts=4 sw=4 sts=4 et:
Note: See TracChangeset for help on using the changeset viewer.