Module: check_mk
Branch: master
Commit: df4ae23e54cb86c2a19d49b46a80b8270c4a2c87
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=df4ae23e54cb86…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Dec 16 15:18:38 2011 +0100
FIX: PNP template if if/if64: reset LC_ALL, avoids syntax error
---
ChangeLog | 1 +
pnp-templates/check_mk-if.php | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0a66111..c34d862 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -119,6 +119,7 @@
* FIX: bluecoat_diskcpu: repair scan function
* FIX: mem.vmalloc: fix default levels (32 and 64 was swapped)
* FIX: smart: make levels work (thanks to Bernhard Schmidt)
+ * FIX: PNP template if if/if64: reset LC_ALL, avoids syntax error
1.1.12p4:
Multisite:
diff --git a/pnp-templates/check_mk-if.php b/pnp-templates/check_mk-if.php
index fdab1f9..1012b70 100644
--- a/pnp-templates/check_mk-if.php
+++ b/pnp-templates/check_mk-if.php
@@ -23,6 +23,8 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
+setlocale(LC_ALL, 'C');
+
# Performance data from check:
# in=6864.39071505;0.01;0.1;0;125000000.0
# inucast=48.496962273;0.01;0.1;;