NRPE Handle Redefinition of Checks

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

NRPE Handle Redefinition of Checks

Postby frankcrawford » Sun Feb 05, 2017 4:48 am

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

Re: NRPE Handle Redefinition of Checks

Postby rkennedy » Mon Feb 06, 2017 10:45 am

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

Re: NRPE Handle Redefinition of Checks

Postby frankcrawford » Tue Feb 07, 2017 4:58 am

Okay, will do.
frankcrawford
 
Posts: 2
Joined: Sun Feb 05, 2017 3:59 am

Re: NRPE Handle Redefinition of Checks

Postby tmcdonald » Tue Feb 07, 2017 3:13 pm

Closing this as it will be addressed on Github.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Manager
 
Posts: 8260
Joined: Mon Sep 23, 2013 8:40 am


Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 1 guest