Agent check host alive
Produce an API to do ping to host
Example
curl --location --request GET 'http://localhost:5000/ping?hostname=1.1.1.1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic password_encoded_base64'
Do ping to a host and return result
Produce an API to do ping to host
curl --location --request GET 'http://localhost:5000/ping?hostname=1.1.1.1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic password_encoded_base64'
Do ping to a host and return result