Configuration error when creating hostgroup

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Configuration error when creating hostgroup

Post by rbizzell39 »

So for each host I have to add it to each service for the windows machine. I can't just create one service and add the host to that service group or I can thanks
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Configuration error when creating hostgroup

Post by jolson »

Host groups are used for service inheritance, so the work flow is as follows:

Make a hostgroup and call it something descriptive (CentOS_6_apache_servers).

Make services that will pertain to every host in that group, and assign those services to that hostgroup.

httpd monitor -> CentOS_6_apache_servers
/ partition monitor -> CentOS_6_apache_servers
httpd log monitor -> CentOS_6_apache_servers
etc..

Now, when you assign a host to that hostgroup...

centoshost.example.com -> CentOS_6_apache_servers

That host will inherit every service that has been assigned to the hostgroup automatically. Let me know if that makes sense. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Configuration error when creating hostgroup

Post by rbizzell39 »

Yes that makes sense thanks. This issue has been resolved
Locked