I've read the REST API Red Hat documentation, and found no reference for
this kind of detail. Where or how can I find documentation on this? Maybe
in the code?
On Monday, May 23, 2016 at 12:20:20 PM UTC+1, Rui Gouveia wrote:
> Apologies if this is not a new question. I have searched this topic on
> several sources but could not find a suitable answer.
> What is the recommended way of generating a report with the list of
> content host and the subscriptions they consume?
> Is this already possible? If not, should I explore:
> 1. Direct DB access,
> 2. REST API, or
> 3. Hammer CLI?
> I tried hammer without success.
> Any help is appreciated.
> Thank you
> Best regards,
sorry for digging up this old question, but it is basically the same thing i was wondering about.
Is there any new solution to this?
But even worse I did not manage to find a button/function in foreman, hammer or an appropriate table in the postgres database to see an output which shows hosts that got a specific subscription.
So I’m not able to check for misconfigured hosts in an efficient way (in terms of wrong product subscriptions). Am I missing something?
How about using report templates engine? See the demo for introduction.
Based on your needs, the existing Subscriptions report may or may not be sufficient, see the definition for the template definition, it’s quite easy to figure what data the report provides. Also registered host report may be handy