summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-sth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/check-sth.py b/tools/check-sth.py
index 708a438..da52575 100755
--- a/tools/check-sth.py
+++ b/tools/check-sth.py
@@ -69,11 +69,11 @@ def check_age(sth):
now = datetime.now(UTC())
sth_time = datetime.fromtimestamp(sth['timestamp'] / 1000, UTC())
if now > sth_time + timedelta(0, 6 * 3600):
- print "CRITICAL: %s is older than 6h: %s" % \
+ print "CRITICAL: %s is older than 6h: %s UTC" % \
(sth['sha256_root_hash'], sth_time)
sys.exit(NAGIOS_CRIT)
if now > sth_time + timedelta(0, 2 * 3600):
- print "WARNING: %s is older than 2h: %s" % \
+ print "WARNING: %s is older than 2h: %s UTC" % \
(sth['sha256_root_hash'], sth_time)
sys.exit(NAGIOS_WARN)