forked from pool/collectd
do not create a journal entry for every PUTVAL e.g. from the exec plugin, collectd-5.4.1-exec-no-output.diff, some other cleanups I am using this for over 2 years now, it's time to get this into factory / Leap proper :-) OBS-URL: https://build.opensuse.org/request/show/461722 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=140
18 lines
507 B
Diff
18 lines
507 B
Diff
Index: b/src/utils_cmd_putval.c
|
|
===================================================================
|
|
--- a/src/utils_cmd_putval.c
|
|
+++ b/src/utils_cmd_putval.c
|
|
@@ -217,10 +217,11 @@ int handle_putval (FILE *fh, char *buffe
|
|
values_submitted++;
|
|
} /* while (*buffer != 0) */
|
|
/* Done parsing the options. */
|
|
-
|
|
+#if 0
|
|
print_to_socket (fh, "0 Success: %i %s been dispatched.\n",
|
|
values_submitted,
|
|
(values_submitted == 1) ? "value has" : "values have");
|
|
+#endif
|
|
|
|
sfree (vl.values);
|
|
return (0);
|