diff options
author | Rich Megginson <rmeggins@redhat.com> | 2009-11-24 12:16:23 -0700 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2009-11-25 11:10:10 -0700 |
commit | 16e255be98bbb8b3bcfb080c632add7f048cfd44 (patch) | |
tree | 5c28a326b327c95ffb38ca2f9fcce19b5c684dea /Makefile.in | |
parent | b2e2a3f5294707e1ccf2b25fd281ce3653dac819 (diff) | |
download | ds-16e255be98bbb8b3bcfb080c632add7f048cfd44.tar.gz ds-16e255be98bbb8b3bcfb080c632add7f048cfd44.tar.xz ds-16e255be98bbb8b3bcfb080c632add7f048cfd44.zip |
Add Named Pipe Log Script, plugins, man page
The Named Pipe Log Script allows you to replace a log file with a named pipe attached to a script. The server can then send the log output to a script instead of to a log file. This allows you to do many different things such as:
* log only certain events e.g. failed binds, connections from certain ip addresses, etc.
* log only lines that match a certain pattern
* log only the last N lines - useful for enabling full error log debug levels in production environments
* send an email or other notification when a certain event is detected
The script is written in python, and allows plugins. By default, the script will log the last N lines (default 1000). There are two plugins provided - one to log only failed bind attempts, and one that will log only lines that match given regular expressions.
Reviewed by: nkinder (Thanks!) - found a bug in a comment
Resolves: bug 486171
Bug Description: [RFE] Access log - Failed binds
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index c2d51822..c00fd8f2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1247,7 +1247,9 @@ config_DATA = $(srcdir)/lib/ldaputil/certmap.conf \ # with the default schema e.g. there is # considerable overlap of 60changelog.ldif and 01common.ldif # and 60inetmail.ldif and 50ns-mail.ldif among others -sampledata_DATA = $(srcdir)/ldap/ldif/Ace.ldif \ +sampledata_DATA = ldap/admin/src/scripts/failedbinds.py \ + ldap/admin/src/scripts/logregex.py \ + $(srcdir)/ldap/ldif/Ace.ldif \ $(srcdir)/ldap/ldif/European.ldif \ $(srcdir)/ldap/ldif/Eurosuffix.ldif \ $(srcdir)/ldap/ldif/Example.ldif \ @@ -1339,7 +1341,8 @@ bin_SCRIPTS = ldap/servers/slapd/tools/rsearch/scripts/dbgen.pl \ wrappers/cl-dump \ ldap/admin/src/scripts/cl-dump.pl \ wrappers/repl-monitor \ - ldap/admin/src/scripts/repl-monitor.pl + ldap/admin/src/scripts/repl-monitor.pl \ + ldap/admin/src/scripts/ds-logpipe.py # SCRIPTS makes them executables - these are perl modules @@ -1418,6 +1421,7 @@ mib_DATA = ldap/servers/snmp/RFC-1215.txt \ dist_man_MANS = man/man1/dbscan.1 \ man/man1/cl-dump.1 \ man/man1/dbgen.pl.1 \ + man/man1/ds-logpipe.py.1 \ man/man1/dsktune.1 \ man/man1/infadd.1 \ man/man1/ldap-agent.1 \ |