bundles/octoprint: add update check

This commit is contained in:
Franzi 2020-11-21 20:35:29 +01:00
parent 91f2fd839b
commit 4f5e462c94
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 70 additions and 0 deletions

View file

@ -35,4 +35,11 @@ files = {
'/opt/octoprint/systemd-wrapper': {
'mode': '0755',
},
'/usr/local/share/icinga/plugins/check_octoprint_update': {
'mode': '0755',
'content_type': 'mako',
'context': {
'api_key': node.metadata.get('octoprint', {}).get('api_key', ''),
},
},
}