summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Florian Forster [Thu, 2 Feb 2012 16:39:21 +0000 (17:39 +0100)]
write_graphite plugin: Improve Hostname / Port handling.
Use getaddrinfo(3) for hostname lookup -- this also adds IPv6 compatibility.
Switch the internal names to node / service, to follow the terminology used by
getaddrinfo(3). Use cf_util_get_string() rather than implementing our own.
Allow service names in addition to port numbers.
Scott Sanders [Mon, 26 Dec 2011 16:34:52 +0000 (11:34 -0500)]
Fix copy/paste typo in config option handler
Spotted by Pavel Korovin. Thanks!
Scott Sanders [Fri, 18 Nov 2011 16:11:35 +0000 (11:11 -0500)]
Add patch from jimmyattime (issue #8)
This is certainly no worse than the previous usage of
pthread_mutex_lock, and will prevent the plugin from blocking. I'd like
to add better handling of failed locks in future commits.
Scott Sanders [Sun, 9 Oct 2011 23:08:27 +0000 (19:08 -0400)]
Prefix is no longer a required directive
While useful, the user should not be required to provide a prefix.
Having the hosts as the top level containers may make sense in some
environments. The current format is "${prefix}${hostname}${postfix}" so
be careful to add dots where needed.
Also updated docs to reflect this change.
Scott Sanders [Sun, 9 Oct 2011 23:02:06 +0000 (19:02 -0400)]
Allow the user to append a string to the hostname
The user should be able to append a string to the hostname to provide
better organization if they wish. The directive used to set this option
is Postfix.
Scott Sanders [Sun, 9 Oct 2011 22:32:07 +0000 (18:32 -0400)]
Make the dot substitution char configurable
Set the character used as the substitute in host and datasource names in
the collectd configuration block. The directive used to set this option
is DotCharactor and its default is '_' (underscore).
Scott Sanders [Mon, 3 Oct 2011 00:18:41 +0000 (20:18 -0400)]
Mangle dots on the type instance, not ds name
Scott Sanders [Sun, 2 Oct 2011 23:56:24 +0000 (19:56 -0400)]
Must be getting tired...
Scott Sanders [Sun, 2 Oct 2011 23:41:06 +0000 (19:41 -0400)]
Oops. Use the new string and free it when done
Scott Sanders [Sun, 2 Oct 2011 23:23:24 +0000 (19:23 -0400)]
Merge branch 'master' of github.com:jssjr/collectd-write_graphite
Scott Sanders [Sun, 2 Oct 2011 23:18:06 +0000 (19:18 -0400)]
Converts . to _ in datasource names
This came up during testing with the ntp plugin. The ds_name was being
sent with an ip in the string. This will prevent the result from nesting
in the carbon store.
Scott Sanders [Sun, 2 Oct 2011 20:28:32 +0000 (16:28 -0400)]
Don't require a named backend
Naming a backend adds no value to the configuration and only serves to
complicate things. Multiple unamed carbon backends are still allowed.
Documentation updated to reflect the change.
Scott Sanders [Sat, 1 Oct 2011 23:12:01 +0000 (19:12 -0400)]
Modify whitepsace
Scott Sanders [Sat, 1 Oct 2011 22:56:29 +0000 (18:56 -0400)]
Optimize strlen() calls out
Scott Sanders [Sat, 1 Oct 2011 22:46:06 +0000 (18:46 -0400)]
Move send buffer size to the top of the file
Scott Sanders [Sat, 1 Oct 2011 22:42:54 +0000 (18:42 -0400)]
Remove fold markers
Scott Sanders [Wed, 10 Aug 2011 00:17:46 +0000 (20:17 -0400)]
move sources
Scott Sanders [Mon, 8 Aug 2011 15:00:11 +0000 (11:00 -0400)]
free name appropriately
Scott Sanders [Mon, 8 Aug 2011 14:55:23 +0000 (10:55 -0400)]
add config example and move host definitation out of <Carbon> attribute
Scott Sanders [Mon, 8 Aug 2011 14:47:10 +0000 (10:47 -0400)]
initial sync from private repo