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

server: hosts are only probed once at start #5

Open
SpComb opened this issue Feb 27, 2018 · 0 comments
Open

server: hosts are only probed once at start #5

SpComb opened this issue Feb 27, 2018 · 0 comments
Labels

Comments

@SpComb
Copy link
Member

SpComb commented Feb 27, 2018

The will only probe each host once when loading a new host. The probing determines the supported host MIBs and the Online state, so if the probe fails, then the offline host will not be included in any /api/objects/... queries, and the empty mibs will result in an empty /api/hosts/.../objects/ query set. Conversely, if the probing succeeds but the host later goes offline, then any /api/objects/... queries will get delayed waiting for that host to timeout.

The host online states should be polled and updated at runtime to avoid those problems.

Workaround: Use PUT /api/hosts/... to re-load the host.

Going a bit further for the long term, the host mibs might also need to get re-probed if the device is upgraded... The hostname might also need to get re-resolved if the device moves? Alternatively, just require the server to be restarted in those cases...

@SpComb SpComb added the bug label Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant