"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:
parent
3808981d21
commit
d66227d843
1 changed files with 1 additions and 0 deletions
1
nagios
1
nagios
|
@ -167,6 +167,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
action = module.params['action']
|
action = module.params['action']
|
||||||
|
host = module.params['host']
|
||||||
minutes = module.params['minutes']
|
minutes = module.params['minutes']
|
||||||
services = module.params['services']
|
services = module.params['services']
|
||||||
cmdfile = module.params['cmdfile']
|
cmdfile = module.params['cmdfile']
|
||||||
|
|
Loading…
Reference in a new issue