Page 1 of 1

Do service cfg files need an actual check

Posted: Thu Jan 20, 2011 12:55 pm
by jag7720
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?

Re: Do service cfg files need an actual check

Posted: Fri Jan 21, 2011 10:37 am
by mguthrie
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.