-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False Positive #912
Comments
Interesting; could you let me know what version you're using (and which Python version)? Is it always the host above the failed one which flaps? Any feel for roughly how long "Host-B" would need to be down for the problem to manifest? |
Hi,
I'm using Python 3.9.6 on Windows Server 2016 standard.
SimpleMonitor is 1.11.0
*Is it always the host above the failed one which flaps?*
I think so.
*Any feel for roughly how long "Host-B" would need to be down for the
problem to manifest?*
It looks random. Also the up&down timing could be 15mins then 2mins ....
…On Wed, Jan 26, 2022 at 1:46 PM James Seward ***@***.***> wrote:
Interesting; could you let me know what version you're using (and which
Python version)?
Is it always the host above the failed one which flaps? Any feel for
roughly how long "Host-B" would need to be down for the problem to manifest?
—
Reply to this email directly, view it on GitHub
<#912 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEL3V5K7CXSVGA5BKH6BTATUX7UMBANCNFSM5M25ZVAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks for the info, I'll have a go at reproducing it. Hope the workaround of disabling/removing the long-term down host is ok for you for now. |
Hi,
I suspect it's a bug of ping3 maybe due to the fact I'm asking to ping 150+ host every 1 min and the time between pings is too short. How do you manage that? |
Agreed, that is odd. Not sure what's going on there, but if it's legit I want that network :) Is it always those hosts? Could you maybe try changing them to the host monitor? This is the original one for pinging hosts and works by actually running |
I've replace ping with host and it looks like all works as expected even if a host is down since 1 hour. FYI the output of the ping command on the server is
|
Glad that's fixed the weird behaviour for those hosts. It should include the ping time in the detail field; I'll take a look to see if I can see why it isn't. |
No difference using either ping or host. |
Thanks for the update. I'm also seeing this with a couple of my monitors recently (I have some kit unplugged so it's definitely not going to be up, despite what SimpleMonitor is occasionally reporting ;) Interesting to know disabling multithreading helps, I'll have a look upstream at the library I'm using for it to see if there's any fix. |
That didn't take long to track down; the library has an issue with multithreading: kyan001/ping3#26 I wonder if I can support both (multithreading and correct pings) by keeping all the |
Hi,
since a few months I'm SimpleMonitoring 150+ hosts from a Windows Server.
Very basic just ping every 1 min plus Pushover notifications and HTML status page:
It works fine but I've realized when an Host is down for long time another one is often reported up and down every 10/15 mins even if (checked pinging directly from command line) no packet was really lost.
It looks like the false positive problem is reported for the Host immediately before in the configuration file of the one really down.
For example:
If I comment the Host-B configuration the problem disappear.
My Python knowledge is very limited so I didn't go trough the code to find where the problem could be.
Thanks
The text was updated successfully, but these errors were encountered: