I want to use the API to reschedule a check for a single service on a single host. I thought the reschedule-check endpoint made the most sense seeing as I want to be able to force it, however I cannot seem to understand the correct logic to target a single service on a single host.
If I am reading the docs correctly, you can target either all services on the host, or all hosts, but not a single service on a single host using this rechedule-check endpoint.
Is there another/better way of achieving this particular objective?
For context, I have my Ubuntu gear checked once a day for a reboot. I want to execute a script that puts the host into downtime, reboots it, and then forces the check for the reboot so that the service returns to normal to indicate the successful reboot.