Page 1 of 1

(No output on stdout) stderr: execvp(check_f5.pl, .) failed

Posted: Mon Mar 07, 2016 10:20 am
by Francesco
Hi,
I have the problem using the plugin present on the Nagios exchange site.
The plugin name is check_f5.pl.
When I execute this plugin on Nagios XI Web console the output is not valorizated.
I execute the same script to command line, the output it seems correct.
I have attached the script and the screenshot of the command output

Thank you
Francesco

Re: (No output on stdout) stderr: execvp(check_f5.pl, .) fai

Posted: Mon Mar 07, 2016 10:22 am
by Francesco
Hi,
i have attached others screenshot of the problem.

Thank you
Francesco

Re: (No output on stdout) stderr: execvp(check_f5.pl, .) fai

Posted: Mon Mar 07, 2016 10:52 am
by Francesco
Hi.
I have attached the perl script.

Thank you
Francesco

Re: (No output on stdout) stderr: execvp(check_f5.pl, .) fai

Posted: Mon Mar 07, 2016 1:03 pm
by lmiltchev
Go to CCM->Commands->Check_F5_CPU->Edit, and check this:

Code: Select all

check_f5.pl -H $HOSTADDRESS$ -C $ARG1$ -m cpu
to this:

Code: Select all

$USER1$/check_f5.pl -H $HOSTADDRESS$ -C $ARG1$ -m cpu
Save and Apply Configuration.

Did this fix your issue?

Re: (No output on stdout) stderr: execvp(check_f5.pl, .) fai

Posted: Wed Mar 09, 2016 4:13 am
by Francesco
it works !!

Thank you
Francesco

Re: (No output on stdout) stderr: execvp(check_f5.pl, .) fai

Posted: Wed Mar 09, 2016 9:32 am
by lmiltchev
I am glad I could help! :)