summaryrefslogtreecommitdiff
path: root/tools/josef_nagios_auditor.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/josef_nagios_auditor.py')
-rwxr-xr-xtools/josef_nagios_auditor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/josef_nagios_auditor.py b/tools/josef_nagios_auditor.py
index 6e36568..74cc522 100755
--- a/tools/josef_nagios_auditor.py
+++ b/tools/josef_nagios_auditor.py
@@ -79,7 +79,7 @@ def get_and_verify_sth(url, key):
check_sth_signature(url, sth, key)
# write_file("plausible-sth.json", tmp_sth)
except:
- error_str = time.strftime('%H:%M:%S') + " ERROR: Could not verify signature from " + base_url
+ error_str = time.strftime('%H:%M:%S') + " ERROR: Could not verify signature from " + url
print error_str
sys.exit(NAGIOS_CRIT)
return sth
@@ -317,7 +317,7 @@ def main(args):
try:
log_key = get_public_key_from_file(args.keyfile)
except:
- print time.strftime('%H:%M:%S') + " ERROR: Failed to load keyfile " + args.logkey
+ print time.strftime('%H:%M:%S') + " ERROR: Failed to load keyfile " + args.keyfile
sys.exit(NAGIOS_WARN)
old_sth = read_sth(args.sthfile)