This commit is contained in:
cronekorkn 2024-02-04 14:33:31 +01:00
parent 6f972fddd2
commit 9b3e66915c
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -65,6 +65,7 @@ def zfs(metadata):
},
}
@metadata_reactor.provides(
'monitoring/services',
)
@ -74,7 +75,7 @@ def check_insecure(metadata):
'services': {
f'wordpress {site} insecure': {
'vars.command': f'/usr/lib/nagios/plugins/check_wordpress_insecure {site}',
'check_interval': '1h',
'check_interval': '30m',
'vars.sudo': True,
}
for site in metadata.get('wordpress')