Export from Foreman into a CSV/Database

Hi,

Has anyone been successful in exporting facts and data from foreman into an external database or CSV files? I'm thinking of trying to integrate Foreman with an external database for inventory purposes. I would want to use facts as datapoints for the hosts.

Thanks,

Josh

I would use the foreman cli for exporting to CSV.

Thanks,

Corey Osman
corey@logicminds.biz

Green IT and Data Center Automation Specialist

··· On Dec 20, 2012, at 7:39 AM, "Baird, Josh" wrote:

Hi,

Has anyone been successful in exporting facts and data from foreman into an external database or CSV files? I’m thinking of trying to integrate Foreman with an external database for inventory purposes. I would want to use facts as datapoints for the hosts.

Thanks,

Josh


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.

I'm thinking more along the lines of using the API.

Josh

··· On Thu, Dec 20, 2012 at 2:38 PM, Corey Osman wrote:

I would use the foreman cli for exporting to CSV.

Thanks,

Corey Osman
corey@logicminds.biz

Green IT and Data Center Automation Specialist

On Dec 20, 2012, at 7:39 AM, “Baird, Josh” jbaird@follett.com wrote:

Hi,****

Has anyone been successful in exporting facts and data from foreman into
an external database or CSV files? I’m thinking of trying to integrate
Foreman with an external database for inventory purposes. I would want to
use facts as datapoints for the hosts.****

Thanks,****

Josh****


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

You should augment the cli since it uses the API. If you build something useful make a pull request.

Thanks,

Corey Osman
corey@logicminds.biz
503-454-6351

Green IT and Data Center Automation Specialist

··· On Dec 20, 2012, at 2:26 PM, Josh Baird wrote:

I’m thinking more along the lines of using the API.

Josh

On Thu, Dec 20, 2012 at 2:38 PM, Corey Osman corey@logicminds.biz wrote:

I would use the foreman cli for exporting to CSV.

Thanks,

Corey Osman
corey@logicminds.biz

Green IT and Data Center Automation Specialist

On Dec 20, 2012, at 7:39 AM, “Baird, Josh” jbaird@follett.com wrote:

Hi,

Has anyone been successful in exporting facts and data from foreman into an external database or CSV files? I’m thinking of trying to integrate Foreman with an external database for inventory purposes. I would want to use facts as datapoints for the hosts.

Thanks,

Josh


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.