0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-07 23:05:41 +00:00
netdata_netdata/tests/health_mgmtapi
Emmanuel Vasilakis 9493fa8682
Remove family from alerts ()
* remove loading and storing families from alert configs

* remove families from silencers

* remove from alarm log

* start remove from alarm-notify.sh.in

* fix test alarm

* rebase

* remove from api/v1/alarm_log

* remove from alert stream

* remove from config stream

* remove from more

* remove from swagger for health api

* revert md changes

* remove from health cmd api test
2023-10-06 00:57:53 +03:00
..
expected_list Easily disable alarms, by persisting the silencers configuration () 2019-07-01 21:07:21 +02:00
health-cmdapi-test.sh.in Remove family from alerts () 2023-10-06 00:57:53 +03:00
README.md Add markdown files in Learn () 2023-02-08 09:48:19 -08:00

Health command API tester

The directory tests/health_cmdapi contains the test script health-cmdapi-test.sh for the health command API.

The script can be executed with options to prepare the system for the tests, run them and restore the system to its previous state.

It depends on the management API being accessible on localhost:19999 and on the responses to the api/v1/alarms?all requests being functional. It also requires read access to the management API key that is usually under /var/lib/netdata/netdata.api.key (@varlibdir_POST@/netdata.api.key).