NCPA Plugin Subdirectory Proposal

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.
Post Reply
bbahn
Posts: 382
Joined: Thu Jan 12, 2023 5:42 pm

NCPA Plugin Subdirectory Proposal

Post by bbahn »

Hello Nagios users,

I am considering modifying how NCPA's plugin directory handling works. Currently, when you have subdirectories and have multiple plugins with the same name in the plugins folder in different subdirectories, NCPA will not grab the one you'd expect. Currently if you have a plugin in a subdirectory, you can just specify the api endpoint plugins/mypluginname and it'll grab one of the plugins in one of the subdirectories instead of the one directly in the plugins folder.

I am proposing switching to requiring specific directory specifications if there are multiple instances of plugins with the same name. Would this cause issues for anyone?
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Post Reply