2021-04-23 17:27:20 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'telegraf': {},
|
|
|
|
},
|
|
|
|
'repos': {
|
|
|
|
'influxdb': {
|
|
|
|
'items': {
|
2021-04-24 09:47:28 +00:00
|
|
|
'deb https://repos.influxdata.com/debian buster stable',
|
|
|
|
# TODO switch to autogenerated node name once influx supports bullseye
|
|
|
|
#'deb https://repos.influxdata.com/{os} {os_release} stable',
|
2021-04-23 17:27:20 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'icinga2_api': {
|
|
|
|
'telegraf': {
|
|
|
|
'services': {
|
|
|
|
'TELEGRAF PROCESS': {
|
|
|
|
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C telegraf -c 1:',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|