Module: check_mk
Branch: master
Commit: 85e7ca2ecd17f2a31f1278a10e283b0e4c8a10fd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=85e7ca2ecd17f2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 6 14:45:31 2016 +0200
3368 FIX Fixed regression since 1.2.8b9 which broke all SNMP checks with Nagios core
---
.werks/3368 | 10 ++++++++++
ChangeLog | 1 +
modules/nagios.py | 1 +
3 files changed, 12 insertions(+)
diff --git a/.werks/3368 b/.werks/3368
new file mode 100644
index 0000000..84cf63c
--- /dev/null
+++ b/.werks/3368
@@ -0,0 +1,10 @@
+Title: Fixed regression since 1.2.8b9 which broke all SNMP checks with Nagios core
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1459946702
+
+
diff --git a/ChangeLog b/ChangeLog
index da45c7d..009e0f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -130,6 +130,7 @@
* 3113 FIX: windows agent: fixed process handle weren't freed when using
wmi-based ps check
* 3323 FIX: kernel.util: fix graph template in case steal is present but guest not
* 3367 FIX: nginx_status: Fixed local instance detection for IPv6 loopback address
+ * 3368 FIX: Fixed regression since 1.2.8b9 which broke all SNMP checks with Nagios
core
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/modules/nagios.py b/modules/nagios.py
index debe7f1..8219f81 100644
--- a/modules/nagios.py
+++ b/modules/nagios.py
@@ -1131,6 +1131,7 @@ no_discovery_possible = None
output.write("def is_tcp_host(hostname):\n return % r\n\n" %
is_tcp_host(hostname))
output.write("def is_usewalk_host(hostname):\n return % r\n\n" %
is_usewalk_host(hostname))
output.write("def snmpv3_contexts_of_host(hostname):\n return % r\n\n" %
snmpv3_contexts_of_host(hostname))
+ output.write("def is_inline_snmp_host(hostname):\n return % r\n\n"
% is_inline_snmp_host(hostname))
if is_inline_snmp_host(hostname):
output.write("def is_snmpv2c_host(hostname):\n return % r\n\n" %
is_snmpv2c_host(hostname))
output.write("def is_bulkwalk_host(hostname):\n return % r\n\n" %
is_bulkwalk_host(hostname))