Module: check_mk
Branch: master
Commit: 6c5833a69802aa6d9fab61c4b80897f6feecda46
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6c5833a69802aa…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Aug 20 08:38:20 2015 +0200
#2530 ups_modulys_alarms ups_modulys_battery ups_modulys_battery_temp ups_modulys_inphase
ups_modulys_outphase: New checks for the Socomec Modulys UPS
---
.werks/2530 | 9 +++++++++
ChangeLog | 1 +
checkman/ups_modulys_alarms | 23 +++++++++++++++++++++++
checkman/ups_modulys_battery | 13 +++++++++++++
checkman/ups_modulys_battery_temp | 12 ++++++++++++
checkman/ups_modulys_inphase | 17 +++++++++++++++++
checkman/ups_modulys_outphase | 17 +++++++++++++++++
7 files changed, 92 insertions(+)
diff --git a/.werks/2530 b/.werks/2530
new file mode 100644
index 0000000..f1ee084
--- /dev/null
+++ b/.werks/2530
@@ -0,0 +1,9 @@
+Title: ups_modulys_alarms ups_modulys_battery ups_modulys_battery_temp
ups_modulys_inphase ups_modulys_outphase: New checks for the Socomec Modulys UPS
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i3
+Date: 1440052569
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 8797616..d1f39d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -54,6 +54,7 @@
* 2517 mem.linux: Now able to handle hardware corrupted error via WATO rule...
* 1281 Microsoft Azure special agent (treasures)...
* 2420 mk_db2.aix: now able to monitor partitioned databases...
+ * 2530 ups_modulys_alarms ups_modulys_battery ups_modulys_battery_temp
ups_modulys_inphase ups_modulys_outphase: New checks for the Socomec Modulys UPS
* 2315 FIX: windows agent: BOM replacement, fixed incorrect byte offset...
* 2316 FIX: windows agent: fix garbled output of cached agent plugins...
* 2358 FIX: check_mk_agent.solaris: more correct computation of zfs used space...
diff --git a/checkman/ups_modulys_alarms b/checkman/ups_modulys_alarms
new file mode 100644
index 0000000..c10737f
--- /dev/null
+++ b/checkman/ups_modulys_alarms
@@ -0,0 +1,23 @@
+title: Socomec Modulys UPS Device: Alarms
+agents: snmp
+catalog: hw/power/socomec
+license: GPL
+distribution: check_mk
+description:
+ Monitors alarms the device reports.
+
+ {Critical alarms}:
+ 'Disconnect', 'Input power failure', 'Low batteries',
'Severley high load', 'On
+ bypass', 'General failure', 'Battery ground fault', 'UPS test
failure', 'Fuse failure', 'Output
+ overload', 'Output overcurrent', 'Inverter abnormal', 'Rectifier
abnormal', 'Reserve abnormal',
+ 'Bypass bad', 'Charger failure', 'Emergency power off', 'Fan
failure', 'Output abnormal', 'Output
+ breaker open', 'Overheating'
+
+ {Warning alarms}: 'High load', 'On reserve', 'Output turned
off', 'Shutdown', 'Smart shutdown in
+ progress'
+
+ {Unproblematic alarms}: 'UPS test in progress', 'In economic mode',
'In standby mode'
+
+inventory:
+ Creates one item.
+
diff --git a/checkman/ups_modulys_battery b/checkman/ups_modulys_battery
new file mode 100644
index 0000000..2a28b9b
--- /dev/null
+++ b/checkman/ups_modulys_battery
@@ -0,0 +1,13 @@
+title: Socomec Modulys UPS Device: Battery status
+agents: snmp
+catalog: hw/power/socomec
+license: GPL
+distribution: check_mk
+description:
+ Monitors whether the battery is discharging, the remaining capacity and estimated time
until
+ shutdown as well as the general health state of the battery.
+ Note: It is currently unclear whether the time until shutdown is reliably reported by
the device.
+
+inventory:
+ Creates exactly one item.
+
diff --git a/checkman/ups_modulys_battery_temp b/checkman/ups_modulys_battery_temp
new file mode 100644
index 0000000..e1f8731
--- /dev/null
+++ b/checkman/ups_modulys_battery_temp
@@ -0,0 +1,12 @@
+title: Socomec Modulys UPS Device: Battery temperature
+agents: snmp
+catalog: hw/power/socomec
+license: GPL
+distribution: check_mk
+description:
+ Monitors battery temperature. The temperature sensor on this device is optional
+ and needs to be installed for this check to work.
+
+inventory:
+ Creates one item if the sensor is connected.
+
diff --git a/checkman/ups_modulys_inphase b/checkman/ups_modulys_inphase
new file mode 100644
index 0000000..d87b072
--- /dev/null
+++ b/checkman/ups_modulys_inphase
@@ -0,0 +1,17 @@
+title: Socomec Modulys UPS Device: Input phases
+agents: snmp
+catalog: hw/power/socomec
+license: GPL
+distribution: check_mk
+description:
+ Monitors voltage, current and frequency of input phases of Socomec Modulys UPSs.
+
+item:
+ The identifier of the phase (usually {"Phase 1"}, {"Phase 2"},
{"Phase 3"}).
+
+perfdata:
+ Three values: Voltage, current and frequency.
+
+inventory:
+ Creates one or three items - one per input phase.
+
diff --git a/checkman/ups_modulys_outphase b/checkman/ups_modulys_outphase
new file mode 100644
index 0000000..32bc14d
--- /dev/null
+++ b/checkman/ups_modulys_outphase
@@ -0,0 +1,17 @@
+title: Socomec Modulys UPS Device: Output phases
+agents: snmp
+catalog: hw/power/socomec
+license: GPL
+distribution: check_mk
+description:
+ Monitors voltage, current, frequency, power and load output phases of Socomec Modulys
UPSs.
+
+item:
+ The identifier of the phase (usually {"Phase 1"}, {"Phase 2"},
{"Phase 3"}).
+
+perfdata:
+ Five values: Voltage, current, load, power and frequency.
+
+inventory:
+ Creates one or three items - one per output phase.
+