Dear, I have this syslog platform: - Debian 7 - Syslog-ng 3.3.5.-4 (installed via apt-get) - Php-syslog-ng (graphical interface) - Postfix I need to configure syslog-ng in order to send email alerts/notifications about some specific events. Is it possible to implement with this syslog-ng version and what is the way??? Thanks a lot!!! Roberto
On Wed, 2014-12-17 at 10:41 -0300, Roberto Carna wrote:
Dear, I have this syslog platform:
- Debian 7 - Syslog-ng 3.3.5.-4 (installed via apt-get) - Php-syslog-ng (graphical interface) - Postfix
I need to configure syslog-ng in order to send email alerts/notifications about some specific events.
Is it possible to implement with this syslog-ng version and what is the way???
With 3.3, you can use the program() destination, and a shell script. If you upgrade to 3.5 (available on backports.debian.org), then you can use the smtp() destination. I would recommend upgrading to 3.5. With the smtp() destination, you can filter events any way you like, and then route them to the mail destination. Please see the excellent administrator guide[1] on how to achieve that. [1]: http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.5-guide... -- |8]
OK Gargely, special thanks for your help....so I'll upgrade to 3.5... And the last question please: what web interface do you recommend in order to view and filter logs events ??? Now I'm using Php-syslog-ng, but I´d like to know if there is another graphical interface more powerful. Thanks a lot!!! Roberto 2014-12-17 11:08 GMT-03:00 Gergely Nagy <algernon@madhouse-project.org>:
On Wed, 2014-12-17 at 10:41 -0300, Roberto Carna wrote:
Dear, I have this syslog platform:
- Debian 7 - Syslog-ng 3.3.5.-4 (installed via apt-get) - Php-syslog-ng (graphical interface) - Postfix
I need to configure syslog-ng in order to send email alerts/notifications about some specific events.
Is it possible to implement with this syslog-ng version and what is the way???
With 3.3, you can use the program() destination, and a shell script. If you upgrade to 3.5 (available on backports.debian.org), then you can use the smtp() destination.
I would recommend upgrading to 3.5.
With the smtp() destination, you can filter events any way you like, and then route them to the mail destination. Please see the excellent administrator guide[1] on how to achieve that.
[1]: http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.5-guide...
-- |8]
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
On Wed, 2014-12-17 at 11:19 -0300, Roberto Carna wrote:
OK Gargely, special thanks for your help....so I'll upgrade to 3.5...
And the last question please: what web interface do you recommend in order to view and filter logs events ??? Now I'm using Php-syslog-ng, but I´d like to know if there is another graphical interface more powerful.
I would recommend Kibana. You might wish to read http://devops.com/features/guide-modern-monitoring-alerting/ and borrow ideas from there. -- |8]
Thanks again, I'll start to read right now !!! Regards, Roberto 2014-12-17 11:22 GMT-03:00 Gergely Nagy <algernon@madhouse-project.org>:
On Wed, 2014-12-17 at 11:19 -0300, Roberto Carna wrote:
OK Gargely, special thanks for your help....so I'll upgrade to 3.5...
And the last question please: what web interface do you recommend in order to view and filter logs events ??? Now I'm using Php-syslog-ng, but I´d like to know if there is another graphical interface more powerful.
I would recommend Kibana.
You might wish to read http://devops.com/features/guide-modern-monitoring-alerting/ and borrow ideas from there.
-- |8]
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
participants (2)
-
Gergely Nagy
-
Roberto Carna