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

[Feature Request] Get the host to be monitored from the environment variable #206

Closed
azhezzzz opened this issue Oct 14, 2024 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@azhezzzz
Copy link

azhezzzz commented Oct 14, 2024

I like this project very much, thank you for your contribution !
But when I want to add multiple monitoring hosts at a time, I need to operate on the web all the time, and it is also a bit troublesome when I want to control the hosts to be monitored programmatically.
Can add a dozzle-like processing method or other way to control the list of monitored hosts? Then I can easily add or delete multiple hosts.

dozzle-like:
https://dozzle.dev/guide/remote-hosts
DOZZLE_REMOTE_HOST:=tcp://167.99.1.1:2376|foo.com,tcp://167.99.1.2:2376|bar.com

@henrygd
Copy link
Owner

henrygd commented Oct 16, 2024

Yes, I do plan to add something for this at some point.

There's a related issue (#70) that proposes using a yaml configuration file.

I should be able to make it so the program reads a config.yml file in the data directory on startup and syncs the systems with what is defined in the file.

Would that work for you?

@henrygd henrygd added the enhancement New feature or request label Oct 16, 2024
@azhezzzz
Copy link
Author

Yes, it work for me
I just need a way that can easily control the list of monitored hosts.

@henrygd
Copy link
Owner

henrygd commented Oct 23, 2024

As of 0.6.2, systems can be managed in a config.yml file inside your data directory.

You can export your current systems by going to /settings/config.

Let me know if you run into any issues with this.

@henrygd henrygd closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants