Hi Team,
I am getting the below error when I am using check_mem plugin to get the memory values correctly for a remote windows server
NSClient ++ version 0.4.3.143
On CLI it works -
[root@xx.xx.xx.xx libexec]# ./check_nrpe -H 10.164.224.65 -p 5666 -c CheckMEM -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical
OK: physical: Total: 255.748GB - Used: 204.446GB (79%) - Free: 51.303GB (20%)|'physical'=204.44559GB;204.59852;230.17334;0;255.74815 'physical %'=79%;80;90;0;100
When I added on webconsole and defined the command:
(No output on stdout) stderr: execvp(command_line, ...) failed. errno is 2: No such file or directory
PFA command and service files
(No output on stdout) stderr: execvp(command_line, ...) fail
(No output on stdout) stderr: execvp(command_line, ...) fail
You do not have the required permissions to view the files attached to this post.
Re: (No output on stdout) stderr: execvp(command_line, ...)
NSClient config file also attached
You do not have the required permissions to view the files attached to this post.
Re: (No output on stdout) stderr: execvp(command_line, ...)
Is there a specific reason you put command_line in front of your Command's "Command Line" definition? I would try removing that and having it like this:
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c $ARG1$ $ARG2$
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: (No output on stdout) stderr: execvp(command_line, ...)
Hey thanks for that..
But now I get a error
[nagios@xx.xx.xx.xx~]# /usr/local/nagios/libexec/check_nrpe -H 10.164.224.65 -p 5666 -c check_MEM -a MaxWarn=80% MaxCrit=90% ShowAll=long type=page Unknown command(s): check_mem
But now I get a error
[nagios@xx.xx.xx.xx~]# /usr/local/nagios/libexec/check_nrpe -H 10.164.224.65 -p 5666 -c check_MEM -a MaxWarn=80% MaxCrit=90% ShowAll=long type=page Unknown command(s): check_mem
Re: (No output on stdout) stderr: execvp(command_line, ...)
Please close this thread. Its resolved
Re: (No output on stdout) stderr: execvp(command_line, ...)
Awesome! Closing this per your request.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/