We have about 250 servers that are identical and we currently have them all in a service group where we put all the checks except the ping. The ping check is in the actual service cfg for that server.
Nagios squawks during the sanity check when a matching service cfg doesn't exist.
My question is, does the service cfg for a host have to have anything in it? Or can it just exist and I can put the ping check into the service group cfg like all the other checks?
Do service cfg files need an actual check
Re: Do service cfg files need an actual check
I'm pretty sure you'd need to define the service. However, I think you can put the "servicegroups" (or "service_groups", I forget) directive in the service config, and it should apply it to the group.