httpcheck_web_service_bad_status

httpcheck_web_service_bad_status

Web Server | HTTP endpoint

The Netdata agent monitors your HTTP endpoints. You can specify endpoints the agent will monitor in
Agent’s Go module under go.d/httpcheck.conf. You can also specify the expected response statuses
this HTTP endpoint must reply with, in the status_accepted option. 1 If the endpoint responds with a response status that is not in the specified status_accepted codes, the Agent marks the response as “bad_status”.

The Netdata Agent calculates the average ratio of these unexpected (bad) HTTP status responses over
the last 5 minutes.

This alert is triggered in warning state when the ratio is greater than 10% and in critical state
when it is greater than 40%.

References and sources
  1. HTTP endpoint monitoring with Netdata

Troubleshooting section:

Check the actual response status and the expected response statuses
  1. Try to implement a request with a verbose result:
root@netdata # curl -v <your_http_endpoint>:<port>/<path>
  1. Compare it with the expected response

Check your configuration under go.d/httpcheck.conf which are the status_accepted codes for this
particular endpoint.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/httpcheck.conf