<!--
Thank you for contributing to this project!
-->
<!--
Added dropduplicatefields for write_graphite
-->
<!--
n/a
-->
<!--
Thank you for contributing to this project!
-->
If you attempt to specify the collectd version in Hiera, and a newer version is available, issue might be caused because the package install of the plugins on new hosts would install the latest version for both the plugin and the main package (as a dependency). Puppet then starts failing attempting to downgrade the main package to your specified version.
With this PR it is ensure that mysql, snmp, and curl, are installed with the same version as the core package. Same thing was done for the disk plugin some time ago: https://github.com/voxpupuli/puppet-collectd/blob/master/manifests/plugin/disk.pp#L26L37
I don't believe the issue has yet been documented. Ideally this is done for all plugins.
The default hostname used by collectd is system dependent as retuned by
gethostname(3) (On FreeBSD it's the FQDN, while on Linux it's the
non-FQDN). The python method socket.gethostname() always return a
non-FQDN, and the user has the ability to tune the hostname as he wish
in the collectd configuration (hostname parameter).
This change allow to use a customized hostname by using an optional
argument "hostname". When not provided, the non-FQDN and the FQDN are
tried in turn to fetch the requested metric value.
n/a
Hello,
I've actually a profile class with a Collectd::Plugin::Network::Server. My collectd can be overwrite by anybody, and my profil class can't be detect which old network file it's require to clean if I not create a new resource with absent statement.
I would like to manage this plugin with a fixed file name and define the server with a separated parameter.
This feature include the possibility to add a specific title on collectd::plugin::network::server
for the configuration file name. The server should be define with the server
option.
modulesync 5.4.0
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
This PR implements a modbus plugin for collectd.
It allows to specify hosts and data sets.
In the past we restricted rspec-puppet tests to certain operating systems. This is hacky to maintain. We should try again to run it on all OSes, like we do it everywhere else.
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
modulesync 9.2.0
When sending metrics to multiple services on distinct ports on the same
node, in order to avoid conflicts we need to allow overriding the server
hostname on a per resource basis.
Example use case:
puppet
class { 'collectd::plugin::network':
servers => {
'collectd' => {
hostname => 'remote.example.com',
port => 25826,
},
'influxdb' => {
hostname => 'remote.example.com',
port => 25827,
},
},
}