Commit aa7ea108 by Bernhard Weitzhofer

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

Add missing 'host' variable, which is read a few lines later on in some cases.
parent 6988ccf9
......@@ -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']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment