1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 01:53:44 +01:00

Missing colon

This commit is contained in:
Tomas Edwardsson 2013-04-26 10:52:23 +00:00
parent ff21dd3ec4
commit 771ec5cf77

View File

@ -48,7 +48,7 @@ for rhost in replication:
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)
else
else:
plugin.status(ok)
if not len(replication):