Pass parameters to plugin in config file

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Pass parameters to plugin in config file

Postby kehrli » Sat Jun 20, 2020 1:37 pm

I have been unable to pass a parameter to a plugin in ncpa.cfg. I'm just trying to run test_service.bat and pass a parameter to it. If I don't need a parameter, I can get a cmd file to register whatever I want to say in nagios. But as soon as I add a parameter, ncpa_passive.log shows: WARNING:ncpacheck:Unable to parse all arguments from instruction. Mis-paired option: <whatever parameter i give>

What is the trick to passing a parameter to a plugin in ncpa.cfg?
kehrli
 
Posts: 1
Joined: Mon May 04, 2020 6:27 pm

Return to Community Support

Who is online

Users browsing this forum: deek, Google [Bot] and 40 guests