On 17/10/16 04:25, Amrit Atmajit wrote:
> Thanks Dominic,
>
> This search option is a proper approach to get active hosts rather than
> "configuration_status_label=Active".
>
> But adding to Vishal's query, our requirement is to list the active
> hosts along with their facts values (like,
Thanks Dominic,
This search option is a proper approach to get active hosts rather than
"configuration_status_label=Active".
But adding to Vishal's query, our requirement is to list the active hosts
along with their facts values (like, hostname, macaddress, manufacturer,
etc.) using a single
Hi Vishal,
> I want an API query which returns hosts with
> "configuration_status_label=Active"
I believe the key is 'host.configuration_status_label' (vs just
'configuration_status_label'), but I don't know if this is something that the
search API can filter on or not.
Regards,
j
Hi All,
I want an API query which returns hosts with
"configuration_status_label=Active"
I am aware of the these APIs but not sure how can I add that query.
Can someone please help me here?
APIs I know of
"hosts": {
"List all hosts": "/api/hosts",
"Show a host":