Hello,
At the moment I'm parsing the json output from
https://katello/api/v2/hosts?per_page=99999
I'm using the following information:
$h['ip'] = $host['ip'];
$h['name'] = $host['name'];
$h['mac'] = $host['mac'];
$h['domain'] = $host['domain_name'];
$h['arch'] = $host['architecture_name'];
$h['os'] = $host['operatingsystem_name'];
$h['org'] = $host['organization_name'];
$h['virtual'] = $host['model_name'] === "VMware Virtual Platform";
If anyone is doing anything more please share :)
On 30-03-2017 16:34, Wim Van den Borre wrote:
> Hey everyone,
>
> How cool would it be to import nodes from foreman into itop, that way
> you automaticaly get the serial number brand etc...
>
> Can this be done? Or has anyone has done this before?
>
> KR
> --
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
--
Nuno Marques
--
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.