Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
collectd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DIEGO MICHELOTTO
collectd
Merge requests
!1
Collectd encryption
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Collectd encryption
infn-cloud/collectd:collectd_encryption
into
main
Overview
0
Commits
13
Pipelines
1
Changes
10
Merged
DIEGO MICHELOTTO
requested to merge
infn-cloud/collectd:collectd_encryption
into
main
3 years ago
Overview
0
Commits
13
Pipelines
1
Changes
10
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
9a21a4f0
13 commits,
3 years ago
10 files
+
68
−
30
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
manifests/setup/debian.pp
+
6
−
8
Options
@@ -23,12 +23,18 @@
# Mandatory. Default undef
# [*influxdb_collectd_port*] String: Port related to the influxdb host, usually 25826.
# Mandatory. Default 25826
# [*encript_user*] String: Username used to encrypt data in transit. If not set, no security is used.
# Optional. Default undef
# [*encript_password*] String: Password used to encrypt data in transit. If not set, no security is used.
# Optional. Default undef
#
# include collectd
class
collectd::setup::debian
(
String
$influxdb_collectd_host
=
$::collectd::influxdb_collectd_host
,
String
$influxdb_collectd_port
=
$::collectd::influxdb_collectd_port
,
$encript_user
=
$::collectd::encript_user
,
$encript_password
=
$::collectd::encript_password
,
)
{
$collectdpackages
=
[
'collectd'
,
'collectd-core'
,
'collectd-dbg'
,
'collectd-utils'
,
'libcollectdclient1'
]
@@ -47,14 +53,6 @@ class collectd::setup::debian (
require
=>
Package
[
$collectdpackages
],
}
#cron {'collectd_flush_cache':
# ensure => present,
# command => "/usr/bin/killall -SIGUSR1 collectd",
# user => root,
# minute => '0',
# hour => '*/2'
#}
service
{
'collectd'
:
ensure
=>
running
,
enable
=>
true
,
Loading