NCPA Plugin Subdirectory Proposal
Posted: Thu Apr 03, 2025 4:32 pm
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?
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?