--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mailping: munin plugin not working with munin 1.4.5-3
- From: Jan Niehusmann <jan@gondor.com>
- Date: Fri, 18 Feb 2011 20:32:26 +0100
- Message-id: <20110218193222.GA8597@x61s.reliablesolutions.de>
Package: mailping
Version: 0.0.4-2
Severity: normal
Tags: patch
Version 1.4.5-3 of munin, which is the current version in squeeze, does
call the plugin slightly different than the version in lenny
(1.2.6-10~lenny2): For fetching the current counters, it is called
without arguments, instead of an empty argument.
This leads to the following error messages in munin-node.log:
2011/02/18-16:33:33 [6514] Error output from mailping-latency:
2011/02/18-16:33:33 [6514] mailping-latency: usage: mailping-latency [config|'']
2011/02/18-16:33:33 [6514] Service 'mailping-latency' exited with status 1/0.
2011/02/18-16:33:40 [6514] Error output from mailping-success:
2011/02/18-16:33:40 [6514] mailping-success: usage: mailping-success [config|'']
2011/02/18-16:33:40 [6514] Service 'mailping-success' exited with status 1/0.
To fix it, the following patch could be used:
diff --git a/munin-plugins/mailping-latency b/munin-plugins/mailping-latency
index 7014a8b..fb26cd0 100755
--- a/munin-plugins/mailping-latency
+++ b/munin-plugins/mailping-latency
@@ -67,6 +67,8 @@ if __name__ == '__main__':
config()
elif len(sys.argv[1:]) == 1 and sys.argv[1] == '':
dump()
+ elif len(sys.argv[1:]) == 0:
+ dump()
else:
print >>sys.stderr, "%(progname)s: usage: %(progname)s [config|'']" \
% { 'progname': os.path.basename(sys.argv[0]),
diff --git a/munin-plugins/mailping-success b/munin-plugins/mailping-success
index 0f6da9c..5a287f0 100755
--- a/munin-plugins/mailping-success
+++ b/munin-plugins/mailping-success
@@ -67,6 +67,8 @@ if __name__ == '__main__':
config()
elif len(sys.argv[1:]) == 1 and sys.argv[1] == '':
dump()
+ elif len(sys.argv[1:]) == 0:
+ dump()
else:
print >>sys.stderr, "%(progname)s: usage: %(progname)s [config|'']" \
% { 'progname': os.path.basename(sys.argv[0]),
--- End Message ---
--- Begin Message ---
Source: mailping
Source-Version: 0.0.4-4
We believe that the bug you reported is fixed in the latest version of
mailping, which is due to be installed in the Debian FTP archive.
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 613996@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
gustavo panizzo <gfa@zumbi.com.ar> (supplier of updated mailping 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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 15 Sep 2018 18:55:13 +0800
Source: mailping
Binary: mailping
Architecture: source all
Version: 0.0.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: gustavo panizzo <gfa@zumbi.com.ar>
Description:
mailping - monitor email service availability and functioning
Closes: 464548 503831 613996
Changes:
mailping (0.0.4-4) unstable; urgency=medium
.
* QA upload.
* Do not perform a recursive chown on package postinst
* Import string module in maildir.py (Closes: #464548)
* Make munin plugins to work with modern munin as munin
no longer pass empty arguments but no arguments at all
instead. Thanks: Jan Niehusmann <jan@gondor.com> (Closes: #613996)
* Save graphs under the mail category instead of other in munin
Thanks: Anton Lundin <glance@acc.umu.se> (Closes: #503831)
Checksums-Sha1:
dcb0d8399a7f26fa2a306fdff5d3fdd9bb88c569 1133 mailping_0.0.4-4.dsc
cdb05d0283e5bf580d72f0a148c66e581922c08d 5900 mailping_0.0.4-4.diff.gz
f1299fcf7d1e9ecc82569b0729b2ecd73868403c 20828 mailping_0.0.4-4_all.deb
84c7593f4cdd5bfcd0bfe06015773941299b49ab 5794 mailping_0.0.4-4_armhf.buildinfo
Checksums-Sha256:
cd175c6c24ecbae3c48b0603a203bc6df4e66a52610036c4d5c433e99371323e 1133 mailping_0.0.4-4.dsc
2f10e51e3899d30150b9cc3bafe2e89175d6a92bbaa06ec3671ae528bff8c21e 5900 mailping_0.0.4-4.diff.gz
e27401ee7f9509ef73dc10e4849b3943b57d5e46c47dc9ae2fce2e07801821a2 20828 mailping_0.0.4-4_all.deb
837c3c76f202dd946b2c7ffdb3c808ad23b956f54d9c7a78820d759ea8e1c3e5 5794 mailping_0.0.4-4_armhf.buildinfo
Files:
6031fcb85711ed38b722da450c9b2f22 1133 mail optional mailping_0.0.4-4.dsc
44a7196b98251ad147cd010a6d9c6caf 5900 mail optional mailping_0.0.4-4.diff.gz
0ab0c551a056c2a4a2d0cf697048c6aa 20828 mail optional mailping_0.0.4-4_all.deb
6470ddd792e2d927ba99fb8eee0a3347 5794 mail optional mailping_0.0.4-4_armhf.buildinfo
-----BEGIN PGP SIGNATURE-----
iIcEARYIAC8WIQRg9zD3ahsXzbLEOKIEKNKjvsfFMgUCW5zvhBEcZ2ZhQHp1bWJp
LmNvbS5hcgAKCRAEKNKjvsfFMi8vAP9/xYCNNaovo9oOb9tFOLmpryehQYGp0I9y
CqBB9U8IYgD/UxQOkxAQzHKWmtelXaZ2z1IKii4EMOVkVKIORuyXBAU=
=ncyw
-----END PGP SIGNATURE-----
--- End Message ---