home.paperless: update debian bookworm, update to paperless-ngx
This commit is contained in:
parent
b454fe4745
commit
400b10789a
3 changed files with 24 additions and 5 deletions
|
@ -56,3 +56,22 @@ def paperless_tesseract_languages(metadata):
|
|||
'packages': packages,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'icinga2_api/paperless/services',
|
||||
)
|
||||
def icinga_check_for_new_release(metadata):
|
||||
return {
|
||||
'icinga2_api': {
|
||||
'paperless': {
|
||||
'services': {
|
||||
'PAPERLESS UPDATE': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_github_for_new_release paperless-ngx/paperless-ngx {}'.format(metadata.get('paperless/version')),
|
||||
'vars.notification.mail': True,
|
||||
'check_interval': '60m',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue