Module: check_mk
Branch: master
Commit: 6085889cfb0fcd1278e302464e720a43ea21140c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6085889cfb0fcd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 9 12:57:22 2015 +0100
Minor Code and docu cleanup
---
checkman/3ware_disks | 6 ++++--
checkman/df | 17 +++++++++--------
checkman/wut_webtherm | 2 +-
web/plugins/views/painters.py | 2 +-
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/checkman/3ware_disks b/checkman/3ware_disks
index b84646c..d375b6e 100644
--- a/checkman/3ware_disks
+++ b/checkman/3ware_disks
@@ -4,8 +4,10 @@ catalog: os/storage
license: GPL
distribution: check_mk
description:
- This check monitors the state of disks of an 3ware ATA RAID Controller. The Linux agent
sends the neccessary data,
- if the command line utility {tw_cli} is found in the shells search path. The usual way
is to install it into {/usr/local/bin} or {/usr/bin}.
+ This check monitors the state of disks of an 3ware ATA RAID Controller. The
+ Linux agent sends the neccessary data, if the command line utility {tw_cli}
+ is found in the shells search path. The usual way is to install it into
+ {/usr/local/bin} or {/usr/bin}.
The utility {tw_cli} can be downloaded from
{http://3ware.com/support/downloadpage.asp}.
diff --git a/checkman/df b/checkman/df
index c1209fe..e449d6e 100644
--- a/checkman/df
+++ b/checkman/df
@@ -8,14 +8,15 @@ description:
is checked against a warning and a critical level, which
can be specified in numerous ways.
- Beware: on Linux and UNIX systems the filesystem might reserve a certain amount for
- root (typical is 5%). This checks considers that reserved space as used. This is
- consistent with the percentage-column in the output of {df} on most distributions.
- So your filesystem might be at 100% in a situation where root still has 5% free
- space available. On some distributions, {df} seems to use the user allocatable space
- instead of the total filesystem size as base for the percentage calculation, this might
- result in differences between the percentage values shown by that {df} version and
- the value shown in Check_MK. From our point of view, the calculation of Check_MK is
+ Beware: on Linux and UNIX systems the filesystem might reserve a certain
+ amount for root (typical is 5%). This checks considers that reserved space
+ as used. This is consistent with the percentage-column in the output of {df}
+ on most distributions. So your filesystem might be at 100% in a situation
+ where root still has 5% free space available. On some distributions, {df}
+ seems to use the user allocatable space instead of the total filesystem size
+ as base for the percentage calculation, this might result in differences
+ between the percentage values shown by that {df} version and the value
+ shown in Check_MK. From our point of view, the calculation of Check_MK is
more accurate.
{Trends:} This checks supports filesystem {trends}. This means that the {df} check
diff --git a/checkman/wut_webtherm b/checkman/wut_webtherm
index e8bc469..c802ab9 100644
--- a/checkman/wut_webtherm
+++ b/checkman/wut_webtherm
@@ -8,7 +8,7 @@ description:
to a WuT (Wiesemann & Theis) Web-Thermograph.
item:
- The item is the number of the sensor as string - usuall {"1"}.
+ The item is the number of the sensor as string - usually {"1"}.
perfdata:
One variable: the current temperature in degrees celsius.
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 5ac1c23..76cf45d 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -276,7 +276,7 @@ def paint_site_icon(row):
return None, ""
multisite_painters["sitename_plain"] = {
- "title" : _("Site id"),
+ "title" : _("Site ID"),
"short" : _("Site"),
"columns" : ["site"],
"paint" : lambda row: (None, row["site"]),