I’m here to get some information and if it’s worth to try Foreman for my requirements.
Since Foreman has this datacenter plugin I was thinking about to use Foreman as documentation tool.
But it would be really cool to feed our monitoring with definitions which could be (hopefully) provided by Foreman.
We are using OpenNMS and a node definition looks like this:
Hey, I am not aware of any OpenNMS integration so Foreman cannot do anything like this out of box. However you will find all the information in Foreman database (hostnames, NICs) and using the datacenter plugin you can provide more info and fetch that of course.
You can write our own plugin or develop an 3rd party app accessing the data via our API (the datacenter plugin does provide API as well). If you aim to export this XML on a daily basis, you can write a Rake task as well, that would be probably the easiest way of doing this.
For ONMS I need a logic to assign a service like ICMP, HTTP, SNMP etc on an IP interface. Reading this information from the Foremans database would be very easy. But if Foreman isn’t designed to model that, it’s gonna be complicated.
It’s very cool, that others can provide plugins for Foreman. But I’m not a developer, so I can’t do it.
After working more with Foreman, I think I could query the DB to get at least most of the required information.
So can you give me some help finding the required information in the database?
I need things like:
hostname, primary ip address, hostgroup assignments, host and global parameters