Implemented the requirement "If we notified an external system that a link is down...
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Wed, 30 Mar 2011 10:12:21 +0000 (12:12 +0200)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Wed, 30 Mar 2011 10:12:21 +0000 (12:12 +0200)
commitf1bf324961ac4694dad50acbd2444931e49153e9
treecc09cb59f5223176d0d8999bdb2e846e56b182d6
parentdf1c98b470d76f1c1c59c2f5518a89bb7683e06c
Implemented the requirement "If we notified an external system that a link is down, also notify it if the link is back up (=stable for a configurable period of time)"
- the status of the link is reported only once, when it changes from down to up, or vice versa
- allows to configure the minimum amount of time the link must stays stable in order to report its status
src/main.cpp
src/notify/linkstatusanalyzer.cpp
src/notify/linkstatusanalyzer.h