0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-07 14:55:41 +00:00
netdata_netdata/tests/health_mgmtapi
Chris Akritidis 08649bec37
Port ACLs, Management API and Health commands ()
##### Summary
fixes  
fixes 
fixes  
fixes  
fixes  
fixes 

Implements a command API for health which will accept commands via a socket to selectively suppress health checks. 

Allows different ports to accept different request types  (streaming, dashboard, api, registry, netdata.conf, badges, management)

Removes support for multi-threaded and single-threaded web servers.

##### Component Name
health, daemon
2019-01-15 12:49:28 +01:00
..
health-cmdapi-test.sh.in Port ACLs, Management API and Health commands () 2019-01-15 12:49:28 +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