To follow up on that, the Reported At field is a property of the host in
Foreman, it's not a fact. It's the time Foreman last received a report
from Puppet (or Chef, Ansible, etc) about this host.

You can get the last report for a given host using something like:

$ curl -k -u user:pass
  'https://topaz/api/v2/hosts/<host id>/reports/last' \
  |json_pp | grep "reported_at"

Hope that helps.

Greg

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

Reply via email to