Agent Availability API

Checks API response and saves logs into MySQL database