0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-07 06:45:39 +00:00
netdata_netdata/tests/health_mgmtapi
Chris Akritidis 68e5ce8f9a
Bug fix for netdata behind authenticated proxies ()
* Was incorrectly updating the headers when the Authorization header was being sent

* Use X-Auth-Token instead of Authorization header, to allow the management API to work authenticated behind proxies as well
2019-01-18 23:06:51 +01:00
..
health-cmdapi-test.sh.in Bug fix for netdata behind authenticated proxies () 2019-01-18 23:06:51 +01:00
python-example.conf Port ACLs, Management API and Health commands () 2019-01-15 12:49:28 +01:00
README.md Port ACLs, Management API and Health commands () 2019-01-15 12:49:28 +01: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 and on the responses to the api/v1/alarms?all requests being functional.

Run it with tests/health_mgmtapi/health-cmdapi-test.sh -h to see the options.

analytics