wip
This commit is contained in:
parent
6f972fddd2
commit
9b3e66915c
1 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,7 @@ def zfs(metadata):
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'monitoring/services',
|
'monitoring/services',
|
||||||
)
|
)
|
||||||
|
@ -74,7 +75,7 @@ def check_insecure(metadata):
|
||||||
'services': {
|
'services': {
|
||||||
f'wordpress {site} insecure': {
|
f'wordpress {site} insecure': {
|
||||||
'vars.command': f'/usr/lib/nagios/plugins/check_wordpress_insecure {site}',
|
'vars.command': f'/usr/lib/nagios/plugins/check_wordpress_insecure {site}',
|
||||||
'check_interval': '1h',
|
'check_interval': '30m',
|
||||||
'vars.sudo': True,
|
'vars.sudo': True,
|
||||||
}
|
}
|
||||||
for site in metadata.get('wordpress')
|
for site in metadata.get('wordpress')
|
||||||
|
|
Loading…
Reference in a new issue