bundles/sshmon: remove INTERNET check
All checks were successful
bundlewrap/pipeline/head This commit looks good
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:
parent
161aec9314
commit
569275329c
1 changed files with 0 additions and 6 deletions
|
@ -67,8 +67,6 @@ def default_checks(metadata):
|
||||||
|
|
||||||
mounts_options = metadata.get('sshmon/check_mounts_options', '')
|
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()
|
disk_space_extra_args = set()
|
||||||
|
|
||||||
for pattern in disk_space_ignore_patterns:
|
for pattern in disk_space_ignore_patterns:
|
||||||
|
@ -101,10 +99,6 @@ def default_checks(metadata):
|
||||||
'max_check_attempts': '12',
|
'max_check_attempts': '12',
|
||||||
'retry_interval': '30m',
|
'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,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue