Skip to content
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

[core] A framework approach to import historical devices that are offline #903

Open
jokob-sk opened this issue Dec 2, 2024 · 0 comments
Labels
Feature request➕ New feature or request

Comments

@jokob-sk
Copy link
Owner

jokob-sk commented Dec 2, 2024

          @KayJay7 Sorry, forgot to answer your question:

Question: the API offers historical information about devices and IPs that are not online at the moment, but were at one point.

I see no way to make use of this; as far as I understand, if we report offline devices they will appear as online, and the last seen field seems ignored. Is there a way to get that past data in the database?

There is the NEWDEV_dev_PresentLastScan setting in the New Devices plugin that looks related, but I'm not sure.

Currently, all devices passed thru the CurrentScan table will be reported as online. Although possible, I prefer not to write directly to the DB in the plugins to keep the flow and logic clean.

It's something on my radar to improve in future - to figure out the import of "offline" devices, without the need to go thru the CurrentScan table in a more scalable way - to be incorporated into the plugin framework. Happy to hear ideas as well.

Originally posted by @jokob-sk in #901 (comment)

@jokob-sk jokob-sk added the Feature request➕ New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request➕ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant