Module: check_mk
Branch: master
Commit: 030e4f428882ad174d1386b7abc8cc1b45888af1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=030e4f428882ad…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Jan 23 10:05:56 2014 +0100
Unitrends Backup
Unitrends is a enterprise class backup solution.
This check kann monitor the Backup schedules from unitrends.
---
.werks/125 | 10 ++++++++++
ChangeLog | 1 +
2 files changed, 11 insertions(+)
diff --git a/.werks/125 b/.werks/125
new file mode 100644
index 0000000..fffd5d6
--- /dev/null
+++ b/.werks/125
@@ -0,0 +1,10 @@
+Title: Unitrends Backup
+Level: 1
+Component: checks
+Version: 1.2.5i1
+Date: 1390467872
+Class: feature
+
+Unitrends is a enterprise class backup solution.
+This check kann monitor the Backup schedules from unitrends.
+
diff --git a/ChangeLog b/ChangeLog
index 25d3ce9..e5c4651 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -60,6 +60,7 @@
* 0463 emcvnx_raidgroups.capacity, emcvnx_raidgroups.capacity_contiguous: New Checks for EMC VNX Storage systems...
* 0570 fileinfo.groups: file groups now allow exclude patterns as well
* 0464 stulz_pump: new check for the status of pumps of Stulz clima units
+ * 0125 Unitrends Backup...
* 0103 FIX: services: Fixed bug with service inventory defined in main.mk...
* 0299 FIX: borcade_mlx_fan: Prettified output, handling "other" state now
* 0300 FIX: cisco_fru_power: Trying not to inventorize not plugged in FRUs...
Module: check_mk
Branch: master
Commit: 5269bd44069544ffa000574e638d0a3f71dbf302
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5269bd44069544…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Wed Jan 22 19:02:59 2014 +0100
stulz_pump: new check for the status of pumps of Stulz clima units
---
.werks/464 | 8 ++++++++
ChangeLog | 1 +
checkman/stulz_pump | 11 +++++++++++
checks/stulz_pump | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 73 insertions(+)
diff --git a/.werks/464 b/.werks/464
new file mode 100644
index 0000000..eb9e1f0
--- /dev/null
+++ b/.werks/464
@@ -0,0 +1,8 @@
+Title: stulz_pump: new check for the status of pumps of Stulz clima units
+Level: 1
+Component: checks
+Version: 1.2.5i1
+Date: 1390413752
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 4d496fd..25d3ce9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,7 @@
* 0462 emcvnx_raidgroups.list_disks: New check for EMC VNX storage system...
* 0463 emcvnx_raidgroups.capacity, emcvnx_raidgroups.capacity_contiguous: New Checks for EMC VNX Storage systems...
* 0570 fileinfo.groups: file groups now allow exclude patterns as well
+ * 0464 stulz_pump: new check for the status of pumps of Stulz clima units
* 0103 FIX: services: Fixed bug with service inventory defined in main.mk...
* 0299 FIX: borcade_mlx_fan: Prettified output, handling "other" state now
* 0300 FIX: cisco_fru_power: Trying not to inventorize not plugged in FRUs...
diff --git a/checkman/stulz_pump b/checkman/stulz_pump
new file mode 100644
index 0000000..c1435b8
--- /dev/null
+++ b/checkman/stulz_pump
@@ -0,0 +1,11 @@
+title: Stulz clima unit pump status
+agents: snmp
+catalog: hw/environment
+license: GPL
+distribution: check_mk
+description:
+ This plugin checks the status of pumps of Stulz clima units. Returns
+ {OK} if the pump is running and {CRIT} if it is not running.
+
+inventory:
+ The inventory will create exactly one service per pump.
diff --git a/checks/stulz_pump b/checks/stulz_pump
new file mode 100644
index 0000000..e3e6ec2
--- /dev/null
+++ b/checks/stulz_pump
@@ -0,0 +1,53 @@
+#!/usr/bin/python
+# -*- encoding: utf-8; py-indent-offset: 4 -*-
+# +------------------------------------------------------------------+
+# | ____ _ _ __ __ _ __ |
+# | / ___| |__ ___ ___| | __ | \/ | |/ / |
+# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
+# | | |___| | | | __/ (__| < | | | | . \ |
+# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
+# | |
+# | Copyright Mathias Kettner 2013 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.
+
+def inventory_stulz_pump(info):
+ inventory = []
+ for pump_id, pump_status in info:
+ pump_id = pump_id.replace('.1', '')
+ inventory.append( (pump_id, None) )
+ return inventory
+
+def check_stulz_pump(item, _no_params, info):
+ for pump_id, pump_status in info:
+ pump_id = pump_id.replace('.1', '')
+ if pump_id == item:
+ if pump_status == '1':
+ return 0, "Pump is running"
+ elif pump_status == '0':
+ return 2, "Pump is not running"
+ else:
+ return 3, "Pump reports unidentified status " + pump_status
+ return 3, "Pump %s not found" % item
+
+check_info["stulz_pump"] = {
+ "check_function" : check_stulz_pump,
+ "inventory_function" : inventory_stulz_pump,
+ "service_description" : "Pump %s",
+ "snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") == ".1.3.6.1.4.1.29462.10",
+ "snmp_info" : ( ".1.3.6.1.4.1.29462.10.2.1.1.2.1.4.1.1.5802", [ OID_END, 2] ),
+}
+
Module: check_mk
Branch: master
Commit: 7552daef9ed887a032d4b85110a96bcd116ed2a7
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7552daef9ed887…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jan 22 16:59:42 2014 +0100
FIX livestatus log table: fixed missing logentries of archived logfiles
In archived logfiles the line numbering of the logfile entries was incorrect.
The incorrect number could collide with the configuration option max_lines_per_logfile,
thus leading to an error where archive logfiles where not read completely.<br>
For example:<br>
More than 1000000 lines in ….. /live/var/archives/nagios-01-20-2014-00.log. Ignoring the rest!
---
.werks/263 | 14 ++++++++++++++
ChangeLog | 3 +++
livestatus/src/Logfile.cc | 1 +
3 files changed, 18 insertions(+)
diff --git a/.werks/263 b/.werks/263
new file mode 100644
index 0000000..34daa4f
--- /dev/null
+++ b/.werks/263
@@ -0,0 +1,14 @@
+Title: livestatus log table: fixed missing logentries of archived logfiles
+Level: 1
+Component: liveproxy
+Class: fix
+State: unknown
+Version: 1.2.5i1
+Date: 1390406019
+
+In archived logfiles the line numbering of the logfile entries was incorrect.
+The incorrect number could collide with the configuration option max_lines_per_logfile,
+thus leading to an error where archive logfiles where not read completely.<br>
+For example:<br>
+More than 1000000 lines in ….. /live/var/archives/nagios-01-20-2014-00.log. Ignoring the rest!
+
diff --git a/ChangeLog b/ChangeLog
index 6c5af24..4d496fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -235,6 +235,9 @@
* 0336 FIX: Limit the number of lines read from a single logfile...
* 0344 FIX: Fix semantics of columns num_services_hard_*...
+ Livestatus-Proxy:
+ * 0263 FIX: livestatus log table: fixed missing logentries of archived logfiles...
+
1.2.3i7:
Core & Setup:
diff --git a/livestatus/src/Logfile.cc b/livestatus/src/Logfile.cc
index 3324554..919c424 100644
--- a/livestatus/src/Logfile.cc
+++ b/livestatus/src/Logfile.cc
@@ -138,6 +138,7 @@ void Logfile::load(LogCache *logcache, time_t since, time_t until, unsigned logc
return;
}
+ _lineno = 0;
loadRange(file, missing_types, logcache, since, until, logclasses);
fclose(file);
_logclasses_read |= missing_types;
Module: check_mk
Branch: master
Commit: 981bea6535571ffecd19c13f8b26e4f4f623be03
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=981bea6535571f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jan 22 09:46:24 2014 +0100
Fixed help text in EC actions
---
mkeventd/web/plugins/wato/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/web/plugins/wato/mkeventd.py b/mkeventd/web/plugins/wato/mkeventd.py
index 2038676..dd7b71b 100644
--- a/mkeventd/web/plugins/wato/mkeventd.py
+++ b/mkeventd/web/plugins/wato/mkeventd.py
@@ -70,7 +70,7 @@ The following placeholdes will be substituted by value from the actual event:
<tr><td class=tt>$STATE$</td><td>State of the event (0/1/2/3)</td></tr>
<tr><td class=tt>$PHASE$</td><td>Phase of the event (always open)</td></tr>
<tr><td class=tt>$OWNER$</td><td>Owner of the event</td></tr>
-<tr><td class=tt>$MATCH_GROUPS$</td><td>Text groups from regular expression match, separated by spaces/td></tr>
+<tr><td class=tt>$MATCH_GROUPS$</td><td>Text groups from regular expression match, separated by spaces</td></tr>
<tr><td class=tt>$MATCH_GROUP_1$</td><td>Text of the first match group from expression match</td></tr>
<tr><td class=tt>$MATCH_GROUP_2$</td><td>Text of the second match group from expression match</td></tr>
<tr><td class=tt>$MATCH_GROUP_3$</td><td>Text of the third match group from expression match (and so on...)</td></tr>