diff --git a/check_naf.py b/check_naf.py index 42c3953..ebc34c1 100755 --- a/check_naf.py +++ b/check_naf.py @@ -405,7 +405,7 @@ def main(): for quad in checks: (check, target, warn, crit) = tuple(quad) - if check == 'global': + if check == 'global' or check == 'environment': result = plugin.check_global() elif check == 'cpu': result = plugin.check_cpu(warn=warn, crit=crit)