Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/collectd Add a patch to the BIND stats to pic...
details: https://anonhg.NetBSD.org/pkgsrc/rev/df4fcdc07787
branches: trunk
changeset: 435320:df4fcdc07787
user: he <he%pkgsrc.org@localhost>
date: Sun Jul 05 13:57:32 2020 +0000
description:
Add a patch to the BIND stats to pick up query RTT times.
Bump PKGREVISION.
diffstat:
sysutils/collectd/Makefile | 4 ++--
sysutils/collectd/distinfo | 3 ++-
sysutils/collectd/patches/patch-src_bind.c | 25 +++++++++++++++++++++++++
3 files changed, 29 insertions(+), 3 deletions(-)
diffs (60 lines):
diff -r 672285f6ab87 -r df4fcdc07787 sysutils/collectd/Makefile
--- a/sysutils/collectd/Makefile Sun Jul 05 13:35:31 2020 +0000
+++ b/sysutils/collectd/Makefile Sun Jul 05 13:57:32 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2019/08/11 13:23:04 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2020/07/05 13:57:32 he Exp $
.include "../../sysutils/collectd/Makefile.common"
-PKGREVISION= 3
+PKGREVISION= 4
COMMENT= Statistics collection daemon base
diff -r 672285f6ab87 -r df4fcdc07787 sysutils/collectd/distinfo
--- a/sysutils/collectd/distinfo Sun Jul 05 13:35:31 2020 +0000
+++ b/sysutils/collectd/distinfo Sun Jul 05 13:57:32 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.44 2020/03/19 06:26:26 rillig Exp $
+$NetBSD: distinfo,v 1.45 2020/07/05 13:57:32 he Exp $
SHA1 (collectd-5.8.0.tar.bz2) = eb3567563de471e1950b7388e8883b911be3756a
RMD160 (collectd-5.8.0.tar.bz2) = 7b812b1046d57a9047213bb182b8744d98606547
@@ -6,6 +6,7 @@
Size (collectd-5.8.0.tar.bz2) = 1686017 bytes
SHA1 (patch-Makefile.am) = 0fb4b20d995cd63943b8a826cc166db1b4f36132
SHA1 (patch-configure.ac) = a98505a285635e54810597604c610541f4cdb5e3
+SHA1 (patch-src_bind.c) = 4aa7742c8e24ee6bd7293abc56fc95a605d0a2c7
SHA1 (patch-src_collectd.conf.in) = f0b35085cf0ddfd766e140b145177ab1f1326f5f
SHA1 (patch-src_cpu.c) = e645ae6b05c051c3c878f88a493fbbd7d548bb66
SHA1 (patch-src_daemon_collectd.c) = 155da2fde889e961719fe6be47aa7fc25199fbe7
diff -r 672285f6ab87 -r df4fcdc07787 sysutils/collectd/patches/patch-src_bind.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/collectd/patches/patch-src_bind.c Sun Jul 05 13:57:32 2020 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_bind.c,v 1.1 2020/07/05 13:57:32 he Exp $
+
+Also pick out the response time bins from the resolver stats.
+
+--- src/bind.c.orig 2017-11-18 09:03:27.000000000 +0000
++++ src/bind.c
+@@ -228,7 +228,17 @@ static const translation_info_t resstats
+ {"ValAttempt", "dns_resolver", "DNSSEC-attempt"},
+ {"ValOk", "dns_resolver", "DNSSEC-okay"},
+ {"ValNegOk", "dns_resolver", "DNSSEC-negokay"},
+- {"ValFail", "dns_resolver", "DNSSEC-fail"}};
++ {"ValFail", "dns_resolver", "DNSSEC-fail"},
++
++ /* Query RTT information */
++ {"QryRTT10", "dns_resolver", "rtt10"},
++ {"QryRTT100", "dns_resolver", "rtt100"},
++ {"QryRTT500", "dns_resolver", "rtt500"},
++ {"QryRTT800", "dns_resolver", "rtt800"},
++ {"QryRTT1600", "dns_resolver", "rtt1600"},
++ {"QryRTT1600+", "dns_resolver", "rtt1600plus"}
++};
++
+ static int resstats_translation_table_length =
+ STATIC_ARRAY_SIZE(resstats_translation_table);
+ /* }}} */
Home |
Main Index |
Thread Index |
Old Index