Page 1 of 1
Cannot add services to servicegroups in nagiosxi
Posted: Mon Apr 30, 2018 11:27 am
by rjmon
I have created services and Servicegroups in Nagiosxi. Now i am trying to add services to servicegroups, but i am not seeing the services under Manage in ServiceGroups.
Nagios XI Version : 5.4.12
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Re: Cannot add services to servicegroups in nagiosxi
Posted: Mon Apr 30, 2018 12:36 pm
by lmiltchev
Did you create your services in the CCM? Can you apply configuration successfully?
Are you not seeing only newly added services or any services at all? Can you go to the CCM > Service Groups > <your group> > Edit > Manage Services, and show a screenshot of the page?
Re: Cannot add services to servicegroups in nagiosxi
Posted: Mon Apr 30, 2018 1:54 pm
by rjmon
Yes i did create services in the CCM. Applied configuraton successfully.
I am seeing my services under CCM-> Services. But not under CCM-> Service Groups -> my Group -> Edit -> Manage Services.
In my services i have only hostsgroups listed, In this scenario i cannot see these services under ServiceGroups. Whereas if i add hosts in that services then i can see those services under ServiceGroup.
Re: Cannot add services to servicegroups in nagiosxi
Posted: Mon Apr 30, 2018 2:19 pm
by lmiltchev
Currently, there is no way to show services in the CCM, that are added to hostgroups only (not to hosts). This doesn't mean, it is impossible to add these services to servicegroups, though. You can create a custom config, adding servicegroup members as usual ("<host>,<service>" pairs).
Example:
Code: Select all
define servicegroup {
servicegroup_name dbservices
alias Database Services
members ms1,SQL Server,ms1,SQL Server Agent,ms1,SQL DTC
}
https://assets.nagios.com/downloads/nag ... rvicegroup
Next, place your config in the static directory. To learn more about the manual config file management in Nagios XI, please review our KB article on the topic here:
https://support.nagios.com/kb/article/n ... t-160.html