Page 1 of 1

NRPE Handle Redefinition of Checks

Posted: Sun Feb 05, 2017 4:48 am
by frankcrawford
Currently nrpe handles the redefinition of checks more by accident than design, and currently has some places were the ordering is undefined.

Within a single configuration file, the last definition of a check is the one used, as it is closest to the head of the command list and the search stops at the first match found.

However, when multiple files are searched with an "include_dir" statement, the order is undefined, or more correctly, the order readdir returns. It would be good if this order were defined, preferably in aphabetical order, similar to ls.

Re: NRPE Handle Redefinition of Checks

Posted: Mon Feb 06, 2017 10:45 am
by rkennedy
Would you mind raising an issue for this on the NRPE GitHub page?

https://github.com/NagiosEnterprises/nrpe/issues

This will be the best place to bring up the feature.

Re: NRPE Handle Redefinition of Checks

Posted: Tue Feb 07, 2017 4:58 am
by frankcrawford
Okay, will do.

Re: NRPE Handle Redefinition of Checks

Posted: Tue Feb 07, 2017 3:13 pm
by tmcdonald
Closing this as it will be addressed on Github.