Foreman vs. any other inventory/asset management solution

Hi all,
I've seen a few posts to the group about using Foreman as an Inventory
Management solution. Including one suggesting a Foreman Plugin for
Inventory Reports (like a manager/compliance use case). I haven't had any
experience with other inventory/asset software, but I'm curious what people
here think Foreman might be missing that those solutions provide? I caught
wind of someone wanting to setup a new inventory database solution, and
thought, "we already have one!" but perhaps I'm missing some of the finer
points. On a side note, I just looked at Spicework's website today, and
from the feature overview, I can't see any additional value beyond what
Foreman can do.

I'm also curious if anyone is using a tool like Splunk with Puppet or
Foreman data. It seems like it would be interesting to push some PuppetDB
or Foreman API data into Splunk and add it into our existing reporting.

Thanks!

I'm trying to cobble together a solution with Dell OpenManage Essentials.
The way OME keeps track of your hardware is you provide it with a
discovery IP or hostname, with credentials for several protocols, and it
will pull all kinds of hardware/software information (OS, version, drivers
installed, BIOS version, settings). The piece I'm currently working on is
to have Foreman send a command to the OME server upon provision (create
this new discovery item, then inventory it) and another command when
deleting a device out of Foreman (delete the discovery item, then find the
discovered item and delete it as well). I'm not quite sure how to have
Foreman run a command with either of those two actions. I have asked for
help here if anyone has an answer for me:

https://groups.google.com/forum/?fromgroups#!topic/foreman-users/D0TI2priM_M

You could do it easily with the provisioning templates, you can put in
any kind of command in it. We have a lot of custom snippets in there to
do run all sorts of commands to customize the install.

But for delete, I guess you need something like:

Run custom hook scripts on Foreman events
http://m0dlx.com/blog/Extending_Foreman_quickly_with_hook_scripts.html

*foreman_hooks*
Allows you to trigger scripts and commands on the Foreman server at
any point in an object's lifecycle in Foreman. This lets you run
scripts when a host is created, or finishes provisioning etc.

It enables extension of Foreman's host orchestration so additional
tasks can be executed, and can register hooks into standard Rails
callbacks for any Foreman object, all with shell scripts.

Check the plugins page if there is something that fit's your requirements:

http://projects.theforeman.org/projects/foreman/wiki/List_of_Plugins

Met vriendelijke groet, With kind regards,

Jorick Astrego

Netbulae Virtualization Experts

ยทยทยท On 01/22/2015 05:31 PM, lawre wrote: > I'm trying to cobble together a solution with Dell OpenManage > Essentials. The way OME keeps track of your hardware is you provide > it with a discovery IP or hostname, with credentials for several > protocols, and it will pull all kinds of hardware/software information > (OS, version, drivers installed, BIOS version, settings). The piece > I'm currently working on is to have Foreman send a command to the OME > server upon provision (create this new discovery item, then inventory > it) and another command when deleting a device out of Foreman (delete > the discovery item, then find the discovered item and delete it as > well). I'm not quite sure how to have Foreman run a command with > either of those two actions. I have asked for help here if anyone has > an answer for me: > > https://groups.google.com/forum/?fromgroups#!topic/foreman-users/D0TI2priM_M > > ----------------
Tel: 053 20 30 270 	info@netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01