SHA256
1
0
forked from pool/collectd
collectd/collectd-5.5.2-exec-no-output.diff
Lars Vogdt 920135a3ed Accepting request 461722 from home:seife:testing
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
2017-03-07 18:27:47 +00:00

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);