1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-22 09:03:54 +01:00

Various errors in syntax fixed

This commit is contained in:
Tomas Edwardsson 2013-04-25 01:15:00 +00:00
parent 9e9c8293cd
commit e875698a95

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)