bundles/octoprint: add update check
This commit is contained in:
parent
91f2fd839b
commit
4f5e462c94
4 changed files with 70 additions and 0 deletions
|
@ -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', ''),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue