Your message dated Thu, 14 Jun 2012 09:02:33 +0000
with message-id <[email protected]>
and subject line Bug#632940: fixed in collectd 5.1.0-1
has caused the Debian Bug report #632940,
regarding Wish for notify_syslog plugin
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
632940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632940
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: collectd-core
Severity: wishlist

collectd generates "notifications" internally, and its notify_email
plugin provides a notification handler that will send an email for
each one.

I prefer notifications to turn into syslog entries, so that even if
there are a hundred notifications all at once, I'll only get one email
from logcheck at the end of the hour.

This can be done by hand using NotificationExec, but I think this
functionality would be useful to be built-in as a C plugin.

FYI, here's what I'm doing now:

    <Threshold>
      <Type "df">
        DataSource "used"
        WarningMax 80
        FailureMax 90
        Percentage true
      </Type>
    </Threshold>

    LoadPlugin exec
    <Plugin exec>
      NotificationExec "nobody:nogroup" "/etc/collectd/notify-syslog.sh"
    </Plugin>

where the wrapper script exists mainly to discard the "headers" and
log only the "message" part:

    #!/bin/sh
    while read x y
    do  case "$x$y" in
            '') exec logger -t collectd${severity+" $severity" -p 
user."$severity"};;
            Severity:WARNING) severity=warning;;
            Severity:OKAY)    severity=notice;;
            Severity:FAILURE) severity=err;;
        esac
    done

The result is servicable, if suboptimal:

    2011-07-07T17:41:33.555808+10:00 hugin collectd warning: Host 
omega.cyber.com.au, plugin df type df (instance srv-lxc-alamo): Data source 
"used" is currently 852054016.000000. That is above the warning threshold of 
80.000000%.
    2011-07-07T17:41:33.557689+10:00 hugin collectd warning: Host 
omega.cyber.com.au, plugin df type df (instance srv-apt): Data source "used" is 
currently 232933896192.000000. That is above the warning threshold of 
80.000000%.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: collectd
Source-Version: 5.1.0-1

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

collectd-core_5.1.0-1_amd64.deb
  to main/c/collectd/collectd-core_5.1.0-1_amd64.deb
collectd-dbg_5.1.0-1_amd64.deb
  to main/c/collectd/collectd-dbg_5.1.0-1_amd64.deb
collectd-dev_5.1.0-1_all.deb
  to main/c/collectd/collectd-dev_5.1.0-1_all.deb
collectd-utils_5.1.0-1_amd64.deb
  to main/c/collectd/collectd-utils_5.1.0-1_amd64.deb
collectd_5.1.0-1.diff.gz
  to main/c/collectd/collectd_5.1.0-1.diff.gz
collectd_5.1.0-1.dsc
  to main/c/collectd/collectd_5.1.0-1.dsc
collectd_5.1.0-1_amd64.deb
  to main/c/collectd/collectd_5.1.0-1_amd64.deb
collectd_5.1.0.orig.tar.gz
  to main/c/collectd/collectd_5.1.0.orig.tar.gz
libcollectdclient-dev_5.1.0-1_amd64.deb
  to main/c/collectd/libcollectdclient-dev_5.1.0-1_amd64.deb
libcollectdclient0_5.1.0-1_amd64.deb
  to main/c/collectd/libcollectdclient0_5.1.0-1_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Harl <[email protected]> (supplier of updated collectd 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 [email protected])


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

Format: 1.8
Date: Wed, 13 Jun 2012 08:05:01 +0200
Source: collectd
Binary: collectd-core collectd collectd-utils collectd-dbg collectd-dev 
libcollectdclient-dev libcollectdclient0
Architecture: source amd64 all
Version: 5.1.0-1
Distribution: unstable
Urgency: low
Maintainer: Sebastian Harl <[email protected]>
Changed-By: Sebastian Harl <[email protected]>
Description: 
 collectd   - statistics collection and monitoring daemon
 collectd-core - statistics collection and monitoring daemon (core system)
 collectd-dbg - statistics collection and monitoring daemon (debugging symbols)
 collectd-dev - statistics collection and monitoring daemon (development files)
 collectd-utils - statistics collection and monitoring daemon (utilities)
 libcollectdclient-dev - client library for collectd's control interface 
(development file
 libcollectdclient0 - client library for collectd's control interface
Closes: 630968 632940
Changes: 
 collectd (5.1.0-1) unstable; urgency=low
 .
   * New upstream release (Closes: #630968):
     - syslog plugin now supports logging notifications; thanks to Trent W.
       Buck for suggesting this (Closes: #632940).
     New plugins:
     - AMQP output plugin: amqp
     - AIX logical partitions statistics: lpar (disabled in Debian; AIX only)
     - Network interface card statistics: ethstat (disabled on kfreebsd; Linux
       only)
     - Linux software-RAID device information: md (disabled on kfreebsd; Linux
       only)
     - Information about Non-Uniform Memory Access: numa (disabled on kfreebsd;
       Linux only)
     - Redis key-value database server statistics: redis (disabled in Debian;
       libcredis is not available)
     - Check thresholds and for missing values: threshold
     - Varnish HTTP accelerator daemon statistics: varnish
     - Sends data to Carbon, the storage layer of Graphite: write_graphite
     - Write values to a MongoDB NoSQL database server: write_mongodb (disabled
       in Debian; libmongoc is not available)
     - Write values to a Redis key-value database server: write_redis (disabled
       in Debian; libcredis is not available)
     New targets:
     - Upgrade data-sets from v4 clients to v5: v5upgrade
   * debian/rules:
     - Disabled lpar plugin -- this requires AIX (perfstat).
     - Disabled redis and write_redis plugins -- they require libcredis.
     - Disabled write_mongodb plugin -- this requires libmongoc.
     - Disabled ethstat, md, and numa plugins on kfreebsd -- these plugins are
       Linux specific.
     - Install contrib/exec-ksm.sh as example.
   * debian/control:
     - Added build-dep on librabbitmq-dev, required by the AMQP plugin.
     - Added build-dep on libvarnish-dev, required by the varnish plugin.
   * debian/collectd-utils.install:
     - Install collectdctl and collectdctl.1 to collectd-utils.
   * debian/libcollectdclient0.symbols:
     - Added lcc_sort_identifiers introduced in 5.1.0.
   * debian/NEWS.Debian:
     - Documented the upgrade from version 4 to 5.
   * debian/collectd-core.install:
     - Install migrate-4-5.px.
   * debian/collectd-core.{config,postinst,templates}:
     - Added debconf queries and code to automatically migrate from v4.
   * debian/source/format:
     - Set to "1.0" for now.
   * debian/po/:
     - Updated German debconf template translation.
   * debian/collectd-core.override:
     - Limit netlink override to appropriate architectures.
Checksums-Sha1: 
 53a8e4709fe7f90aa96d0d0ee1d19d1676b1ea18 2639 collectd_5.1.0-1.dsc
 55f17b17a10710641a9bf4e8c5332cef661cafcd 1630323 collectd_5.1.0.orig.tar.gz
 4bb1fefea89b7937623dedec77a8f316e6cb1786 67872 collectd_5.1.0-1.diff.gz
 07eb29e82a7b9c48d419352bf8acc93afbd5e101 908390 collectd-core_5.1.0-1_amd64.deb
 bf718c3ca2d874cebd9c73ae9ac3eb8b67e1b5d4 75204 collectd_5.1.0-1_amd64.deb
 477437eab5b0075625dc8b4647324e98acecf04f 87094 collectd-utils_5.1.0-1_amd64.deb
 ab77871fbb20abf776873727fd7c3960db2fbc06 1336102 collectd-dbg_5.1.0-1_amd64.deb
 89b43b21cf8b955785e6bc066cec24221c396595 70234 
libcollectdclient-dev_5.1.0-1_amd64.deb
 1eaaf08046c85d714f27fbda0ed5ea03e17293cc 76274 
libcollectdclient0_5.1.0-1_amd64.deb
 d8cdca2599cbf40524d28968e35e1b002b0602e3 111336 collectd-dev_5.1.0-1_all.deb
Checksums-Sha256: 
 6a2ec69415d4d6324efa4a6a4f06687a04fb0a27e4e33d01d780bee3b8d5975f 2639 
collectd_5.1.0-1.dsc
 8e06c03c5467f3021565570fc86c931a43579aa6dad25ca5999d66850cd19927 1630323 
collectd_5.1.0.orig.tar.gz
 3c9be963c12155a7fad48493e6389a2f2ec2e8545b4074c3de014c53f2f7aee2 67872 
collectd_5.1.0-1.diff.gz
 fc4a3a931161f7d103bd55746b778da9bc29cef75ce8169e53ccba072de0dba7 908390 
collectd-core_5.1.0-1_amd64.deb
 6efa18d3097548035e43f1d1b10b794def7f898a49b82187c3324dff1fe6f709 75204 
collectd_5.1.0-1_amd64.deb
 a5ea74ac6fbed140a61c6389847ed361aa436570a7092bc45277da0933043c8b 87094 
collectd-utils_5.1.0-1_amd64.deb
 61a4a784abcf1a0fc3743329615f801f324c69299ced03715764b8ea63737ceb 1336102 
collectd-dbg_5.1.0-1_amd64.deb
 007ce6377119ce74ad16a59fe60d8b8f999a7f7767b0e3787f49073068ee2476 70234 
libcollectdclient-dev_5.1.0-1_amd64.deb
 298e3a7ed6c4e7803c30815bdaab084542ef661a206263a37956d0abe044f4c3 76274 
libcollectdclient0_5.1.0-1_amd64.deb
 d44312aa7c977ba7d8a1feac787623e81d11cfcc4ba4fb5bfc2826611b3fd666 111336 
collectd-dev_5.1.0-1_all.deb
Files: 
 bfa4f3aaead44d3ec8407e5063355ec5 2639 utils optional collectd_5.1.0-1.dsc
 adc58a0d448a359ecf737da9398898c6 1630323 utils optional 
collectd_5.1.0.orig.tar.gz
 52dbf54c3d728e1266a06e62f1155652 67872 utils optional collectd_5.1.0-1.diff.gz
 4d25c34650bb4ac26259848808f7ed27 908390 utils optional 
collectd-core_5.1.0-1_amd64.deb
 366036dc4507b7e3e86965059a5fde67 75204 utils optional 
collectd_5.1.0-1_amd64.deb
 91ce4c4b384c93f7346bcb28421dea6e 87094 utils optional 
collectd-utils_5.1.0-1_amd64.deb
 02513a4ead22fed7ec7f1181084b1718 1336102 debug extra 
collectd-dbg_5.1.0-1_amd64.deb
 0790bb2488f5a87ffe4610c7571b1120 70234 libdevel optional 
libcollectdclient-dev_5.1.0-1_amd64.deb
 453051d27e6586eba41a7d38ca4913e8 76274 libs optional 
libcollectdclient0_5.1.0-1_amd64.deb
 320eb88760264ed97aaba6ce1c85d29b 111336 utils optional 
collectd-dev_5.1.0-1_all.deb

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

iEYEARECAAYFAk/Zk9AACgkQEFEKc4UBx/zVhgCeMyBoZEDmCBrI8bxfz0IJVA1A
InEAnjW4XSaS7EX8nwcgzoPde+OS/Y/V
=ujSj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to