We have:
staging:
{{{ mm-frontend01.stg.phx2.fedoraproject.org mm-backend02.stg.phx2.fedoraproject.org mm-crawler01.stg.phx2.fedoraproject.org }}}
production:
{{{ mm-frontend01.phx2.fedoraproject.org mm-backend02.phx2.fedoraproject.org mm-crawler01.phx2.fedoraproject.org mm-crawler02.phx2.fedoraproject.org }}}
These need to be added to nagios. See ansible roles/nagios/server/files/nagios/ for example.
So, I guess backend02 is actually backend01 and backend01.stg, as those are the ones present in ansible/inventory/hostvars
I took the parent from there, and created the files attached.
do you think it requires more than just the files.?
attachment mm-nagios.tar
I was wondering if these files are better generated by nagios_client ansible.? what do you think?
Added. thanks!
Well, we have talked about getting ansible to auto-generate nagios config for a while, but haven't gotten there yet. Ideas there welcome.
Login to comment on this ticket.