Drop notification even if delivery failed.
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 5 Sep 2012 09:11:23 +0000 (09:11 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Wed, 5 Sep 2012 09:11:23 +0000 (09:11 +0000)
org.glite.lb.nagios/src/LB-probe

index 8693e93..ead8842 100755 (executable)
@@ -388,6 +388,7 @@ else
                                vprintf 1 "\n[LB Probe] Test failed -- Notifications were not delivered\n\n"
                                vprintf 0 "DOWN: Notification Interlogger Not Running\n"
                                rm $NOTIFFILE $STATEFILE
+                               dropresult=`glite-lb-notify drop ${notifid} 2>&1`
                                exit 2
                        fi