Module: check_mk
Branch: master
Commit: 571920f8e66adf865417e40a67dc1df085509ceb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=571920f8e66adf…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Feb 23 11:55:29 2017 +0100
minor cleanup
Change-Id: I87e5be1b2643870d0db9cf998b488bde01bdbd80
---
checks/df.include | 2 +-
checks/uptime.include | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/df.include b/checks/df.include
index 4e73135..ea8a8d9 100644
--- a/checks/df.include
+++ b/checks/df.include
@@ -287,7 +287,7 @@ def df_check_filesystem_list(item, params, fslist_blocks,
fslist_inodes = None):
def df_check_filesystem_single(hostname, mountpoint, size_mb, avail_mb, reserved_mb,
inodes_total, inodes_avail, params, this_time = None):
if size_mb == 0:
- return (1, "size of filesystem is 0 MB", [])
+ return (1, "Size of filesystem is 0 MB", [])
used_mb = size_mb - avail_mb
used_perc = 100.0 * (float(used_mb) / size_mb)
diff --git a/checks/uptime.include b/checks/uptime.include
index ccc2344..9794cd5 100644
--- a/checks/uptime.include
+++ b/checks/uptime.include
@@ -51,7 +51,7 @@ def check_uptime_seconds(params, uptime_sec):
since = time.strftime("%c", time.localtime(time.time() - uptime_sec))
state = 0
- infotext = "up since %s (%dd %02d:%02d:%02d)" % \
+ infotext = "Up since %s (%dd %02d:%02d:%02d)" % \
(since, days, hours, minutes, seconds)
if params == None: # legacy: support older versions of parameters