bundles/sshmon: remove INTERNET check
All checks were successful
bundlewrap/pipeline/head This commit looks good

We're using the internet to check these hosts, so if those hosts
wouldn't have an internet connection, the whole host would be
down, atleast as far as icinga can tell.
This commit is contained in:
Franzi 2021-01-30 11:47:55 +01:00
parent 161aec9314
commit 569275329c
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -67,8 +67,6 @@ def default_checks(metadata):
mounts_options = metadata.get('sshmon/check_mounts_options', '')
check_internet_http_url = metadata.get('sshmon/check_internet_http_url', 'https://ftp-stud.hs-esslingen.de')
disk_space_extra_args = set()
for pattern in disk_space_ignore_patterns:
@ -101,10 +99,6 @@ def default_checks(metadata):
'max_check_attempts': '12',
'retry_interval': '30m',
},
'INTERNET': {
'command_on_monitored_host': f'/usr/local/share/icinga/plugins/check_http_wget --url {check_internet_http_url}',
'vars.sshmon_timeout': 30,
}
},
},
},