started parallel pings, not quite done yet since need to delay them
[pingcheck] / src / host / hoststatus.h
index a167afe..3dba06c 100644 (file)
@@ -40,6 +40,7 @@ public:
     HostStatus(
             const std::string &host_address,
             const int ping_fail_limit_percentage,
+            const int n_parallel_pings,
             const LinkStatusItem link_analyzer
     );
     ~HostStatus();
@@ -73,6 +74,8 @@ private:
     /// boolean flag that indicate if the last set of failed pings exceed the
     /// limit
     bool ExceededPingFailedLimit;
+    /// number of pingers that ping the same IP in parallel
+    int NParallelPingers;
 
 };