Module: check_mk
Branch: master
Commit: 4e187c436a52e60f0e6076eaf1eb9db57d100b1b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4e187c436a52e6…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Jan 13 10:08:25 2014 +0100
FIX cisco_vpn_tunnel: Fixed typo who leads to an exception
---
.werks/116 | 9 +++++++++
ChangeLog | 1 +
checks/cisco_vpn_tunnel | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/116 b/.werks/116
new file mode 100644
index 0000000..11c2f1e
--- /dev/null
+++ b/.werks/116
@@ -0,0 +1,9 @@
+Title: cisco_vpn_tunnel: Fixed typo who leads to an exception
+Level: 1
+Component: checks
+Class: fix
+State: unknown
+Version: 1.2.5i1
+Date: 1389603991
+
+
diff --git a/ChangeLog b/ChangeLog
index a411a03..a95acf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -93,6 +93,7 @@
* 0403 FIX: mem.used: Prefer statgrab on FreeBSD for supporting more than 4GB...
* 0404 FIX: cups_queues: fix exception in case of alternative time format...
* 0444 FIX: timemachine: do not inventorize check when timemachine is not used
+ * 0116 FIX: cisco_vpn_tunnel: Fixed typo who leads to an exception
Multisite:
* 0371 Added log class filter to hostsvcevents view
diff --git a/checks/cisco_vpn_tunnel b/checks/cisco_vpn_tunnel
index 1086bdf..5694cfe 100644
--- a/checks/cisco_vpn_tunnel
+++ b/checks/cisco_vpn_tunnel
@@ -41,7 +41,7 @@ def check_cisco_vpn_tunnel(item, params, info):
tunnels = params.get('tunnels',[])
tunnel_alias = ""
if not params.get('state'):
- tunnel_wort_state = 2
+ tunnel_worst_state = 2
else:
tunnel_worst_state = params.get('state')
if item in [tunnel[0] for tunnel in tunnels]: