Replies: 5 comments 3 replies
-
This has been brought up previously in #16 and #28, but this seems like a better place to discuss it. It's on the radar for the future but not something I'm planning to jump into immediately. For those having trouble with the current setup, it may be possible to connect using services like Cloudflare tunnel, WireGuard, or Tailscale. |
Beta Was this translation helpful? Give feedback.
-
Really hope this can be done at some point. With monitoring many VMs on a hypervisor, or systems that don't have public addresses, this would be tremendous. |
Beta Was this translation helpful? Give feedback.
-
I am using NATS JetStream embedded in each server to do this. NATS is push based and does not need public Ips and has its own security also so it can do multi tenant. its works very well |
Beta Was this translation helpful? Give feedback.
-
Hey @henrygd! Are you open to pull requests? If so, I'd like to work on this. |
Beta Was this translation helpful? Give feedback.
-
nats can be embedded in the existing agent and hub . It’s designed for this in golang projects. I typically run each agent as a nats leaf so it’s self autonomous. You can also setup multi data center systems so the hub can see all your servers across both premise and cloud. On premise is possible because nats is push based. You don’t need yailscale or cf tunnel etc .. nats can send the stats in real time if you want . That’s what it’s designed for. It can also have a TTL . nats has built in security at auth and authz . This is fully controlled by nats itself . Revocation is instant across the whole hub . You can pause and restart stars sending also as needed. If you’re doing this with NATS Jetstream then I can help . It can also be used to update agent binaries via the hub btw. It can also manage dockers that become network partitioned. So if it’s networking becomes flakey for whatever reason . This works both ways too . So you can get stats from the agent , when the docker eventually recovers and you can update the agent itself when it eventually comes back on line . lots of possibilities with nats :) The nats cli can see and manage things across the whole network. |
Beta Was this translation helpful? Give feedback.
-
Hey there,
First of all I love this project!
Finally, a monitoring solution which is very quick to set up, thanks for the work so far!
Now to my suggestion.
The current setup works (as far as I understand it) that the host reaches out to the agent and pulls the stats from it.
My suggestion would be to reverse this process, so the agent pushes the stats to the Host via an API call.
This would have two benefits.
The API/Push approach would also allow for custom Agent's to be created more easily.
Anyway, I'm curious where this project goes!
Beta Was this translation helpful? Give feedback.
All reactions