bundles/matrix-dimension: disable update check until there are releases
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

... we're using 'master' for now.
This commit is contained in:
Franzi 2021-07-17 13:05:56 +02:00
parent 32c0ad3bd6
commit 61062c8312
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -5,6 +5,15 @@ defaults = {
'/var/opt/matrix-dimension', '/var/opt/matrix-dimension',
}, },
}, },
'icinga2_api': {
'matrix-dimension': {
'services': {
'MATRIX-DIMENSION PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a matrix-dimension -c 1:',
},
},
},
},
'matrix-dimension': { 'matrix-dimension': {
'install_dir': '/opt/matrix-dimension', 'install_dir': '/opt/matrix-dimension',
'data_dir': '/var/opt/matrix-dimension', 'data_dir': '/var/opt/matrix-dimension',
@ -55,23 +64,21 @@ def nginx_config(metadata):
} }
@metadata_reactor.provides( # XXX enable this once there are releases for matrix-dimension
'icinga2_api/matrix-dimension/services', #@metadata_reactor.provides(
) # 'icinga2_api/matrix-dimension/services',
def icinga_check_for_new_release(metadata): #)
return { #def icinga_check_for_new_release(metadata):
'icinga2_api': { # return {
'matrix-dimension': { # 'icinga2_api': {
'services': { # 'matrix-dimension': {
'MATRIX-DIMENSION UPDATE': { # 'services': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_github_for_new_release turt2live/matrix-dimension {}'.format(metadata.get('matrix-dimension/version')), # 'MATRIX-DIMENSION UPDATE': {
'vars.notification.mail': True, # 'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_github_for_new_release turt2live/matrix-dimension {}'.format(metadata.get('matrix-dimension/version')),
'check_interval': '60m', # 'vars.notification.mail': True,
}, # 'check_interval': '60m',
'MATRIX-DIMENSION PROCESS': { # },
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a matrix-dimension -c 1:', # },
}, # },
}, # },
}, # }
},
}