collectd.git
7 years agozfs_arc plugin: Allocate ksp later to avoid memory leak.
Florian Forster [Fri, 17 Nov 2017 14:09:59 +0000 (15:09 +0100)]
zfs_arc plugin: Allocate ksp later to avoid memory leak.

CID: 42796

7 years agoAuto-Merge pull request #2540 from octo/cid/141009
collectd bot [Fri, 17 Nov 2017 13:29:29 +0000 (14:29 +0100)]
Auto-Merge pull request #2540 from octo/cid/141009

Automatically merged due to "Automerge" label

7 years agoAuto-Merge pull request #2539 from octo/cid/179243
collectd bot [Fri, 17 Nov 2017 13:16:58 +0000 (14:16 +0100)]
Auto-Merge pull request #2539 from octo/cid/179243

Automatically merged due to "Automerge" label

7 years agoAuto-Merge pull request #2538 from octo/cid/179244
collectd bot [Fri, 17 Nov 2017 13:05:01 +0000 (14:05 +0100)]
Auto-Merge pull request #2538 from octo/cid/179244

Automatically merged due to "Automerge" label

7 years agolibcollectdclient: Ensure vl->values_len is non-zero.
Florian Forster [Wed, 15 Nov 2017 21:26:11 +0000 (22:26 +0100)]
libcollectdclient: Ensure vl->values_len is non-zero.

That size_t is then used to declare Variable Length Arrays. Hopefully
this helps to convince Coverity that pkg_values and pkg_values_types are
actually fully initialized.

CID: 141009, 141010

7 years agoovs_events plugin: Replace strncpy() with sstrncpy().
Florian Forster [Wed, 15 Nov 2017 21:03:53 +0000 (22:03 +0100)]
ovs_events plugin: Replace strncpy() with sstrncpy().

CID: 179243

7 years agosnmp_agent plugin: Fix memory leak.
Florian Forster [Wed, 15 Nov 2017 20:38:32 +0000 (21:38 +0100)]
snmp_agent plugin: Fix memory leak.

Allocate "entry" later so that the error handling blocks don't leak it.

CID: 179244

7 years agoMerge branch 'collectd-5.7' into collectd-5.8
Florian Forster [Fri, 17 Nov 2017 12:18:00 +0000 (13:18 +0100)]
Merge branch 'collectd-5.7' into collectd-5.8

7 years agoAuto-Merge pull request #2545 from octo/turbostat
collectd bot [Fri, 17 Nov 2017 12:15:19 +0000 (13:15 +0100)]
Auto-Merge pull request #2545 from octo/turbostat

Automatically merged due to "Automerge" label

7 years agocontrib/format.sh src/msr-index.h src/turbostat.c
Florian Forster [Fri, 17 Nov 2017 10:51:43 +0000 (11:51 +0100)]
contrib/format.sh src/msr-index.h src/turbostat.c

7 years agomsr-index: include GPLv2 header
Vincent Brillault [Tue, 26 Sep 2017 17:34:03 +0000 (19:34 +0200)]
msr-index: include GPLv2 header

Signed-off-by: Florian Forster <octo@collectd.org>
7 years agoturbostat: import msr-index header from linux
Vincent Brillault [Mon, 25 Sep 2017 19:21:45 +0000 (21:21 +0200)]
turbostat: import msr-index header from linux

Since Linux 4.12, the kernel does not expose msr-index.h to the userland
anymore. This commit pulls and hardcode the required definitions.

Signed-off-by: Florian Forster <octo@collectd.org>
7 years agosrc/daemon/meta_data.c: Fix double unlock.
Florian Forster [Wed, 15 Nov 2017 21:31:47 +0000 (22:31 +0100)]
src/daemon/meta_data.c: Fix double unlock.

CID: 179245

7 years agoFix documentation typo for PostgreSQL plugin
Feike Steenbergen [Wed, 15 Nov 2017 07:46:57 +0000 (08:46 +0100)]
Fix documentation typo for PostgreSQL plugin

In collectd/src/postgresql_default.conf the name for the backends
query is plural, yet in the documentation it is singular. This caused
me some lost time when running this plugin.

It is also wrongly listed on the wiki:

https://collectd.org/wiki/index.php/Plugin:PostgreSQL
Signed-off-by: Florian Forster <octo@collectd.org>
7 years agoAuto-Merge pull request #2535 from mfournier/collectd-5.8
collectd bot [Tue, 14 Nov 2017 22:08:48 +0000 (23:08 +0100)]
Auto-Merge pull request #2535 from mfournier/collectd-5.8

Automatically merged due to "Automerge" label

7 years agomcelog: filter through contrib/format.sh
Marc Fournier [Tue, 14 Nov 2017 21:21:33 +0000 (22:21 +0100)]
mcelog: filter through contrib/format.sh

7 years agoMerge branch 'collectd-5.7' into collectd-5.8
Marc Fournier [Tue, 14 Nov 2017 21:15:11 +0000 (22:15 +0100)]
Merge branch 'collectd-5.7' into collectd-5.8

7 years agoFixed code styling
Taras Chornyi [Tue, 14 Nov 2017 17:21:36 +0000 (17:21 +0000)]
Fixed code styling

Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
7 years agoFixed gcc 7 format-truncation errors #2423
Taras Chornyi [Tue, 14 Nov 2017 17:17:20 +0000 (17:17 +0000)]
Fixed gcc 7 format-truncation errors #2423

Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
7 years agoAuto-Merge pull request #2517 from trustchk/aix
collectd bot [Sun, 12 Nov 2017 21:04:11 +0000 (22:04 +0100)]
Auto-Merge pull request #2517 from trustchk/aix

Automatically merged due to "Automerge" label

7 years agolibcollectdclient/network_parse.c: Implement be{16,64}toh() if not provided by the...
Florian Forster [Thu, 9 Nov 2017 15:42:22 +0000 (16:42 +0100)]
libcollectdclient/network_parse.c: Implement be{16,64}toh() if not provided by the system.

7 years agoAuto-Merge pull request #2527 from mfournier/varnish_52_compat_on_collectd_58
collectd bot [Thu, 9 Nov 2017 16:08:53 +0000 (17:08 +0100)]
Auto-Merge pull request #2527 from mfournier/varnish_52_compat_on_collectd_58

Automatically merged due to "Automerge" label

7 years agovarnish plugin: Code cleanup:
Florian Forster [Thu, 9 Nov 2017 15:18:33 +0000 (16:18 +0100)]
varnish plugin: Code cleanup:

*   Remove legacy rindex() with the POSIX strrchr().
*   Check return value of strrchr().
*   Chose non-arbitrary buffer size.
*   Use sstrncpy() instead of strcpy().

7 years agovarnish plugin: Avoid unused variable even harder.
Florian Forster [Thu, 9 Nov 2017 15:12:10 +0000 (16:12 +0100)]
varnish plugin: Avoid unused variable even harder.

;-)

7 years agovarnish plugin: avoid unused variable in V5 block
Marc Fournier [Wed, 8 Nov 2017 21:01:26 +0000 (22:01 +0100)]
varnish plugin: avoid unused variable in V5 block

7 years agovarnish plugin: fix build against pre varnish 5.2
Marc Fournier [Wed, 8 Nov 2017 20:55:04 +0000 (21:55 +0100)]
varnish plugin: fix build against pre varnish 5.2

Older Varnish versions don't know about VSM_Destroy()

7 years agorunning contrib/format.sh on src/varnish.c
Denes Matetelki [Wed, 8 Nov 2017 13:39:38 +0000 (14:39 +0100)]
running contrib/format.sh on src/varnish.c

7 years agovarnish-cache-5.2 compatibility
Denes Matetelki [Wed, 8 Nov 2017 13:30:20 +0000 (14:30 +0100)]
varnish-cache-5.2 compatibility

7 years agopostgresql: fix last sum() related parse errors
Marc Fournier [Wed, 8 Nov 2017 16:26:51 +0000 (17:26 +0100)]
postgresql: fix last sum() related parse errors

These queries return empty values when a database doesn't have any
tables yet, which results in collectd logging this error every Interval:

```
db query utils: udb_result_submit: Parsing `' as derive failed.
```

Related to #1905

7 years agoAuto-Merge pull request #2522 from mfournier/fix-collectd-5.8-build
collectd bot [Mon, 6 Nov 2017 22:04:51 +0000 (23:04 +0100)]
Auto-Merge pull request #2522 from mfournier/fix-collectd-5.8-build

Automatically merged due to "Automerge" label

7 years agoMerge branch 'collectd-5.7' into collectd-5.8
Marc Fournier [Mon, 6 Nov 2017 21:25:33 +0000 (22:25 +0100)]
Merge branch 'collectd-5.7' into collectd-5.8

Conflicts:
src/netlink.c

7 years ago.spec add (network_parse,server,types), synproxy plugin
Default [Fri, 29 Sep 2017 10:11:25 +0000 (13:11 +0300)]
.spec add (network_parse,server,types), synproxy plugin

added Installed (but unpackaged) file(s) in .spec (RPM)
synproxy disabled by default

7 years agoAuto-Merge pull request #2516 from trustchk/fix-libcollectdclient-ip_mreq-usage
collectd bot [Sun, 5 Nov 2017 06:42:55 +0000 (07:42 +0100)]
Auto-Merge pull request #2516 from trustchk/fix-libcollectdclient-ip_mreq-usage

Automatically merged due to "Automerge" label

7 years agoAuto-Merge pull request #2518 from octo/issue/2510
collectd bot [Sun, 5 Nov 2017 06:26:30 +0000 (07:26 +0100)]
Auto-Merge pull request #2518 from octo/issue/2510

Automatically merged due to "Automerge" label

7 years agolibcollectdclient: fix usage of ip_mreq
trustchk [Thu, 2 Nov 2017 10:31:22 +0000 (10:31 +0000)]
libcollectdclient: fix usage of ip_mreq

On both IBM AIX and Gentoo Linux, the struct `ip_mreq` does not define
the field `imr_address`, plus the compiler throws an error in the
assignment of `sa->s_addr`. With `ip_mreqn` present, the fallback path
for `ip_mreq` is not used and everything works. But AIX does not know
that struct and fails to compile.

7 years agonetlink plugin: Improve error reporting for mnl_attr_validate2() and mnl_socket_recvf...
Florian Forster [Sun, 5 Nov 2017 05:23:24 +0000 (06:23 +0100)]
netlink plugin: Improve error reporting for mnl_attr_validate2() and mnl_socket_recvfrom().

Issue: #2510

7 years agoAuto-Merge pull request #2514 from octo/collectd-5.8
collectd bot [Sat, 4 Nov 2017 21:19:07 +0000 (22:19 +0100)]
Auto-Merge pull request #2514 from octo/collectd-5.8

Automatically merged due to "Automerge" label

7 years agoUpdate changelog, bump version to 5.8.0-RC0.
Florian Forster [Sat, 4 Nov 2017 20:36:01 +0000 (21:36 +0100)]
Update changelog, bump version to 5.8.0-RC0.

7 years agolibcollectdclient: add defines for AIX
trustchk [Thu, 2 Nov 2017 15:03:21 +0000 (15:03 +0000)]
libcollectdclient: add defines for AIX

This adds two defines that are missing on AIX because they don't have
the endian.h header file. AIX is always big endian, so no further check
is required for that. As I have no access to IBMs XLC compiler, this
patch limits the definitions to GNU GCC.

7 years agoAuto-Merge pull request #2369 from marekbecka/nfs42
collectd bot [Sun, 29 Oct 2017 15:12:22 +0000 (16:12 +0100)]
Auto-Merge pull request #2369 from marekbecka/nfs42

Automatically merged due to "Automerge" label

7 years agocontrib/format.sh src/nfs.c
Florian Forster [Sun, 29 Oct 2017 14:34:21 +0000 (15:34 +0100)]
contrib/format.sh src/nfs.c

7 years agoAdd new NFS 4.2 counters on Linux
Marek Becka [Tue, 18 Jul 2017 12:17:43 +0000 (08:17 -0400)]
Add new NFS 4.2 counters on Linux

7 years agocontrib/format.sh: Fix bashisms.
Florian Forster [Sun, 29 Oct 2017 09:24:02 +0000 (10:24 +0100)]
contrib/format.sh: Fix bashisms.

7 years agoAuto-Merge pull request #2507 from rpv-tomsk/issue-2506
collectd bot [Thu, 26 Oct 2017 06:09:54 +0000 (08:09 +0200)]
Auto-Merge pull request #2507 from rpv-tomsk/issue-2506

Automatically merged due to "Automerge" label

7 years agoFix hostname_g initialization from gethostname()
Pavel Rochnyack [Thu, 26 Oct 2017 05:17:49 +0000 (12:17 +0700)]
Fix hostname_g initialization from gethostname()

Closes: #2506

7 years agoAuto-Merge pull request #2505 from jiriproX/dpdkstat_enh
collectd bot [Wed, 25 Oct 2017 18:09:09 +0000 (20:09 +0200)]
Auto-Merge pull request #2505 from jiriproX/dpdkstat_enh

Automatically merged due to "Automerge" label

7 years agoOne more review comment
Jiri Prokes [Wed, 25 Oct 2017 16:59:36 +0000 (09:59 -0700)]
One more review comment

Signed-off-by: Jiri Prokes <jirix.x.prokes@intel.com>
7 years agoIncorporation of review commnets
Jiri Prokes [Wed, 25 Oct 2017 12:51:18 +0000 (05:51 -0700)]
Incorporation of review commnets

Signed-off-by: Jiri Prokes <jirix.x.prokes@intel.com>
7 years agoAuto-Merge pull request #2474 from octo/maintainer-guide
collectd bot [Wed, 25 Oct 2017 07:09:40 +0000 (09:09 +0200)]
Auto-Merge pull request #2474 from octo/maintainer-guide

Automatically merged due to "Automerge" label

7 years agodocs/maintainer_guide.md: First draft.
Florian Forster [Wed, 25 Oct 2017 06:51:11 +0000 (08:51 +0200)]
docs/maintainer_guide.md: First draft.

7 years agoMerge pull request #2468 from octo/ff/memcached
Pavel Rochnyak [Tue, 24 Oct 2017 16:18:23 +0000 (23:18 +0700)]
Merge pull request #2468 from octo/ff/memcached

memcached plugin: Report "listen_disabled_num" as "total_events".

7 years agoFormat correction.
Jiri Prokes [Tue, 24 Oct 2017 14:32:39 +0000 (07:32 -0700)]
Format correction.

Signed-off-by: Jiri Prokes <jirix.x.prokes@intel.com>
7 years agoCorrection of tracing from child process
Jiri Prokes [Tue, 24 Oct 2017 13:17:16 +0000 (06:17 -0700)]
Correction of tracing from child process
- There was read 16kb from pipe but only less then 1kb was traced.
  Rest of trace data was lost.
Added support for two EAL parameters:
  LogLevel - optional EAL paramenter which enable debug traces from rte libs
             If parameter is not used default trace level = 7 (INFO) is used
             LogLevel "8" - (DEBUG) can be set to collectd.conf into dpdkstat
             EAL section
  RteDriverLibPath - optional EAL parameter which enable loading of shared
                     pmd driver libs. Param value can be full path to single
                     pmd diriver lib or directory where pmd driver libs are
                     located. E.g.: "/usr/lib/dpdk-pmd/librte_pmd_i40e.so"
                                 or "/usr/lib/dpdk-pmd"

Signed-off-by: Jiri Prokes <jirix.x.prokes@intel.com>
7 years agoCONTRIBUTING.md: Update formatting requirements.
Florian Forster [Tue, 24 Oct 2017 06:37:04 +0000 (08:37 +0200)]
CONTRIBUTING.md: Update formatting requirements.

Also point to contrib/format.sh as the source of truth.

7 years agomemcached plugin: Report "listen_disabled_num" as type "total_events".
Florian Forster [Tue, 24 Oct 2017 06:30:58 +0000 (08:30 +0200)]
memcached plugin: Report "listen_disabled_num" as type "total_events".

7 years agomemcached plugin: Report "listen_disabled_num" as "operations".
Florian Forster [Fri, 6 Oct 2017 06:36:39 +0000 (08:36 +0200)]
memcached plugin: Report "listen_disabled_num" as "operations".

Fixes: #2386

7 years agocontrib/format.sh: Add script for formatting files using a remote clang-format.
Florian Forster [Mon, 23 Oct 2017 15:03:10 +0000 (17:03 +0200)]
contrib/format.sh: Add script for formatting files using a remote clang-format.

7 years agolvm plugin: Fix compilation issues
Pavel Rochnyack [Mon, 23 Oct 2017 14:00:52 +0000 (21:00 +0700)]
lvm plugin: Fix compilation issues

7 years agoMerge remote-tracking branch 'github/pr/2492'
Florian Forster [Mon, 23 Oct 2017 13:20:40 +0000 (15:20 +0200)]
Merge remote-tracking branch 'github/pr/2492'

7 years agosrc/daemon/plugin.c: Fix some coding style.
Florian Forster [Wed, 18 Oct 2017 18:59:49 +0000 (20:59 +0200)]
src/daemon/plugin.c: Fix some coding style.

Primarily to test the clang-format bot.

7 years agolvm update: Check for the CAP_SYS_ADMIN capability.
Florian Forster [Sun, 22 Oct 2017 17:59:19 +0000 (19:59 +0200)]
lvm update: Check for the CAP_SYS_ADMIN capability.

Fixes: #2426

7 years agoMerge remote-tracking branch 'github/pr/2464'
Florian Forster [Sun, 22 Oct 2017 08:12:16 +0000 (10:12 +0200)]
Merge remote-tracking branch 'github/pr/2464'

7 years agoclang-format src/postgresql.c
Florian Forster [Sat, 21 Oct 2017 19:37:21 +0000 (21:37 +0200)]
clang-format src/postgresql.c

7 years agoUpdate postgresql.c
daniacs [Fri, 20 Oct 2017 16:36:12 +0000 (14:36 -0200)]
Update postgresql.c

A simple way collectd to identify itself to pg_stat_activity view.

7 years agoMerge branch 'collectd-5.7'
Pavel Rochnyack [Fri, 20 Oct 2017 14:00:29 +0000 (21:00 +0700)]
Merge branch 'collectd-5.7'

7 years agoMerge branch 'collectd-5.6' into collectd-5.7
Pavel Rochnyack [Fri, 20 Oct 2017 13:54:09 +0000 (20:54 +0700)]
Merge branch 'collectd-5.6' into collectd-5.7

7 years agoMerge pull request #2346 from trenkel/master
Pavel Rochnyak [Fri, 20 Oct 2017 13:15:57 +0000 (20:15 +0700)]
Merge pull request #2346 from trenkel/master

Add CollectdError exception which can be thrown without causing a stacktrace to be logged.

7 years agoFix left ssnprintf in test
rmakulov [Mon, 17 Jul 2017 09:12:45 +0000 (12:12 +0300)]
Fix left ssnprintf in test

7 years agopython plugin: Passed through clang-format
Pavel Rochnyack [Fri, 20 Oct 2017 12:10:48 +0000 (19:10 +0700)]
python plugin: Passed through clang-format

7 years agoMerge pull request #2071 from maryamtahhan/feat_ipmi_analog
Pavel Rochnyak [Fri, 20 Oct 2017 06:34:43 +0000 (13:34 +0700)]
Merge pull request #2071 from maryamtahhan/feat_ipmi_analog

ipmi plugin: add more analog sensors support

7 years agoceph plugin: Move comment to right place
Aleksei Zakharov [Thu, 19 Oct 2017 09:58:30 +0000 (09:58 +0000)]
ceph plugin: Move comment to right place

7 years agoAdd comment about "avgtime" usage
Aleksei Zakharov [Thu, 19 Oct 2017 08:44:28 +0000 (08:44 +0000)]
Add comment about "avgtime" usage

7 years agoFix parse_keys() to use cut_suffixes array
Aleksei Zakharov [Thu, 19 Oct 2017 08:40:28 +0000 (08:40 +0000)]
Fix parse_keys() to use cut_suffixes array

7 years agoceph plugin: Make cut_suffix void, change var names
Aleksei Zakharov [Thu, 19 Oct 2017 07:25:34 +0000 (07:25 +0000)]
ceph plugin: Make cut_suffix void, change var names

7 years agoMerge remote-tracking branch 'github/pr/2467'
Florian Forster [Thu, 19 Oct 2017 07:21:50 +0000 (09:21 +0200)]
Merge remote-tracking branch 'github/pr/2467'

7 years agoclang-format -style=file -i src/daemon/{collectd,configfile,globals}.c
Florian Forster [Thu, 19 Oct 2017 05:26:34 +0000 (07:26 +0200)]
clang-format -style=file -i src/daemon/{collectd,configfile,globals}.c

7 years agoMinor changes to address PR comments.
campbellsean@google.com [Wed, 18 Oct 2017 20:48:50 +0000 (16:48 -0400)]
Minor changes to address PR comments.

7 years agoTidy up formatting with clang-format.
campbellsean@google.com [Wed, 18 Oct 2017 20:39:29 +0000 (16:39 -0400)]
Tidy up formatting with clang-format.

7 years agoMerge remote-tracking branch 'github/pr/2490'
Florian Forster [Wed, 18 Oct 2017 18:54:37 +0000 (20:54 +0200)]
Merge remote-tracking branch 'github/pr/2490'

7 years agorrdtool plugin: Small code cleanup.
Florian Forster [Wed, 18 Oct 2017 13:07:29 +0000 (15:07 +0200)]
rrdtool plugin: Small code cleanup.

Primarily to test the clang-format bot.

7 years agoMerge remote-tracking branch 'github/pr/2488'
Florian Forster [Wed, 18 Oct 2017 18:27:04 +0000 (20:27 +0200)]
Merge remote-tracking branch 'github/pr/2488'

7 years agoclang-format -style=file -i src/snmp.c
Florian Forster [Wed, 18 Oct 2017 18:00:13 +0000 (20:00 +0200)]
clang-format -style=file -i src/snmp.c

7 years agoSet timeout initially to 0 per reviewer's suggestion
Carlos Vicente [Wed, 18 Oct 2017 17:12:05 +0000 (17:12 +0000)]
Set timeout initially to 0 per reviewer's suggestion

7 years agoAdress reviewer's suggestions and add documentation
Carlos Vicente [Wed, 18 Oct 2017 14:21:56 +0000 (14:21 +0000)]
Adress reviewer's suggestions and add documentation

7 years agoMerge remote-tracking branch 'github/pr/2489'
Florian Forster [Wed, 18 Oct 2017 09:17:48 +0000 (11:17 +0200)]
Merge remote-tracking branch 'github/pr/2489'

7 years agoMerge pull request #2485 from rpv-tomsk/processes
Pavel Rochnyak [Wed, 18 Oct 2017 09:02:55 +0000 (16:02 +0700)]
Merge pull request #2485 from rpv-tomsk/processes

processes: Improved documentation

7 years agoprocesses: Improved documentation
Pavel Rochnyack [Sun, 15 Oct 2017 15:33:50 +0000 (22:33 +0700)]
processes: Improved documentation

7 years agosnmp plugin: Use cf_util_get_boolean() for boolean config options.
Florian Forster [Wed, 18 Oct 2017 06:54:53 +0000 (08:54 +0200)]
snmp plugin: Use cf_util_get_boolean() for boolean config options.

7 years agofilecount: Controls whether or not to include only regular files in the count (#2483)
alex2grad [Wed, 18 Oct 2017 06:42:21 +0000 (02:42 -0400)]
filecount: Controls whether or not to include only regular files in the count (#2483)

7 years agoAddress reviewer's suggestions
Carlos Vicente [Tue, 17 Oct 2017 16:39:48 +0000 (16:39 +0000)]
Address reviewer's suggestions

7 years agoAdd timeout and retry config options for SNMP plugin
Carlos Vicente [Tue, 17 Oct 2017 14:49:08 +0000 (14:49 +0000)]
Add timeout and retry config options for SNMP plugin

7 years agoipmi: make unhandled sensor msg more informative
Mytnyk, Volodymyr [Tue, 17 Oct 2017 09:26:58 +0000 (10:26 +0100)]
ipmi: make unhandled sensor msg more informative

Change-Id: I5fc6056b2d0c5bb5cb1b28c3d24aaca163eb245b
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
7 years ago[2475] write_prometheus plugin: Fix port listening
tcarreira [Thu, 12 Oct 2017 15:37:28 +0000 (16:37 +0100)]
[2475] write_prometheus plugin: Fix port listening

Signed-off-by: Florian Forster <octo@collectd.org>
7 years agoMerge pull request #2482 from outini/master
Pavel Rochnyak [Mon, 16 Oct 2017 13:41:33 +0000 (20:41 +0700)]
Merge pull request #2482 from outini/master

Implementation of "Prefix" option for write_http plugin

7 years agowrite_http: Allow to set empty metrics prefix in KAIROSDB format
Pavel Rochnyack [Mon, 16 Oct 2017 12:46:06 +0000 (19:46 +0700)]
write_http: Allow to set empty metrics prefix in KAIROSDB format

7 years agowrite_http: Added strdup() result check
Pavel Rochnyack [Mon, 16 Oct 2017 12:05:20 +0000 (19:05 +0700)]
write_http: Added strdup() result check

7 years agoSetting metrics_prefix as char const *
Denis 'jawa' Pompilio [Mon, 16 Oct 2017 08:15:50 +0000 (10:15 +0200)]
Setting metrics_prefix as char const *

7 years agoAdded denis pompilio to contributors
Denis 'jawa' Pompilio [Fri, 13 Oct 2017 12:28:44 +0000 (14:28 +0200)]
Added denis pompilio to contributors

7 years agoImplementation of "Prefix" for write_http plugin
Denis 'jawa' Pompilio [Thu, 12 Oct 2017 15:33:13 +0000 (17:33 +0200)]
Implementation of "Prefix" for write_http plugin

This option is only available for the KAIROSDB format
This option defaults to "collectd"

7 years agoAdd sstrncpy if count_parts>2 but no suffix
Aleksei Zakharov [Thu, 12 Oct 2017 10:43:54 +0000 (10:43 +0000)]
Add sstrncpy if count_parts>2 but no suffix