NRPE Handle Redefinition of Checks

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
frankcrawford
Posts: 2
Joined: Sun Feb 05, 2017 3:59 am

NRPE Handle Redefinition of Checks

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NRPE Handle Redefinition of Checks

Post 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.
Former Nagios Employee
frankcrawford
Posts: 2
Joined: Sun Feb 05, 2017 3:59 am

Re: NRPE Handle Redefinition of Checks

Post by frankcrawford »

Okay, will do.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRPE Handle Redefinition of Checks

Post by tmcdonald »

Closing this as it will be addressed on Github.
Former Nagios employee
Locked