Subject: Re: [bug#40925] [PATCH] Add collectd

From: Ludovic Courtès <[email-masked]>
Date: Fri, 01 May 2020 01:10:05 +0200

I too forgot the patch.  :-)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 5a37b14328..7ee58f0d0c 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -467,11 +467,11 @@ written in Go with pluggable metric collectors.")
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags (list "--localstatedir=/var" "--sysconfdir=/etc")
-                         #:phases
-                         (modify-phases %standard-phases
-                           ;; Required because of patched sources.
-                           (add-before 'configure 'autoreconf
-                             (lambda _ (invoke "autoreconf" "-vfi") #t)))))
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'autoreconf
+                    (lambda _
+                      ;; Required because of patched sources.
+                      (invoke "autoreconf" "-vfi"))))))
     (inputs
      `(("rrdtool" ,rrdtool)
        ("curl" ,curl)))
@@ -483,10 +483,10 @@ written in Go with pluggable metric collectors.")
     (home-page "https://collectd.org/")
     (synopsis "Collect system and application performance metrics periodically")
     (description
-     "collectd gathers metrics from various sources, e.g. the operating system,
-applications, logfiles and external devices, and stores this information or
-makes it available over the network. Those statistics can be used to monitor
-systems, find performance bottlenecks (i.e. performance analysis) and predict
-future system load (i.e. capacity planning).")
-    (license '(licenses:expat licenses:gpl2))))
+     "collectd gathers metrics from various sources such as the operating system,
+applications, log files and external devices, and stores this information or
+makes it available over the network.  Those statistics can be used to monitor
+systems, find performance bottlenecks (i.e., performance analysis) and predict
+future system load (i.e., capacity planning).")
+    (license (list license:expat license:gpl2))))