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.
NRPE Handle Redefinition of Checks
Re: NRPE Handle Redefinition of Checks
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.
https://github.com/NagiosEnterprises/nrpe/issues
This will be the best place to bring up the feature.
Former Nagios Employee
-
- Posts: 2
- Joined: Sun Feb 05, 2017 3:59 am
Re: NRPE Handle Redefinition of Checks
Okay, will do.
Re: NRPE Handle Redefinition of Checks
Closing this as it will be addressed on Github.
Former Nagios employee