skip not active
This commit is contained in:
parent
fa61a8d4ee
commit
e4995a6e92
|
@ -28,6 +28,9 @@ def main(args):
|
|||
|
||||
# Loop through all checks
|
||||
for check in checks:
|
||||
if not check['attrs']['active']:
|
||||
continue
|
||||
|
||||
last_check_time = check["attrs"]["last_check"]
|
||||
check_interval = check["attrs"]["check_interval"]
|
||||
check_timeout = check["attrs"]["check_timeout"] or args.default_timeout
|
||||
|
|
Loading…
Reference in New Issue