Module: check_mk
Branch: master
Commit: 63e7bec3801df108206701f3b749d52e258f50e6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=63e7bec3801df1…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Feb 4 13:48:51 2016 +0100
#3069 FIX unitrend_backup: fixed broken plugin output
---
.werks/3069 | 10 ++++++++
ChangeLog | 1 +
agents/plugins/unitrends_backup | 51 ++++++++++++++++++++-------------------
3 files changed, 37 insertions(+), 25 deletions(-)
diff --git a/.werks/3069 b/.werks/3069
new file mode 100644
index 0000000..df2f39a
--- /dev/null
+++ b/.werks/3069
@@ -0,0 +1,10 @@
+Title: unitrend_backup: fixed broken plugin output
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i4
+Date: 1454590092
+
+
diff --git a/ChangeLog b/ChangeLog
index c1a1ec0..7b4abbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -247,6 +247,7 @@
* 3045 FIX: veeam_backup_status: Fixed wrong date format reported by agent...
* 3066 FIX: windows agent: 32-bit performance counters were not returned correctly
* 3068 FIX: ps: added performance graphs for process handle count (windows only)
+ * 3069 FIX: unitrend_backup: fixed broken plugin output
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/agents/plugins/unitrends_backup b/agents/plugins/unitrends_backup
index b4398a3..1060380 100755
--- a/agents/plugins/unitrends_backup
+++ b/agents/plugins/unitrends_backup
@@ -1,29 +1,30 @@
-#!/usr/bin/pnp
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2014 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at http://mathias-kettner.de/check_mk.
-#
-# check_mk is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# ails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
+#!/usr/bin/php
<?php
+// +------------------------------------------------------------------+
+// | ____ _ _ __ __ _ __ |
+// | / ___| |__ ___ ___| | __ | \/ | |/ / |
+// | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
+// | | |___| | | | __/ (__| < | | | | . \ |
+// | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
+// | |
+// | Copyright Mathias Kettner 2014 mk(a)mathias-kettner.de |
+// +------------------------------------------------------------------+
+//
+// This file is part of Check_MK.
+// The official homepage is at http://mathias-kettner.de/check_mk.
+//
+// check_mk is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by
+// the Free Software Foundation in version 2. check_mk is distributed
+// in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
+// out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+// PARTICULAR PURPOSE. See the GNU General Public License for more de-
+// ails. You should have received a copy of the GNU General Public
+// License along with GNU Make; see the file COPYING. If not, write
+// to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+// Boston, MA 02110-1301 USA.
+//
+//
print "<<<unitrends_backup:sep(124)>>>\n";
$conn = "port=5432 dbname=bpdb user=postgres";
$db = pg_connect($conn);
Module: check_mk
Branch: master
Commit: c60cb48d7ad60fa4363beb168e4a6169cb0e635a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c60cb48d7ad60f…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Feb 4 10:51:57 2016 +0100
Re-classify cppcoreguidelines-pro-type-reinterpret-cast check.
---
.clang-tidy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.clang-tidy b/.clang-tidy
index 29f3168..fbea749 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -14,13 +14,13 @@
#
# * desirable checks, but hard to fix currently:
# * cert-dcl50-cpp ("do not define a C-style variadic function; consider using a function parameter pack or currying instead")
+# * cppcoreguidelines-pro-type-reinterpret-cast ("do not use reinterpret_cast")
# * cppcoreguidelines-pro-type-vararg ("do not call c-style vararg functions")
#
# * desirable checks, but some places need to be suppressed:
# * cppcoreguidelines-pro-type-const-cast ("do not use const_cast")
#
# * desirable checks, but not yet fixed:
-# * cppcoreguidelines-pro-type-reinterpret-cast ("do not use reinterpret_cast")
# * readability-else-after-return ("don't use else after return")
#
Checks: '*,-cert-dcl50-cpp,-cert-err58-cpp,-clang-analyzer-alpha*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-vararg,-google-runtime-int,-llvm-include-order,-readability-else-after-return'