2021-04-23 17:27:20 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
2022-02-14 06:11:14 +00:00
|
|
|
'telegraf': {
|
|
|
|
'needed_by': {
|
|
|
|
'svc_systemd:telegraf',
|
|
|
|
'user:telegraf',
|
|
|
|
},
|
|
|
|
},
|
2021-04-23 17:27:20 +00:00
|
|
|
},
|
|
|
|
'repos': {
|
|
|
|
'influxdb': {
|
|
|
|
'items': {
|
2021-08-20 11:25:22 +00:00
|
|
|
'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:',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-02-14 06:11:14 +00:00
|
|
|
'pacman': {
|
2022-02-14 06:56:51 +00:00
|
|
|
'packages': {
|
|
|
|
'telegraf-bin': {
|
2022-02-14 06:11:14 +00:00
|
|
|
'needed_by': {
|
|
|
|
'svc_systemd:telegraf',
|
|
|
|
'user:telegraf',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-04-23 17:27:20 +00:00
|
|
|
}
|