Module: check_mk
Branch: master
Commit: 6e5d3486835a50b84b1fc979ee3f86c6f64f59f3
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6e5d3486835a50…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jul 30 09:44:53 2015 +0200
Added example notification script for slack into the treasures
---
doc/treasures/notifications/slack | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/doc/treasures/notifications/slack b/doc/treasures/notifications/slack
new file mode 100755
index 0000000..585f582
--- /dev/null
+++ b/doc/treasures/notifications/slack
@@ -0,0 +1,14 @@
+#!/bin/bash
+# Notify via Slack
+
+# In order to use this script:
+# - copy it into your site into ~/local/share/check_mk/notificaions
+# - make sure it is executable
+# - adapt the variable TEXT= to your needs
+# - insert your correct Slack-URL into URL=
+# - create a notification rule that makes use of the new plugin
+
+TEXT="$NOTIFY_HOSTNAME: $NOTIFY_SERVICEDESC: $NOTIFY_SERVICESTATE $NOTIFY_SERVICEOUTPUT"
+URL="https://hooks.slack.com/services/A08BZU3D0/B08C03CKQ/owiefjowiejfoweijfwoei…"
+
+curl -X POST --data-urlencode 'payload={"channel": "#check_mk", "username": "webhookbot", "text": "'"$TEXT"'", "icon_emoji": ":ghost:"}' "$URL"
Module: check_mk
Branch: master
Commit: 385ad59ee799af4df7f26f30feb53df30dee15fc
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=385ad59ee799af…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Jul 30 08:14:54 2015 +0200
#2292 New check for the Kentix Alarmmanager Pro: kentix_amp_sensors
This checks has four subchecks which monitor the temperature, humidity, smoke and leakage detection of
sensors which are connected to the Kentix Alarmmanager Pro.
---
.werks/2292 | 10 ++++++++++
ChangeLog | 1 +
2 files changed, 11 insertions(+)
diff --git a/.werks/2292 b/.werks/2292
new file mode 100644
index 0000000..e081012
--- /dev/null
+++ b/.werks/2292
@@ -0,0 +1,10 @@
+Title: New check for the Kentix Alarmmanager Pro: kentix_amp_sensors
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i3
+Date: 1438236592
+Class: feature
+
+This checks has four subchecks which monitor the temperature, humidity, smoke and leakage detection of
+sensors which are connected to the Kentix Alarmmanager Pro.
diff --git a/ChangeLog b/ChangeLog
index 260912e..44cdce0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,7 @@
* 2410 ESX / agent_vsphere: Now able to re-use session cookies...
* 2290 New check hp_procurve_temp: monitors the system temperature of HP Switches which support the HP-ICF-CHASSIS-Mib
* 2291 check juniper_trpz_aps: now monitor the number of access points of all juniper trapeze devices which support the TRAPEZE-NETWORKS-REGISTRATION-MIB
+ * 2292 New check for the Kentix Alarmmanager Pro: kentix_amp_sensors...
* 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...
Module: check_mk
Branch: master
Commit: f9c599033cb6764205e5c36175014b0055e001df
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f9c599033cb676…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Jul 29 16:15:59 2015 +0200
Some corrections
---
checkman/mikrotik_signal | 6 +++---
web/htdocs/pagetypes.py | 2 +-
web/plugins/wato/check_parameters.py | 12 ++++++------
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/checkman/mikrotik_signal b/checkman/mikrotik_signal
index 814e239..562d52e 100644
--- a/checkman/mikrotik_signal
+++ b/checkman/mikrotik_signal
@@ -4,9 +4,9 @@ catalog: hw/network/mikrotik
license: GPL
distribution: check_mk
description:
- This check is for Mikrotik wlan devices who e.g. used to
- etablish a wireless network connection between two buildings.
- It reads the current singnal strenght in decibel and calculates
+ This check is for Mikrotik wlan devices that are e.g. used to
+ establish a wireless network connection between two buildings.
+ It reads the current signal strength in decibel and calculates
the quality in a scale up to 100. 100 means optimal signal quality.
inventory:
diff --git a/web/htdocs/pagetypes.py b/web/htdocs/pagetypes.py
index c6fad15..5423fb7 100644
--- a/web/htdocs/pagetypes.py
+++ b/web/htdocs/pagetypes.py
@@ -101,7 +101,7 @@ class Base:
)),
( 1.3, 'description', TextAreaUnicode(
title = _('Description') + '<sup>*</sup>',
- help = _("The description is optional and can be used for explainations or documentation"),
+ help = _("The description is optional and can be used for explanations or documentation"),
rows = 4,
cols = 50,
)),
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index b5f7b1e..559329a 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -333,16 +333,16 @@ register_check_parameters(
( "signature_age",
Tuple( title = _("Time Settings for Signature"),
elements = [
- Age(title=_("Warning at:"), default_value = 86400),
- Age(title=_("Critical at:"), default_value = 7*86400),
+ Age(title=_("Warning at"), default_value = 86400),
+ Age(title=_("Critical at"), default_value = 7*86400),
],
),
),
( "fullscan_age",
Tuple( title = _("Time Settings for Fullscan"),
elements = [
- Age(title=_("Warning at:"), default_value = 86400),
- Age(title=_("Critical at:"), default_value = 7*86400),
+ Age(title=_("Warning at"), default_value = 86400),
+ Age(title=_("Critical at"), default_value = 7*86400),
],
),
),
@@ -1051,8 +1051,8 @@ process_level_elements = [
title = _("Maximum allowed age"),
help = _("Alarms you if the age of the process (not the consumed CPU time, but the real time) exceed the configured levels."),
elements = [
- Age(title=_("Warning at:"), default_value = 3600),
- Age(title=_("Critical at:"), default_value = 7200),
+ Age(title=_("Warning at"), default_value = 3600),
+ Age(title=_("Critical at"), default_value = 7200),
]
)),
( "virtual_levels",