Hi all,
We use foreman to deploy and manage our GNU/Linux servers and we are happy with it (thanks for your work !). I made some (very) little contributions in the last months and now i wanted to automate the creation/deletion of my hosts in the monitoring software, like it's done for example in the freeipa by the realm smart proxy. I know that i can do this with foreman_hooks, but i wanted to know if it make sense (and other persons are interested in) to make a monitoring smart proxy with maybe deeper integration in foreman in a second time.
My point of view on this will be, like DHCP smart proxy, create a monitoring smart proxy with some "monitoring providers" (like nagios, zabbix, centreon…). We use centreon monitoring tool, so i can get it work for it, and maybe one more implementation if it ease adoption (zabbix ? i don't know what monitoring tool is the most used by the foreman users), but i didn't take a look at others monitoring APIs at the moment.
step 1:
- Find and test APIs of monitoring tools
- Define the monitoring API v0.1 (which args the foreman pass to the monitoring smart proxy ? which information smart proxy get from monitoring tool to the foreman ?)
- Implement 1 (or 2) provider and two actions (create/destroy host in monitoring tool)
step 2:
- create a foreman plugin to add monitoring information to foreman host page ?
Any advise/comment or person interested ?
If it don't make sense or nobody is interested, no problem, i will make this with foreman_hook
I will be at the centos dojo and fosdem at the end of the week, so maybe we can talk about it if someone is interested.
Have a nice day.
Regards.