netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
787 stars 104 forks source link

sq-poller: add reboot detection #823

Closed claudiolor closed 1 year ago

claudiolor commented 1 year ago

Description

This PR adds back reboot detection in the poller, allowing it to check whether one of the devices rebooted and in this case it will rewrite all the records, this allows the user to see changes whenever a device reboots.

Additionally the PR tries to reduce the time drift of the bootup timestamp due to the fact that some of the devices return the uptime instead of a epoch timestamp, therefore we need to work out the timestamp. To mitigate this issue we:

Type of change

Please delete options that are not relevant.