patch - config warning involving contactgroup

Ethan Galstad nagios at nagios.org
Tue Mar 15 00:07:15 CET 2005


Thanks - this will be patched shortly.


On 14 Mar 2005 at 15:35, Bryan Loniewski wrote:

> 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
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users. Discover which products truly live up to the hype. Start
> reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________ Nagios-devel mailing
> list Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click




More information about the Developers mailing list