From 9b3e66915ce7a984ae5bd6aea94b1e134e9cc64e Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Sun, 4 Feb 2024 14:33:31 +0100 Subject: [PATCH] wip --- bundles/wordpress/metadata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/wordpress/metadata.py b/bundles/wordpress/metadata.py index 57337e2..33a4e11 100644 --- a/bundles/wordpress/metadata.py +++ b/bundles/wordpress/metadata.py @@ -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')