Various errors in syntax fixed

This commit is contained in:
Tomas Edwardsson 2013-04-25 01:15:00 +00:00
parent 9e9c8293cd
commit e875698a95
1 changed files with 1 additions and 1 deletions

View File

@ -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)