If I understand well, i found the solution for you.
The only way that I see, is to use the API.
Using this call 'Gets the list of hosts with OneAgent deployment information for each host'
If your disabling was made since long time, don't forget to change the start time frame: and now with the integer as an entry (with a maximum of 92 days I think).
If you need more assistance not hesitate.
Thank you for the answer. 92 days is far too short. I would need to be able to get the information regardless of the time frame. In fact, I need to get all the hosts on which a watchdog is running.
Unfortunately, it doesn't work.The API returns 1093 hosts when I expect 2060. This is not really surprising since the smartscape does not display known but unmonitored hosts (unless I'm mistaken). But thanks anyway.