Skip to content

Mimir integration#1601

Draft
gsanchietti wants to merge 4 commits intomainfrom
alertmanager
Draft

Mimir integration#1601
gsanchietti wants to merge 4 commits intomainfrom
alertmanager

Conversation

@gsanchietti
Copy link
Copy Markdown
Member

@gsanchietti gsanchietti commented Apr 20, 2026

⚠️ The PR has been tested and should work in common scenarios.
Waiting the release of new my.nethesis.it before releasing


This pull request new features inside monitoring and alerting system:

  • it adds a script (ns-plug-alert) to send alerts to the new implementation of my.nethesis.it using alertmanager format
  • it fixes netdata configuration update

To test, setup the URL and credentials:

uci set ns-plug.config.my_url=https://qa.my.nethesis.it
uci set ns-plug.config.my_system_key=NETH-F5D2-5E69-A174-45A9-B1AB-2BB9-xxxx-xxxx
uci set ns-plug.config.my_system_secret=my_f620a0c63a99161021aa.21af8bffebd96356a6e7bbdee67321ba4bexxxxx
uci commit

Then:

ns-plug-alert fire --alertname DiskSpaceCritical --severity critical   --labels service=storage mountpoint=/mnt/data   --annotations     "summary_en=Disk space critical"     "summary_it=Spazio disco critico"     "description_en=Disk usage above 90% on /mnt/data"     "description_it=Utilizzo disco sopra 90% su /mnt/data"

ns-plug-alert resolve --alertname DiskSpaceCritical --severity critical   --labels service=storage mountpoint=/mnt/data   --annotations     "summary_en=Disk space critical"     "summary_it=Spazio disco critico"     "description_en=Disk usage above 90% on /mnt/data"     "description_it=Utilizzo disco sopra 90% su /mnt/data"
{"status": "success", "message": "Alert 'DiskSpaceCritical' resolved"}

@gsanchietti gsanchietti force-pushed the alertmanager branch 8 times, most recently from 9bd8ad0 to 6fbb281 Compare April 21, 2026 08:45
@gsanchietti gsanchietti changed the title Alertmanager Mimir integration Apr 21, 2026
@gsanchietti gsanchietti marked this pull request as draft April 21, 2026 13:53
The netdata alert script is inside the configuration directory and it is
preserved across upgrade
This was a leftover when mwan alert was moved
from netdata chart to mwan hooks
This is required to keep the alert fireing inside
mimir
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

Successfully merging this pull request may close these issues.

1 participant