]> git.netwichtig.de Git - user/henk/code/puppet/modules/logcheck.git/commitdiff
Updates/downdates for puppet4 and adding wilhelm
authorroot <root@wilhelm.netwichtig.de>
Fri, 7 Sep 2018 18:06:48 +0000 (21:06 +0300)
committerroot <root@wilhelm.netwichtig.de>
Fri, 7 Sep 2018 18:06:48 +0000 (21:06 +0300)
downgrade hiera config
move modules to expected path
rewrite apt::config module
remove obsolete variables from manifests

17 files changed:
files/etc/logcheck/ignore.d.server/local-dhcpcd [new file with mode: 0644]
files/etc/logcheck/ignore.d.server/local-minissdpd [new file with mode: 0644]
files/etc/logcheck/ignore.d.server/local-sympa [new file with mode: 0644]
files/etc/logcheck/ignore.d.workstation/local-dbus [new file with mode: 0644]
files/etc/logcheck/ignore.d.workstation/local-kde [new file with mode: 0644]
files/etc/logcheck/ignore.d.workstation/local-networkmanager [new file with mode: 0644]
files/etc/logcheck/ignore.d.workstation/local-wpasupplicant [new file with mode: 0644]
manifests/config.pp [new file with mode: 0644]
manifests/init.pp [new file with mode: 0644]
manifests/install.pp [new file with mode: 0644]
templates/etc/logcheck/logcheck.conf [new file with mode: 0644]
templates/etc/logcheck/logcheck.conf.jindujun.netwichtig.de [new symlink]
templates/etc/logcheck/logcheck.conf.leonardo.netwichtig.de [new file with mode: 0644]
templates/etc/logcheck/logcheck.conf.nuisance.local.hnjs.ch [new symlink]
templates/etc/logcheck/logcheck.conf.spielfix.local.hnjs.ch [new symlink]
templates/etc/logcheck/logcheck.conf.storix.local.hnjs.ch [new symlink]
templates/etc/logcheck/logcheck.conf.zwergnase.local.hnjs.ch [new symlink]

diff --git a/files/etc/logcheck/ignore.d.server/local-dhcpcd b/files/etc/logcheck/ignore.d.server/local-dhcpcd
new file mode 100644 (file)
index 0000000..b0ade15
--- /dev/null
@@ -0,0 +1,9 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: removing route to [[:digit:].]+/[[:digit:]]{1,2} metric 0$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: adding IP address [[:digit:].]+/[[:digit:]]{1,2}$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: adding default route via [[:digit:].]+ metric 0$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: adding route to [[:digit:].]+/[[:digit:]]{1,2} metric 0$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd.sh: interface (eth|wlan)[[:digit:]] has been configured with old IP=[[:digit:].]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: renewing lease of [[:digit:].]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: leased [[:digit:].]+ for [[:digit:]]+ seconds$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\[[[:digit:]]+\]: (eth|wlan)[[:digit:]]: acknowledged [[:digit:].]+ from [[:digit:].]+$
+
diff --git a/files/etc/logcheck/ignore.d.server/local-minissdpd b/files/etc/logcheck/ignore.d.server/local-minissdpd
new file mode 100644 (file)
index 0000000..3bb7af7
--- /dev/null
@@ -0,0 +1,2 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ minissdpd\[[[:digit:]]+\]: [[:digit:]]+ new devices added$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ minissdpd\[[[:digit:]]+\]: [[:digit:]]+ devices removed (good-bye!)$
diff --git a/files/etc/logcheck/ignore.d.server/local-sympa b/files/etc/logcheck/ignore.d.server/local-sympa
new file mode 100644 (file)
index 0000000..9291d80
--- /dev/null
@@ -0,0 +1,123 @@
+^DISABLED\w{3} [ :0-9]{11} [._[:alnum:]-]+ bounced\[[0-9]+\]: main::update_subscriber_bounce_history\(\) Received bounce for email address [[:alnum:].-]+@[[:alnum:].-]+, list [[:alnum:].-]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ bulk\[[0-9]+\]: Done sending message [[:alnum:]]+ to list [[:alnum:].-]+@lists\.netwichtig\.de \(priority [[:digit:]]\) in [[:digit:]] seconds since scheduled expedition date\. Now sending VERP\.$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: List::send_msg_digest\(\) No subscriber for sending digest in list [[:alnum:].-]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::DoFile\(\) Processing \/var\/spool\/sympa\/msg\/[[:alnum:].-]+@lists\.netwichtig\.de\.[[:digit:]]{10}\.[[:digit:]]{4,5} ; sender: [[:alnum:] "<>.-@]+#012 ; message-id: <[[:alnum:].-]+@[[:alnum:].-]+>#012$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::DoMessage\(\) Message for [[:alnum:].-]+ from [[:alnum:].-]+@[[:alnum:].-]+ accepted \([[:digit:]]+ seconds, [[:digit:]]+ sessions, [[:digit:]]+ subscribers\), message-id=<[[:alnum:].-]+@[[:alnum:].-]+>#012, size=[[:digit:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::DoMessage\(\) Processing message for [[:alnum:].-]+ with priority [[:digit:]], <[[:alnum:].-]+@[[:alnum:].-]+>#012$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::DoSendMessage\(\) Message for [[:alnum:].-]+@[[:alnum:].-]+\.[[:alnum:]]+ sent$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::DoSendMessage\(\) Processing web message for [[:alnum:].-]+@[[:alnum:].-]+\.[[:alnum:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::SendDigest\(\) Digest of the list [[:alnum:].-]+ sent \([[:digit:]]+ seconds\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: main::SendDigest\(\) Sending digest to list [[:alnum:].-]+@lists.netwichtig.de$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: tools::CleanSpool\(\) Deleting old directory \/var\/spool\/sympa\/moderation\/[[:alnum:].-]+@lists\.netwichtig\.de_[[:alnum:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: tools::CleanSpool\(\) Deleting old file \/var\/spool\/sympa\/msg\/bad\/[[:alnum:].-]+@lists\.netwichtig\.de\.[[:digit:]]{10}\.[[:digit:]]{5}$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sympa\[[0-9]+\]: tools::CleanSpool\(\) Deleting old file \/var\/spool\/sympa\/tmp\/[[:digit:]]{5}\.stderr$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.eval_bouncers\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.expire_bounce\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.process_bouncers\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_logs_table\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_one_time_ticket_table\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_orphan_bounces\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_session_table\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_tables\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) creation of \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_user_table\._global$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/eval_bouncers\.daily\.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/expire_bounce\.daily\.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/process_bouncers.weekly.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/purge_logs_table\.daily\.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/purge_one_time_ticket_table.daily.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/purge_orphan_bounces\.monthly\.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/purge_session_table\.daily\.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/purge_tables.daily.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::create\(\) with model \/usr\/share\/sympa\/default\/global_task_models\/purge_user_table\.monthly\.task$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::eval_bouncers\(\) eval_bouncers\([[:alnum:].-]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.eval_bouncers\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.expire_bounce\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.process_bouncers\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_logs_table\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_one_time_ticket_table\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_orphan_bounces\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_session_table\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_tables\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::execute\(\) Running task \/var\/spool\/sympa\/task\/[[:digit:]]{10}\.ACTION\.purge_user_table\._global, line 0 with vars \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of eval_bouncers : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of expire_bounce : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of process_bouncers : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of purge_logs_table : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of purge_one_time_ticket_table : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of purge_orphan_bounces : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of purge_session_table : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of purge_tables : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) line [[:digit:]] of purge_user_table : next \([[:digit:]]{10}, ACTION\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task eval_bouncers \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task expire_bounce \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task process_bouncers \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task purge_logs_table \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task purge_one_time_ticket_table \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task purge_orphan_bounces \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task purge_session_table \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task purge_tables \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::next_cmd\(\) --> new task purge_user_table \([[:alnum:][:space:]]{33}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::process_bouncers\(\) Processing automatic actions on bouncing users$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_logs_table\(\) purge_logs_table\(\): logs purged$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_one_time_ticket_table\(\) purge_one_time_ticket_table\(\): [[:digit:]]+ row removed in one_time_ticket_table$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_one_time_ticket_table\(\) task_manager::purge_one_time_ticket_table\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_orphan_bounces\(\) No bouncing subscribers in list [[:alnum:].-]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_orphan_bounces\(\) purge_orphan_bounces\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_session_table\(\) purge_session_table\(\): [[:digit:]]+ row removed in session_table$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_session_table\(\) task_manager::purge_session_table\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_tables\(\) [[:digit:]]+ rows removed in bulkspool_table$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: main::purge_tables\(\) task_manager::purge_tables\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: SympaSession::purge_old_sessions\(\) SympaSession::purge_old_sessions\(\*,\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ task_manager\[[0-9]+\]: SympaSession::purge_old_tickets\(\) SympaSession::purge_old_tickets\(\*,\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: Auth::authentication\(\) authentication: incorrect password for user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: Auth::create_one_time_ticket\(\) Auth::create_one_time_ticket\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+,lists\.netwichtig\.de,choosepasswd,[0-9.]{7,15}\) value = [[:digit:]]{10}$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: Auth::get_one_time_ticket\(\) xxxx Auth::get_one_time_ticket\([[:digit:]]{14}\) : result : closed$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: Auth::get_one_time_ticket\(\) xxxx Auth::get_one_time_ticket\([[:digit:]]{14}\) : result : success$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: List::parseCustomAttribute\(\) Failed to parse XML data$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[alt [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_home\(\) do_home$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[alt [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_logout\(\) do_logout: logout performed$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::do_info\(\) do_info$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::do_login\(\) do_login\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::do_sigrequest\(\) do_sigrequest\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::do_subrequest\(\) do_subrequest\(,\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::do_subscribe\(\) do_subscribe\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::check_action_parameters\(\) user not logged in$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[list [[:alnum:].-]+\] main::do_loginrequest\(\) do_loginrequest$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_help\(\) do_help\(([[:alnum:]_]+)?\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_home\(\) do_home$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_firstpasswd\(\) do_firstpasswd\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] (\[rss\] )?main::do_lists\(\) do_lists\([[:alnum:],]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] (\[rss\] )?main::do_latest_lists\(\) do_latest_lists\(, [[:alnum:]]+,[[:alnum:]]*, \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] (\[rss\] )?main::do_active_lists\(\) do_active_lists\(, [[:alnum:]]+,[[:alnum:]]*, \)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_login\(\) do_login\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_login\(\) do_login: missing parameter passwd$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_logout\(\) do_logout: logout performed$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_renewpasswd\(\) do_renewpasswd\(([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+)?\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_requestpasswd\(\) do_requestpasswd\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] main::do_ticket\(\) do_ticket\([[:digit:]]{14}\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] unknown action sendpasswd$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_add\(\) do_add\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_add\(\) do_add\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+,\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_add_request\(\) do_add_request\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_admin\(\) do_admin$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_compose_mail\(\) do_compose_mail$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_editsubscriber\(\) do_editsubscriber\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_info\(\) do_info$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_reviewbouncing\(\) do_reviewbouncing\(0\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_review\(\) do_review\(0\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] (\[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] )?\[list [[:alnum:].-]+\] main::do_rss_request\(\) do_rss_request$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_subindex\(\) do_subindex$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_suboptions\(\) do_suboptions\(\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_viewbounce\(\) do_viewbounce\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] \[list [[:alnum:].-]+\] main::do_viewlogs\(\) do_viewlogs\([[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_choosepasswd\(\) do_choosepasswd$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_home\(\) do_home$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_lists\(\) do_lists\(,\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_login\(\) do_login\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_login\(\) do_login: user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+ already logged in$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_logout\(\) do_logout\([[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_pref\(\) do_pref$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_redirect\(\) do_redirect\([[:alnum:]:/.-]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_redirect\(\) do_redirect\(https://lists.netwichtig.de/wws\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wwsympa\[[0-9]+\]: \[robot [._[:alnum:]-]+\] \[session [[:digit:]]+\] \[client [[:digit:]A-Fa-f.:]+\] \[user [[:alnum:].-]+@[[:alnum:]-]+.[[:alnum:]]+\] main::do_ticket\(\) do_ticket\([[:digit:]]{14}\)$
+
diff --git a/files/etc/logcheck/ignore.d.workstation/local-dbus b/files/etc/logcheck/ignore.d.workstation/local-dbus
new file mode 100644 (file)
index 0000000..fca21d1
--- /dev/null
@@ -0,0 +1,3 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dbus\[[0-9]+\]: \[system\] Activating service name='[^']+' \(using servicehelper\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dbus\[[0-9]+\]: \[system\] Successfully activated service '[^']+'$
+
diff --git a/files/etc/logcheck/ignore.d.workstation/local-kde b/files/etc/logcheck/ignore.d.workstation/local-kde
new file mode 100644 (file)
index 0000000..ddb9f1b
--- /dev/null
@@ -0,0 +1 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ org.kde.powerdevil.backlighthelper: QDBusConnection: system D-Bus connection created before QCoreApplication\. Application may misbehave\.$
diff --git a/files/etc/logcheck/ignore.d.workstation/local-networkmanager b/files/etc/logcheck/ignore.d.workstation/local-networkmanager
new file mode 100644 (file)
index 0000000..5de9bd0
--- /dev/null
@@ -0,0 +1,2 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ NetworkManager\[[0-9]+\]: <info> Policy set 'Wired connection [[:digit:]]' (eth[[:digit:]]) as default for IPv[46] routing and DNS\.$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ NetworkManager\[[0-9]+\]: <info> Activation \(eth[[:digit:]]\) Stage [[:digit:]] of 5 \(.*\) (scheduled|started|complete)\.{1,3}$
diff --git a/files/etc/logcheck/ignore.d.workstation/local-wpasupplicant b/files/etc/logcheck/ignore.d.workstation/local-wpasupplicant
new file mode 100644 (file)
index 0000000..c20b0f2
--- /dev/null
@@ -0,0 +1 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ wpa_supplicant\[[0-9]+\]: (wlan[0-9]*: )?WPA: Group rekeying completed with ([0-9a-f]{2}:){5}[0-9a-f]{2} \[GTK=(CCMP|TKIP)\]$
diff --git a/manifests/config.pp b/manifests/config.pp
new file mode 100644 (file)
index 0000000..58e07b7
--- /dev/null
@@ -0,0 +1,64 @@
+class logcheck::config ($reportlevel) {
+  file {
+#    '/etc/logcheck/logcheck.conf':
+#      ensure            => present,
+#      content           => template("logcheck/etc/logcheck/logcheck.conf.${::fqdn}"),
+#    ;
+
+    '/etc/logcheck/ignore.d.server/':
+      ensure            => directory,
+      source           => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.server/',
+      recurse          => remote,
+      replace          => false,
+#      group             => 'logcheck',
+#      mode              => '2750',
+    ;
+
+    '/etc/logcheck/ignore.d.workstation/':
+      ensure            => directory,
+      source           => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/',
+      recurse          => remote,
+      replace          => false,
+#      group             => 'logcheck',
+#      mode              => '2750',
+    ;
+
+#    '/etc/logcheck/ignore.d.workstation/local-wpasupplicant':
+#      ensure            => present,
+#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-wpasupplicant',
+#      group             => 'logcheck',
+#    ;
+#
+#    '/etc/logcheck/ignore.d.workstation/local-dbus':
+#      ensure            => present,
+#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-dbus',
+#      group             => 'logcheck',
+#    ;
+#
+#    '/etc/logcheck/ignore.d.workstation/local-kde':
+#      ensure            => present,
+#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-kde',
+#      group             => 'logcheck',
+#    ;
+#
+#    '/etc/logcheck/ignore.d.workstation/local-networkmanager':
+#      ensure            => present,
+#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-networkmanager',
+#      group             => 'logcheck',
+#    ;
+#    '/etc/logcheck/ignore.d.workstation/local-dhcpcd':
+#      ensure            => absent,
+#    ;
+#    '/etc/logcheck/ignore.d.server/local-sympa':
+#      ensure            => present,
+#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.server/local-sympa',
+#      group             => 'logcheck',
+#    ;
+#    '/etc/logcheck/ignore.d.server/local-dhcpcd':
+#      ensure            => present,
+#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.server/local-dhcpcd',
+#      group             => 'logcheck',
+#    ;
+  }
+}
+
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644 (file)
index 0000000..fde9661
--- /dev/null
@@ -0,0 +1,9 @@
+class logcheck ($reportlevel = lookup('logcheck_reportlevel')) {
+  class {
+    "::${name}::install":                 ;
+    "::${name}::config":
+      reportlevel             => $reportlevel,
+    ;
+  }
+}
+
diff --git a/manifests/install.pp b/manifests/install.pp
new file mode 100644 (file)
index 0000000..03367b1
--- /dev/null
@@ -0,0 +1,8 @@
+class logcheck::install {
+  package {
+    ['logcheck','logcheck-database']:
+      ensure        => installed,
+    ;
+  }
+}
+
diff --git a/templates/etc/logcheck/logcheck.conf b/templates/etc/logcheck/logcheck.conf
new file mode 100644 (file)
index 0000000..8509ea3
--- /dev/null
@@ -0,0 +1,85 @@
+# The following variable settings are the initial default values,
+# which can be uncommented and modified to alter logcheck's behaviour
+
+# Controls the format of date-/time-stamps in subject lines:
+# Alternatively, set the format to suit your locale
+
+#DATE="$(date +'%Y-%m-%d %H:%M')"
+
+# Controls the presence of boilerplate at the top of each message:
+# Alternatively, set to "0" to disable the introduction.
+#
+# If the files /etc/logcheck/header.txt and /etc/logcheck/footer.txt
+# are present their contents will be read and used as the header and
+# footer of any generated mails.
+
+#INTRO=1
+
+# Controls the level of filtering:
+# Can be Set to "workstation", "server" or "paranoid" for different
+# levels of filtering. Defaults to server if not set.
+
+REPORTLEVEL="<%= reportlevel %>"
+
+# Controls the address mail goes to:
+# *NOTE* the script does not set a default value for this variable!
+# Should be set to an offsite "emailaddress@some.domain.tld"
+
+SENDMAILTO="logcheck"
+
+# Send the results as attachment or not.
+# 0=not as attachment; 1=as attachment; 2=as gzip attachment
+# Default is 0
+
+MAILASATTACH=0
+
+# Should the hostname in the subject of generated mails be fully qualified?
+
+FQDN=1
+
+# Controls whether "sort -u" is used on log entries (which will
+# eliminate duplicates but destroy the original ordering); the
+# default is to use "sort -k 1,3 -s":
+# Alternatively, set to "1" to enable unique sorting
+
+#SORTUNIQ=0
+
+# Controls whether /etc/logcheck/cracking.ignore.d is scanned for
+# exceptions to the rules in /etc/logcheck/cracking.d:
+# Alternatively, set to "1" to enable cracking.ignore support
+
+#SUPPORT_CRACKING_IGNORE=0
+
+# Controls the base directory for rules file location
+# This must be an absolute path
+
+#RULEDIR="/etc/logcheck"
+
+# Controls if syslog-summary is run over each section.
+# Alternatively, set to "1" to enable extra summary.
+# HINT: syslog-summary needs to be installed.
+
+#SYSLOGSUMMARY=0
+
+# Controls Subject: lines on logcheck reports:
+
+#ATTACKSUBJECT="Security Alerts"
+#SECURITYSUBJECT="Security Events"
+#EVENTSSUBJECT="System Events"
+
+# Controls [logcheck] prefix on Subject: lines
+
+#ADDTAG="no"
+
+# Set a different location for temporary files than /tmp
+# this is useful if your /tmp is small and you are getting
+# errors such as:
+# cp: writing `/tmp/logcheck.y12449/checked': No space left on device
+# /usr/sbin/logcheck: line 161: cannot create temp file for here document: No space left on device
+# mail: /tmp/mail.RsXXXXpc2eAx: No space left on device
+# Null message body; hope that's ok
+#
+# If this is happening, likely you will want to change the following to be some other
+# location, such as /var/tmp
+
+TMP="/tmp"
diff --git a/templates/etc/logcheck/logcheck.conf.jindujun.netwichtig.de b/templates/etc/logcheck/logcheck.conf.jindujun.netwichtig.de
new file mode 120000 (symlink)
index 0000000..01fb3f1
--- /dev/null
@@ -0,0 +1 @@
+logcheck.conf
\ No newline at end of file
diff --git a/templates/etc/logcheck/logcheck.conf.leonardo.netwichtig.de b/templates/etc/logcheck/logcheck.conf.leonardo.netwichtig.de
new file mode 100644 (file)
index 0000000..75e624e
--- /dev/null
@@ -0,0 +1,85 @@
+# The following variable settings are the initial default values,
+# which can be uncommented and modified to alter logcheck's behaviour
+
+# Controls the format of date-/time-stamps in subject lines:
+# Alternatively, set the format to suit your locale
+
+#DATE="$(date +'%Y-%m-%d %H:%M')"
+
+# Controls the presence of boilerplate at the top of each message:
+# Alternatively, set to "0" to disable the introduction.
+#
+# If the files /etc/logcheck/header.txt and /etc/logcheck/footer.txt
+# are present their contents will be read and used as the header and
+# footer of any generated mails.
+
+#INTRO=1
+
+# Controls the level of filtering:
+# Can be Set to "workstation", "server" or "paranoid" for different
+# levels of filtering. Defaults to server if not set.
+
+REPORTLEVEL="<%= reportlevel %>"
+
+# Controls the address mail goes to:
+# *NOTE* the script does not set a default value for this variable!
+# Should be set to an offsite "emailaddress@some.domain.tld"
+
+SENDMAILTO="logcheck"
+
+# Send the results as attachment or not.
+# 0=not as attachment; 1=as attachment
+# Default is 0
+
+MAILASATTACH=0
+
+# Should the hostname in the subject of generated mails be fully qualified?
+
+FQDN=1
+
+# Controls whether "sort -u" is used on log entries (which will
+# eliminate duplicates but destroy the original ordering); the
+# default is to use "sort -k 1,3 -s":
+# Alternatively, set to "1" to enable unique sorting
+
+#SORTUNIQ=0
+
+# Controls whether /etc/logcheck/cracking.ignore.d is scanned for
+# exceptions to the rules in /etc/logcheck/cracking.d:
+# Alternatively, set to "1" to enable cracking.ignore support
+
+#SUPPORT_CRACKING_IGNORE=0
+
+# Controls the base directory for rules file location
+# This must be an absolute path
+
+#RULEDIR="/etc/logcheck"
+
+# Controls if syslog-summary is run over each section.
+# Alternatively, set to "1" to enable extra summary.
+# HINT: syslog-summary needs to be installed.
+
+#SYSLOGSUMMARY=0
+
+# Controls Subject: lines on logcheck reports:
+
+#ATTACKSUBJECT="Security Alerts"
+#SECURITYSUBJECT="Security Events"
+#EVENTSSUBJECT="System Events"
+
+# Controls [logcheck] prefix on Subject: lines
+
+#ADDTAG="no"
+
+# Set a different location for temporary files than /tmp
+# this is useful if your /tmp is small and you are getting
+# errors such as:
+# cp: writing `/tmp/logcheck.y12449/checked': No space left on device
+# /usr/sbin/logcheck: line 161: cannot create temp file for here document: No space left on device
+# mail: /tmp/mail.RsXXXXpc2eAx: No space left on device
+# Null message body; hope that's ok
+#
+# If this is happening, likely you will want to change the following to be some other
+# location, such as /var/tmp
+
+TMP="/tmp"
diff --git a/templates/etc/logcheck/logcheck.conf.nuisance.local.hnjs.ch b/templates/etc/logcheck/logcheck.conf.nuisance.local.hnjs.ch
new file mode 120000 (symlink)
index 0000000..01fb3f1
--- /dev/null
@@ -0,0 +1 @@
+logcheck.conf
\ No newline at end of file
diff --git a/templates/etc/logcheck/logcheck.conf.spielfix.local.hnjs.ch b/templates/etc/logcheck/logcheck.conf.spielfix.local.hnjs.ch
new file mode 120000 (symlink)
index 0000000..01fb3f1
--- /dev/null
@@ -0,0 +1 @@
+logcheck.conf
\ No newline at end of file
diff --git a/templates/etc/logcheck/logcheck.conf.storix.local.hnjs.ch b/templates/etc/logcheck/logcheck.conf.storix.local.hnjs.ch
new file mode 120000 (symlink)
index 0000000..01fb3f1
--- /dev/null
@@ -0,0 +1 @@
+logcheck.conf
\ No newline at end of file
diff --git a/templates/etc/logcheck/logcheck.conf.zwergnase.local.hnjs.ch b/templates/etc/logcheck/logcheck.conf.zwergnase.local.hnjs.ch
new file mode 120000 (symlink)
index 0000000..01fb3f1
--- /dev/null
@@ -0,0 +1 @@
+logcheck.conf
\ No newline at end of file