bundlewrap/bundles/smartctl/metadata.py
2021-10-30 20:13:24 +02:00

27 lines
617 B
Python

defaults = {
'apt': {
'packages': {
'smartmontools': {},
},
},
'grafana_rows': {
'smartctl',
},
'smartctl': {},
'telegraf': {
'config': {
'inputs': {
'exec': [{
'commands': [
f'sudo /usr/local/share/icinga/plugins/smartctl',
],
'data_format': 'influx',
'interval': '60s',
}],
},
},
},
'sudoers': {
'telegraf': ['/usr/local/share/icinga/plugins/smartctl'],
},
}