Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
clarkseth
byclarkseth, February 11, 2014
I've try this nagios plugin by local prompt, and it works fine, but if i implement it by nrpe.cfg it doesn't work:
I have this error:
'-' was specified with the -Command parameter: no other arguments to -Command are permitted.
Exit 0
I Don't understand why, it's declared correctly
command[check_win_upd]=cmd /c echo C:\nrpe\libexec\check_windows_updates.ps1 "$ARG1$"; exit $LastExitCode | powershell.exe -command -
It's very strange
I have this error:
'-' was specified with the -Command parameter: no other arguments to -Command are permitted.
Exit 0
I Don't understand why, it's declared correctly
command[check_win_upd]=cmd /c echo C:\nrpe\libexec\check_windows_updates.ps1 "$ARG1$"; exit $LastExitCode | powershell.exe -command -
It's very strange