Since contact groups are no longer defined in hostgroup(s)... but host(s)
diff -aruN nagios-cvs/base/config.c nagios-cvs.HACK/base/config.c
--- nagios-cvs/base/config.c 2005-01-10 23:53:06.000000000 -0500
+++ nagios-cvs.HACK/base/config.c 2005-03-14 15:25:50.398591433 -0500
@@ -2277,7 +2277,7 @@
/* we couldn't find a hostgroup or service */
if(found==FALSE){
- snprintf(temp_buffer,sizeof(temp_buffer),"Warning: Contact group '%s' is not used in any hostgroup/service definitions or host/hostgroup/service
escalations!",temp_contactgroup->group_name);
+ snprintf(temp_buffer,sizeof(temp_buffer),"Warning: Contact group '%s' is not used in any host/service definitions or host/service
escalations!",temp_contactgroup->group_name);
temp_buffer[sizeof(temp_buffer)-1]='\x0';
write_to_logs_and_console(temp_buffer,NSLOG_VERIFICATION_WARNING,TRUE);
warnings++;
_________________________
Bryan Loniewski
Rutgers University
NBCS - Systems Programmer
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]