Problem with running Oracle plugin in CCM
Posted: Thu Jan 14, 2021 7:45 am
Hello,
I am having difficulties with check_oracle_health plugin setup using CCM.
If I run the command using terminal:
. /usr/local/nagiosxi/etc/configwizards/oracle/oracle && /usr/local/nagios/libexec/check_oracle_health --connect 'X.X.X.X:1521/SID' --username 'nagios_mon' --password '***' --mode asm-diskgroup-usage
OK - dg DATA usage is 43.25%, dg RECV usage is 42.48% | 'dg_data_usage_pct'=43.25%;90;98 'dg_data_usage'=44284MB;92156;100348;0;102396 'dg_data_size'=102396MB 'dg_recv_usage_pct'=42.48%;90;98 'dg_recv_usage'=43497MB;92159;100351;0;102399 'dg_recv_size'=102399MB
I get the results as expected.
But when trying to test the setup via CCM, using . /usr/local/nagiosxi/etc/configwizards/oracle/oracle && $USER1$/check_oracle_health $ARG1$
And $ARG1$ are: --connect 'X.X.X.X:1521/SID' --username 'nagios_mon' --password '***' --mode asm-diskgroup-usage
No results are returned under Run Check Command.
Could somebody please assist? Thank you in advance.
Kind Regards, Jakob
I am having difficulties with check_oracle_health plugin setup using CCM.
If I run the command using terminal:
. /usr/local/nagiosxi/etc/configwizards/oracle/oracle && /usr/local/nagios/libexec/check_oracle_health --connect 'X.X.X.X:1521/SID' --username 'nagios_mon' --password '***' --mode asm-diskgroup-usage
OK - dg DATA usage is 43.25%, dg RECV usage is 42.48% | 'dg_data_usage_pct'=43.25%;90;98 'dg_data_usage'=44284MB;92156;100348;0;102396 'dg_data_size'=102396MB 'dg_recv_usage_pct'=42.48%;90;98 'dg_recv_usage'=43497MB;92159;100351;0;102399 'dg_recv_size'=102399MB
I get the results as expected.
But when trying to test the setup via CCM, using . /usr/local/nagiosxi/etc/configwizards/oracle/oracle && $USER1$/check_oracle_health $ARG1$
And $ARG1$ are: --connect 'X.X.X.X:1521/SID' --username 'nagios_mon' --password '***' --mode asm-diskgroup-usage
No results are returned under Run Check Command.
Could somebody please assist? Thank you in advance.
Kind Regards, Jakob