[PATCH] autoignore generated data for all hosts in munin.conf

Guido Guenther agx at sigxcpu.org
Thu Sep 25 12:03:58 UTC 2008


---
 debian/aide.conf.d/31_aide_munin-nodes |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 debian/aide.conf.d/31_aide_munin-nodes

diff --git a/debian/aide.conf.d/31_aide_munin-nodes b/debian/aide.conf.d/31_aide_munin-nodes
new file mode 100644
index 0000000..f99504d
--- /dev/null
+++ b/debian/aide.conf.d/31_aide_munin-nodes
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# generate aide exclude patterns for all nodes listed in $MUNINCONF
+
+MUNINCONF=/etc/munin/munin.conf
+HOSTS=$(grep '^\[[[:alnum:]:.]\+\]' $MUNINCONF | tr -d '[]')
+
+escape_dots()
+{
+    echo $1 | sed 's/\./\\\./g'
+}
+
+for HOST in $HOSTS; do
+	DOMAIN=$(escape_dots ${HOST#*.})
+	DHOST=$(escape_dots $HOST)
+
+	echo "/var/www/munin/$DOMAIN/(index\.html|$DHOST(-.*)?\.(png|html))$ VarFile"
+	echo "/var/lib/munin/$DOMAIN/$DHOST-.*\.rrd$ VarFile"
+	echo "/var/run/munin/munin-(update|datafile|$DOMAIN-$DHOST|limits)\.lock$ VarFile"
+done
-- 
1.5.6.5


--IJpNTDwzlM2Ie8A6--



------------=_1252430122-21406-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 500159-close) by bugs.debian.org; 8 Sep 2009 17:02:38 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rietz.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 151; neutral, 374; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*RU:128.148.34.103, 0.000-+--H*rp:D*ftp-master.debian.org,
	0.000-+--UD:diff.gz, 0.000-+--HX-DAK:dak
X-Spam-Status: No, score=-12.7 required=4.0 tests=BAYES_00,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,HEADER_X_KATIE,IMPRONONCABLE_2,
	MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD2,PGPSIGNATURE autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Return-path: <envelope at ftp-master.debian.org>
Received: from ries.debian.org ([128.148.34.103])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1Ml45W-0008Tr-4O
	for 500159-close at bugs.debian.org; Tue, 08 Sep 2009 17:02:38 +0000
Received: from dak by ries.debian.org with local (Exim 4.69)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1Ml3cG-0003B5-FD; Tue, 08 Sep 2009 16:32:24 +0000
From: Marc Haber <mh at nechayev.zugschlus.de>
To: 500159-close at bugs.debian.org
X-DAK: dak process-unchecked
X-Katie: $Revision: 1.65 $
X-Debian: DAK
X-Debian-Package: aide
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#500159: fixed in aide 0.13.1-11
Message-Id: <E1Ml3cG-0003B5-FD at ries.debian.org>
Sender: Archive Administrator <dak at ries.debian.org>
Date: Tue, 08 Sep 2009 16:32:24 +0000

Source: aide
Source-Version: 0.13.1-11

We believe that the bug you reported is fixed in the latest version of
aide, which is due to be installed in the Debian FTP archive:

aide-common_0.13.1-11_all.deb
  to pool/main/a/aide/aide-common_0.13.1-11_all.deb
aide-dynamic_0.13.1-11_i386.deb
  to pool/main/a/aide/aide-dynamic_0.13.1-11_i386.deb
aide-xen_0.13.1-11_i386.deb
  to pool/main/a/aide/aide-xen_0.13.1-11_i386.deb
aide_0.13.1-11.diff.gz
  to pool/main/a/aide/aide_0.13.1-11.diff.gz
aide_0.13.1-11.dsc
  to pool/main/a/aide/aide_0.13.1-11.dsc
aide_0.13.1-11_i386.deb
  to pool/main/a/aide/aide_0.13.1-11_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 500159 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh at nechayev.zugschlus.de> (supplier of updated aide package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 08 Sep 2009 14:45:51 +0200
Source: aide
Binary: aide aide-xen aide-dynamic aide-common aide-config-zg2
Architecture: source i386 all
Version: 0.13.1-11
Distribution: unstable
Urgency: low
Maintainer: Aide Maintainers <pkg-aide-maintainers at lists.alioth.debian.org>
Changed-By: Marc Haber <mh at nechayev.zugschlus.de>
Description: 
 aide       - Advanced Intrusion Detection Environment - static binary
 aide-common - Advanced Intrusion Detection Environment - Common files
 aide-config-zg2 - Advanced Intrusion Detection Environment - Zg2 configuration exte
 aide-dynamic - Advanced Intrusion Detection Environment - dynamic binary
 aide-xen   - Advanced Intrusion Detection Environment - static binary for XEN
Closes: 472692 475983 476502 500159 500438 501848 506747 520019 540748 540987 541345 541478 541680 542541 544414 544688 544690 544765 544768 544815 544816 544817 544818 545011 545014
Changes: 
 aide (0.13.1-11) unstable; urgency=low
 .
   * Fix ] typo in 31_aide_amanda-server. Closes: #476502
   * Add 30_aide_bind9 example to automatically snarf BINDCHROOT
     setting from /etc/default/bind9. Modify bind9 rules appropriately.
     Thanks to Guido Bozzetto. Closes: #475983
   * 31_aide_mailman: message number in archive dir can have six digits
   * 31_aide_proftpd: logs are in a subdir
   * Patches by Hannes von Haugwitz:
     * 31_aide_exim4_logs: fix log rotation
     * 31_aide_clamav: fix log rotation. Closes: #540748
     * 31_aide_munin: apply patch from Hannes von Haugwitz. Closes: #541680
     * 31_aide_cron-apt: fix log rotation: Closes: #540987
     * 31_aide_clamav-freshclam: fix log rotation. Closes: #544688
     * 31_aide_mailman: fix log rotation. Closes: #544765
     * 31_aide_apache2: fix log rotation. Closes: #544768
     * 31_aide_acpid: process pid file. Closes: #544817
     * 31_aide_clamav-freshclam, 31_aide_clamav: handle pid file.
       Closes: #544818
     * 31_aide_munin-nodes. don't fail if munin is not installed.
       Closes: #545011
     * 31_aide_bind9. Fix typo in svn version. Closes: #545014
   * New files by Hannes von Haugwitz:
     * 31_aide_rsyslogd
     * 31_aide_cracklib-runtime
     * 31_aide_logcheck
     * 31_aide_rkhunter
     * 31_aide_apt-file. Closes: #542541
     * 31_aide_hald. Closes: #541478
     * 31_aide_fail2ban. Closes: #541345
     * 31_aide_apt-show-versions. Closes: #544690
     * 31_aide_ddclient: Closes: #544815
     * 31_aide_apcupsd. Closes: #544816
   * Apply patches by Guido Günther:
     * New postgrey rule. Closes: #500438
     * Optimize munin rules (and add munin-nodes). Closes: #500159
     * fix udev backslash escaping (also thanks to Ian Redfern).
       Closes: #506747, #472692
   * 31_aide_syslog: replace with empty dummy
   * cron.daily: protect $LOGHEAD and $MAILHEAD with :- in two more
     places. Closes: #544414
   * more README.Debian clarifications, again, thanks to Russell Gadd
     and Bill Wohler.
   * remove obsolete TODO file
   * Fix typo in debian/control, thanks to Rogério Brito. Closes: #520019
   * debian/control: clarify that aide-xen should be used in both DomU
     and Dom0
   * Adapt Package to later Debian policy:
     * make sure that /var/run exists in daily cron job. Closes: #501848.
     * Add Homepage: field.
     * Standards-Version now 3.8.3
   * build depend on debhelper 5
   * add README.source refering to /usr/share/doc/dpatch/README.source.gz
   * Add lintian overrides to aide and aide-xen for embedded-zlib
     ./usr/bin/aide. The binaries _are_ statically linked as a feature.
   * Have aide-common depend on aide | aide-binary
   * depend on bsd-mailx instead of mailx
Checksums-Sha1: 
 d6239a76ac019e9fe8b1258b7168b941e9f711dc 1285 aide_0.13.1-11.dsc
 fcad4186a0d3a7fb3813f9dc143d2e1abfb7a15a 62501 aide_0.13.1-11.diff.gz
 3a0d0f8c3a19bbeb7df2bd187a5ce5a4cf65da14 534072 aide_0.13.1-11_i386.deb
 87cdd113e999e7829d0465518cbb25164e631932 87724 aide-common_0.13.1-11_all.deb
 0026a9053e8719f1361acb9ae3ccf5fd5938be54 566450 aide-xen_0.13.1-11_i386.deb
 403a21b602ce61f4514985034ddc00e8f0cb0776 100318 aide-dynamic_0.13.1-11_i386.deb
Checksums-Sha256: 
 52629180eaa3ab8f96148850ee8592e2e3c6acb186ec9b4bd10a6e0a2262b93a 1285 aide_0.13.1-11.dsc
 5f1691453af1cf12d6a661a9bae91e66bcc561e4b46f324cd09b678f1cd81f70 62501 aide_0.13.1-11.diff.gz
 93f1ff1292de2688eadbd6c06d9d725f26c1d772c93edc5b4358b84cd91e49d5 534072 aide_0.13.1-11_i386.deb
 b28b6a49617d0b21e273f1f144c56a12cd2ed17cc2e076d8f7762c90f999dc81 87724 aide-common_0.13.1-11_all.deb
 5d58e9e386521f0f4182316cda09c68fea0838221cc7cba67309cc31225051f1 566450 aide-xen_0.13.1-11_i386.deb
 9a97a64d303e6d25246b87f03a42bfc97f59757a211f136e425b36d4839db4b0 100318 aide-dynamic_0.13.1-11_i386.deb
Files: 
 7467c0ee9e05a7c8f57c6d3f1272740e 1285 admin optional aide_0.13.1-11.dsc
 aa264342f8a8b1f43b3a6533d40e26d0 62501 admin optional aide_0.13.1-11.diff.gz
 52eb36c1f5bb7fa51a3835478f8ea97f 534072 admin optional aide_0.13.1-11_i386.deb
 7360fb5bc2c74ba4555b07a3bc034784 87724 admin optional aide-common_0.13.1-11_all.deb
 fb4ba5346c9cb4011d5f8e636a088dd2 566450 admin optional aide-xen_0.13.1-11_i386.deb
 51fca545845414508ae3727797d3ac31 100318 admin optional aide-dynamic_0.13.1-11_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqmZc0ACgkQgZalRGu6PISt5ACgsxeXmys+43KyZePbFaDPHinN
WpgAn3C+eKU794p+S29PIdHBs+zecCkB
=I1lk
-----END PGP SIGNATURE-----



------------=_1252430122-21406-0--



More information about the Pkg-aide-maintainers mailing list