-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
92 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Installation | ||
If you change these paths then you'll have to patch the script and/or update syslog-ng.conf references | ||
See USAGE.md for configuration setup | ||
|
||
## configuration files | ||
``` | ||
cp -iv alert*.conf /etc/syslog-ng/ | ||
``` | ||
|
||
## script | ||
``` | ||
cp -iv syslog-alert.tcl /usr/local/sbin/ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
|
||
# syslog-alert | ||
I wrote this to dabble with TclOO while improving my solution for throttling email alerts from syslog-ng. | ||
|
||
* Provides per host message throttling and is intended to run on a centralized log collector. | ||
* Configurable sub exclusions to filter out false alarm noise. | ||
* Selectively alert different support groups, including shorter messages to pagers or mobile devices. | ||
|
||
See USAGE file for more information | ||
## concept | ||
* Reads standard input from syslog-ng OSE by using the program() driver. | ||
* Alerted logs are tracked within SQLite so recent occurrences can be discarded | ||
* Sendmail recipients are compiled from group memberships within SQLite | ||
* Two configuration files define the contacts and log pattern alert actions | ||
|
||
See USAGE.md and INSTALL.md for more information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters