Checking Sentinel Appliance Health
You can view appliance health metrics by querying the Health endpoint for an appliance. The metrics provide basic connectivity information, such as:
If the appliance is running.
If the appliance is connected to WhiteHat’s controller.
Send a request to the Health endpoint, specifying the IP address of the appliance in the request URL:
$ curl http://<appliance_ip>:9100/metrics
If the request was successful, the Health endpoint returns a list of health metrics and descriptions. For example:
# TYPE appliance_apt_version gauge appliance_apt_version 1.617 # HELP appliance_controller_connected Metric read from /textfiles/health.prom # TYPE appliance_controller_connected gauge appliance_controller_connected 1 # HELP appliance_controller_tunnel_up Metric read from /textfiles/health.prom # TYPE appliance_controller_tunnel_up gauge appliance_controller_tunnel_up 1 # HELP appliance_uptime_seconds Metric read from /textfiles/health.prom # TYPE appliance_uptime_seconds gauge appliance_uptime_seconds 73227
Use the information to assess the health of the appliance.
Connectivity information from the Health endpoint is in addition to the appliance management options available in the console.
If you need additional help with monitoring the health of your appliance, please contact the Customer Support team at firstname.lastname@example.org.