Module: check_mk
Branch: master
Commit: 90ef16e20ffb3b1ab0e2cbae91fe3927813dfe0d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=90ef16e20ffb3b…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Apr 19 09:13:45 2016 +0200
fixed incompatibility of werk 3114 (agent encryption) with nagios core
---
modules/nagios.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/nagios.py b/modules/nagios.py
index 8219f81..47ca245 100644
--- a/modules/nagios.py
+++ b/modules/nagios.py
@@ -1189,6 +1189,9 @@ no_discovery_possible = None
# TCP and SNMP port of agent
output.write("def agent_port_of(hostname):\n return %d\n\n" %
agent_port_of(hostname))
+ # agent encryption
+ output.write("def agent_encryption_settings(hostname):\n return %r\n\n"
% agent_encryption_settings(hostname))
+
# Exit code of Check_MK in case of various errors
output.write("def exit_code_spec(hostname):\n return %r\n\n" %
exit_code_spec(hostname))