What if a discovered host is powered off after it was discovered and
registered in Foreman.

One way seems to be to:

PUT api/v2/discovered_hosts/:id/refresh_facts

and if a 500 error is returned, then we know it's powered off.

Any other "ping status" API call?

Thanks,

Joseph

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to