2021-04-24 08:17:56 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'influxdb2': {
|
|
|
|
'needs': {
|
|
|
|
'zfs_dataset:tank/influxdb2',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'repos': {
|
|
|
|
'influxdb': {
|
|
|
|
'items': {
|
2023-07-13 19:41:22 +00:00
|
|
|
'deb https://repos.influxdata.com/{os} stable main',
|
2021-04-24 08:17:56 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-05-15 18:32:23 +00:00
|
|
|
'backups': {
|
|
|
|
'paths': {
|
|
|
|
'/var/lib/influxdb',
|
|
|
|
},
|
|
|
|
},
|
2021-04-24 08:17:56 +00:00
|
|
|
'icinga2_api': {
|
|
|
|
'telegraf': {
|
|
|
|
'services': {
|
|
|
|
'INFLUXDB PROCESS': {
|
2021-08-20 11:25:40 +00:00
|
|
|
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C influxd -c 1:',
|
2021-04-24 08:17:56 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'zfs': {
|
|
|
|
'datasets': {
|
|
|
|
'tank/influxdb2': {
|
|
|
|
'mountpoint': '/var/lib/influxdb',
|
2021-06-26 06:19:55 +00:00
|
|
|
'atime': 'off',
|
2021-04-24 08:17:56 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|