plugin output null in Xi, works fine from CLI
Posted: Thu Jun 14, 2012 4:20 am
Hello All,
I'm currently trying to use the "check_catalyst_cpu" plugin found in the exchange. When I run the check command from terminal I get the output as expected - running the check within Xi I get "null".
I've created the check with the following command:
$USER1$/check_catalyst_load.pl -s $ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$
CLI: ./check_catalyst_load.pl -s 10.43.128.101 -C cz-pwc-read -w 0,0,0 -c 0,0,0 returns the CPU load for all processors.
Critical "null" is all i can manage from within NagiosXi.
I've found several similar threads and have tried suggestions there to no avail:
disabled embedded perl
made sure nagios user can execute script
Any ideas?
Thanks,
Brian
I'm currently trying to use the "check_catalyst_cpu" plugin found in the exchange. When I run the check command from terminal I get the output as expected - running the check within Xi I get "null".
I've created the check with the following command:
$USER1$/check_catalyst_load.pl -s $ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$
CLI: ./check_catalyst_load.pl -s 10.43.128.101 -C cz-pwc-read -w 0,0,0 -c 0,0,0 returns the CPU load for all processors.
Critical "null" is all i can manage from within NagiosXi.
I've found several similar threads and have tried suggestions there to no avail:
disabled embedded perl
made sure nagios user can execute script
Any ideas?
Thanks,
Brian