Module: check_mk
Branch: master
Commit: cc353620b26fbd3d915ecb5ef5d8b072fa7f7d59
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cc353620b26fbd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 20 16:42:49 2015 +0100
Fixed shortly introduced bug in service discovery check
---
modules/discovery.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/discovery.py b/modules/discovery.py
index d5c6270..5254f28 100644
--- a/modules/discovery.py
+++ b/modules/discovery.py
@@ -173,7 +173,7 @@ def check_discovery(hostname, ipaddress=None):
total_check_output += output
return status
else:
- sys.stdout.write(nagios_state_names[status] + " - " + output)
+ sys.stdout.write(core_state_names[status] + " - " + output)
sys.exit(status)