"nagios" module: fix NameError/'host' not defined

Add missing 'host' variable, which is read a few lines later on in some cases.
This commit is contained in:
Bernhard Weitzhofer 2013-03-17 11:31:13 +01:00
parent 3808981d21
commit d66227d843

1
nagios
View file

@ -167,6 +167,7 @@ def main():
)
action = module.params['action']
host = module.params['host']
minutes = module.params['minutes']
services = module.params['services']
cmdfile = module.params['cmdfile']