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

Node VPN alert for Subscription #7179

Open
DavidePrincipi opened this issue Nov 26, 2024 · 2 comments
Open

Node VPN alert for Subscription #7179

DavidePrincipi opened this issue Nov 26, 2024 · 2 comments
Labels
testing Packages are available from testing repositories

Comments

@DavidePrincipi
Copy link
Member

Raise a my.nethserver.com / my.nethesis.it alert if a worker node Wireguard VPN link is down.

@DavidePrincipi DavidePrincipi added this to the NethServer 8.4 milestone Nov 26, 2024
@NethServer NethServer deleted a comment Dec 20, 2024
@gsanchietti gsanchietti self-assigned this Feb 17, 2025
@gsanchietti gsanchietti moved this from ToDo to In Progress in NethServer Feb 17, 2025
@gsanchietti
Copy link
Member

The new monitor system uses node_exporter metrics to generate the alerts.
Before proceeding with QA of this issue, please make sure to have installed the latest version from #7162

An alert is raised when Prometheus can't reach a target node.

Test case

  • Register the cluster with a valid subscription token
  • Disable node_exporter on the worker node: systemctl stop node_exporter
  • Verify no alert is sent, inside the logs you should see something like:
    Feb 25 08:48:53 rl1.leader.cluster0.gs.nethserver.net alert-proxy[137405]: ALERT CRITICAL node:offline:1
    
  • Verify the alert is received by my.nethesis.it
  • Restart node_exporter on the worker_node: systemctl start node_exporter
  • Verify the alert is resolved inside my.nethesis.it

@DavidePrincipi
Copy link
Member Author

In testing core 3.5.0-dev.5

@DavidePrincipi DavidePrincipi added the testing Packages are available from testing repositories label Feb 27, 2025
@nethbot nethbot moved this from In Progress to Testing in NethServer Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Packages are available from testing repositories
Projects
Status: Testing
Development

No branches or pull requests

2 participants