From aa7ea10826bbfd80bd861f80dab3c32cce6b8f17 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. --- library/nagios | 1 + 1 file changed, 1 insertion(+) diff --git a/library/nagios b/library/nagios index 70597879210..21457a29f1f 100644 --- a/library/nagios +++ b/library/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']