From e875698a9584573f3a8928eb4e87c46407f0f981 Mon Sep 17 00:00:00 2001 From: Tomas Edwardsson Date: Thu, 25 Apr 2013 01:15:00 +0000 Subject: [PATCH] Various errors in syntax fixed --- check_ipa/check_ipa_replication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_ipa/check_ipa_replication b/check_ipa/check_ipa_replication index 7cf8007..0f3c696 100644 --- a/check_ipa/check_ipa_replication +++ b/check_ipa/check_ipa_replication @@ -45,7 +45,7 @@ except Exception, e: # Loop through replication agreements for rhost in replication: - plugin.add_summary("Replica", rhost[1]['nsDS5ReplicaHost'][0], "Status:", rhost[1]['nsds5replicaLastUpdateStatus'][0]) + plugin.add_summary("Replica %s Status: %s" % (rhost[1]['nsDS5ReplicaHost'][0], rhost[1]['nsds5replicaLastUpdateStatus'][0])) if rhost[1]['nsds5replicaLastUpdateStatus'][0][:2] != "0 ": plugin.status(critical)