Module: check_mk
Branch: master
Commit: 8afe698e5d8da088ccc26cd15f97f780273b9b98
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8afe698e5d8da0…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Jun 24 15:48:43 2015 +0200
mssql_backup: Modified WATO rule to use Age ValueSpec instead of specifying the number of
seconds as an integer
---
web/plugins/wato/check_parameters.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 8f01a24..df7471c 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -4499,8 +4499,8 @@ register_check_parameters(
Optional(
Tuple(
elements = [
- Integer(title = _("Warning if older than"), unit =
_("seconds")),
- Integer(title = _("Critical if older than"), unit =
_("seconds"))
+ Age(title = _("Warning if older than")),
+ Age(title = _("Critical if older than"))
]
),
title = _("Specify time since last successful backup"),