Page 1 of 1

Provide Multiple Arguments to a Command

Posted: Wed Aug 24, 2022 7:11 am
by JohnSonandrla
I have created a custom plugin in order to monitor a parameter using Nagios XI. To execute that plugin remotely I must use:

/usr/local/nagios/libexec/check_nrpe -H [IP_ADDR] -c [PLUGIN_NAME] -a [ARGUMENT]

Having made appropriate changes in nrpe.cfg and /etc/sudoers, I could get correct results.

But, I need to provide multiple arguments to the command. What should be omegle shagle voojio the syntax I must use?

Re: Provide Multiple Arguments to a Command

Posted: Wed Aug 24, 2022 2:03 pm
by gormank
Use single quotes around the argument.