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?
Provide Multiple Arguments to a Command
-
- Posts: 6
- Joined: Sun Jul 10, 2022 12:49 am
Provide Multiple Arguments to a Command
Last edited by JohnSonandrla on Thu Oct 13, 2022 6:38 am, edited 1 time in total.
Re: Provide Multiple Arguments to a Command
Use single quotes around the argument.