Results 1 to 4 of 4

Thread: syslog-ng log alert email

  1. #1
    henders254 NNTP User

    Default syslog-ng log alert email


    I am using syslog-ng in my logserver - logs are collected in separate
    files for each server, all the files are rotated once a week. Is there
    any program I can use to send me an email warning end of every day for
    [kern.err] and [kern.warn]?

    Thanks for any suggestions.


    --
    henders254
    ------------------------------------------------------------------------
    henders254's Profile: http://forums.opensuse.org/member.php?userid=3146
    View this thread: http://forums.opensuse.org/showthread.php?t=407709


  2. #2
    ken yap NNTP User

    Default Re: syslog-ng log alert email


    How do you mean? Email you the contents of those files? Maybe a cron
    job?


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=407709


  3. #3
    henders254 NNTP User

    Default Re: syslog-ng log alert email


    ken_yap;1943621 Wrote:
    > How do you mean? Email you the contents of those files? Maybe a cron
    > job?


    No, emailing the total log content would be too much information. I am
    looking for something that could send out an alert. I could write my own
    but wondering if there is something already available.

    Thanks.


    --
    henders254
    ------------------------------------------------------------------------
    henders254's Profile: http://forums.opensuse.org/member.php?userid=3146
    View this thread: http://forums.opensuse.org/showthread.php?t=407709


  4. #4
    ken yap NNTP User

    Default Re: syslog-ng log alert email


    So you want an email each day if there have been any log messages in
    those categories? Sounds like a job to do a grep then email would do
    what you want.

    You could get syslog-ng to send those two categories to a socket
    destination and the listening process would make an email of any input,
    but that would be even more complicated.


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=407709


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •