-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
[Feature Request] scan “retry” until mark as device down #370
Comments
+1, I would like this feature as well, some of my devices are unreliable and I get many false positives (down alerts) with them. Thanks! |
I can understand the request, but I would also like to point out the problems that are not seen here: More retries mean significantly more time for the scan. What does an additional longer scan mean, as in the original project?
Who then has to deal with bug reports and troubleshooting messages? |
ahh Yes i agree, now i understand why you remove the 15’ scan. Yes.. We need something like a setting which take more “retry” before report as down. I think retry are more useful then the scan interval anyway, as no mater which interval we set there is always a chance to ping right at dead time of the device. So let change the heading to retry instead of interval. Thanks for considering it. |
In my case, there is no need for more scans running in parallel. All that is needed it a counter of failed attempts per devices. Each time a scan runs, the counter is incremented. Whenever the counter reaches the "allow x failed attempts" setting of the devices, a notification is sent. I accept that if the device fails, I will get a delayed notification that has x times (scan interval) total time delay. |
I have the impression that there is a lack of clarity about how it works. Once again for explanation:
This request makes no sense in view of how arp-scan works. Firstly, the tool does not indicate how many retries it has used per device and secondly, you end up with the message for the corresponding event for the device. |
Hum... Maybe I was not clear. Let's say I've set a device to allow for one failure before saying the device is offline. Regardless of the number of retries from arpscan during a unique scan cycle, if the device fails to respond during this scan cycle, note that it has failed once but leave it's status as "online", and do not send the alert yet. Then, at the next arpscan cycle, if it fails again, and only then, send an alert. If it is back online, reset the "failed attempts" counter and leave it as "online". Does this make sense? |
@huuscript |
yes same thing. no need to change the scan cycle, just when to mark that device is down. Let say we have 2 scenarios. |
Not sure what the best approach is but I'd also like to see some (configurable) behavior for offline notifications. Especially, my Shellys are unreliable, therefore I turned off the down notification. Usually, they work just fine. But a few days ago I realized one of them was offline for a few weeks (it is rarely used). I'm my case I'd like to turn on the Down notification but I want to be notified only if the device is down for e.g. 3 scans in a row. Because what usually happens, it's down and up at the next scan and this can happen a dozen times per day. So an additional counter in the DB might help with that? Don't know ... |
Even though it may seem like I've forgotten about the topic, I'm still looking into it, but I'm still struggling with the approach. 😔 |
Is there an option to state how many request before mark as device down?
In previous fork there is this option:
now there is only 0,1
has it been move somewhere or a different implementation for this feature?
thanks
The text was updated successfully, but these errors were encountered: