0
0
mirror of https://github.com/netdata/netdata.git synced 2024-11-21 07:18:05 +00:00
netdata_netdata/tests/health_mgmtapi
2024-10-04 12:23:00 +03:00
..
expected_list Easily disable alarms, by persisting the silencers configuration (#6360) 2019-07-01 21:07:21 +02:00
health-cmdapi-test.sh.in Remove family from alerts (#16025) 2023-10-06 00:57:53 +03:00
README.md Docs fixes (#18676) 2024-10-04 12:23:00 +03: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).