Cannot add services to servicegroups in nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Cannot add services to servicegroups in nagiosxi

Post 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)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cannot add services to servicegroups in nagiosxi

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Re: Cannot add services to servicegroups in nagiosxi

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cannot add services to servicegroups in nagiosxi

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked