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

Integration into openSenseMap platform #4

Open
noerw opened this issue Jun 26, 2018 · 2 comments
Open

Integration into openSenseMap platform #4

noerw opened this issue Jun 26, 2018 · 2 comments

Comments

@noerw
Copy link
Owner

noerw commented Jun 26, 2018

I have a two-part integration in mind, in order to avoid letting users run the tool themselves, but provide a central service within the openSenseMap platform.
This would solve a long requested feature (sensebox/openSenseMap-API#53)

  • add healthcheck configuration to Box schema, so users can set their healthchecks within openSenseMap, only available with authentication. This config could be set up in the oSeM frontend.

  • add a command osem_notify watch all --db, which checks all boxes from the database using the protected box.healthchecks config. This requires a MongoDB driver. This could run centrally in a Docker container.

  • (maybe): add a osem_notify login command, so the central configuration could be used without admin access. osem_notify * all would fetch all boxes of the logged in user.

@noerw
Copy link
Owner Author

noerw commented Jun 27, 2018

@mpfeil: is this something you guys would be interested in?

@mpfeil
Copy link

mpfeil commented Jun 27, 2018

This is definitely something for us. I have started a private project some time ago but haven't finished it.

We already discussed this feature yesterday and had some ideas too. Maybe @robarto can write down his ideas.

noerw added a commit that referenced this issue Feb 10, 2019
The current implementation is quite limited, as we need to fetch each box
individually. Also, all notifications are sent to the default recipient.
Both issues could be resolved when integrating directly with the DB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants