Re: [Nagios-devel] patch - config warning involving contactgroup

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.
Locked
Guest

Re: [Nagios-devel] patch - config warning involving contactgroup

Post by Guest »

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 [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked