[Pkg-nagios-devel] Bug#641933: nagios-nrpe-server: config snippets need to end in .cfg

Matt Taggart taggart at debian.org
Sat Sep 17 19:56:07 UTC 2011


Package: nagios-nrpe-server
Version: 2.12-4+b1

I discovered today when trying to use the /etc/nagios/nrpe.d/ directory
that config file snippets in that dir must end in ".cfg" in order to be
processed. Here's the code from src/nrpe.c

       /* process this if it's a config file... */
       x=strlen(dirfile->d_name);
       if(x>4 && !strcmp(dirfile->d_name+(x-4),".cfg")){

Could you please add something to the description in nrpe.cfg explaining
this?

Thanks,

-- 
Matt Taggart
taggart at debian.org






More information about the Pkg-nagios-devel mailing list