From d66227d843b2c22c9aaeda0ea5a0dcf6516c58a5 Mon Sep 17 00:00:00 2001 From: Bernhard Weitzhofer Date: Sun, 17 Mar 2013 11:31:13 +0100 Subject: [PATCH] "nagios" module: fix NameError/'host' not defined Add missing 'host' variable, which is read a few lines later on in some cases. --- nagios | 1 + 1 file changed, 1 insertion(+) diff --git a/nagios b/nagios index 70597879210..21457a29f1f 100644 --- a/nagios +++ b/nagios @@ -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']