34 lines
820 B
Python
34 lines
820 B
Python
defaults = {
|
|
'apt': {
|
|
'packages': {
|
|
'influxdb2': {
|
|
'needs': {
|
|
'zfs_dataset:tank/influxdb2',
|
|
},
|
|
},
|
|
},
|
|
'repos': {
|
|
'influxdb': {
|
|
'items': {
|
|
'deb https://repos.influxdata.com/{os} {os_release} stable',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
'icinga2_api': {
|
|
'telegraf': {
|
|
'services': {
|
|
'INFLUXDB PROCESS': {
|
|
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C telegraf -c 1:',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
'zfs': {
|
|
'datasets': {
|
|
'tank/influxdb2': {
|
|
'mountpoint': '/var/lib/influxdb',
|
|
},
|
|
},
|
|
},
|
|
}
|