Search found 2 matches

by DBNagios
Wed May 27, 2020 4:18 pm
Forum: Open Source Nagios Projects
Topic: Pass arguments to plugin via NRDP config
Replies: 1
Views: 867

Re: Pass arguments to plugin via NRDP config

In the meantime I figured out how to pass a single argument to the plugin: %HOSTNAME%|Temperature = plugins/getCPUTemperature.sh --args SENSOR1 However, I need to pass two arguments to the plugin. How can this be realized? I tried different kinds of ways like: %HOSTNAME%|Temperature = plugins/getCPU...
by DBNagios
Wed May 27, 2020 2:05 pm
Forum: Open Source Nagios Projects
Topic: Pass arguments to plugin via NRDP config
Replies: 1
Views: 867

Pass arguments to plugin via NRDP config

Hi all, I'm using some NCPA passive checks. These passive checks are using a plugin that are configured in /ncpa/ncpa.cfg.d/nrdp.cfg. Till now I never wanted to pass an argument to the plugin and that worked fine. But now I want to pass an argument to the plugin, e.g.: %HOSTNAME%|Temperature = plugi...