service contacts mapped by hostgroup
Posted: Wed Dec 19, 2018 12:37 pm
Hi
About every 3 years I decide to reorganise how I am doing hostgroup, servicegroups, ... etc. I always seem to run in to
this case which I am never happy with my solution. Simplified case:
2 hostgroups of machines all running SSH servers . The different groups of machines have different managers.
1. So I create two nagios_hostgroups (hg_A , hg_B) with a contact in each ., that is just fine for host level problems.
2. I create one nagios_service for ssh which is applied to both hostgroups.
Where do I configure the 2 sets of admins so that service events for nagios hg_A and hg_B go to different people.
I always end up creating an SSH_A and SSH_B service but this seems the wrong thing to do.
Any suggestions very welcome.
About every 3 years I decide to reorganise how I am doing hostgroup, servicegroups, ... etc. I always seem to run in to
this case which I am never happy with my solution. Simplified case:
2 hostgroups of machines all running SSH servers . The different groups of machines have different managers.
1. So I create two nagios_hostgroups (hg_A , hg_B) with a contact in each ., that is just fine for host level problems.
2. I create one nagios_service for ssh which is applied to both hostgroups.
Where do I configure the 2 sets of admins so that service events for nagios hg_A and hg_B go to different people.
I always end up creating an SSH_A and SSH_B service but this seems the wrong thing to do.
Any suggestions very welcome.