When listing all monitors via the API or getting a specific monitor's details a variable of "state" is returned. this "state" is either Active(0) or Suspended(5) (per support.) To get a monitor's actual "status" you have to call the status api calls.
Feature Request: Replace "state" in the monitor details with "status." "State" is a pointless variable when "status" provides the same and more information.
Hi Damian,
/api/monitors is for fetching configuration details of monitors.
/api/current_status is for fetching the latest status & performance details of monitors.
Both apis will contain monitor id, name and type. Can you let us know why you need status in monitors api instead of using current_status api?
Thillai.