Page 1 of 2

XI check_oracle_health plugin tablespace errors

Posted: Tue Jul 03, 2018 12:48 am
by comeonyoyo
Hello everyone

I use the plugin check_oracle_health (ver 3.1) with oracle rpm 11.2 or 12.2 --mode tablespace-free

shows errors below
bumm Can't call method "execute" on an undefined value at /usr/local/nagios/libexec/check_oracle_health line 6291.
Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_oracle_health line 6305.
2018-06-25_174229 - 1.png
and I change the plugin check_oracle_health (ver 1.7.3) with oracle rpm 11.2 --mode tablespace-free

It`s still the same...
oracle -1.7.3.jpg
The system info is centOS 7.4 with XI 5.4.11, please help to figue out how to fix it , thank you in advance..

Re: XI check_oracle_health plugin tablespace errors

Posted: Tue Jul 03, 2018 3:04 am
The table space check tries to get the version from v$instance using select version from v$instance that might fail if the monitoring user has no rights on v$instance.
Run the plugin once more adding -v please.

Re: XI check_oracle_health plugin tablespace errors

Posted: Tue Jul 03, 2018 4:33 am
by comeonyoyo
Here is -v log...how to analyze it ? Thanks

Re: XI check_oracle_health plugin tablespace errors

Posted: Tue Jul 03, 2018 2:59 pm
by scottwilkerson
@[email protected] do you know how to decipher this?

Re: XI check_oracle_health plugin tablespace errors

Posted: Wed Jul 04, 2018 12:33 am
by comeonyoyo
change to check_oracle_health-3.0.1
2018-07-04_133157.png
vi
2018-07-04_132604.png

Re: XI check_oracle_health plugin tablespace errors

Posted: Thu Jul 05, 2018 2:44 pm
by scottwilkerson
I'm not sure what you are saying.

Which plugin version are you running?

Re: XI check_oracle_health plugin tablespace errors

Posted: Thu Jul 05, 2018 8:05 pm
by comeonyoyo
check_oracle_health plugin
check_oracle_health-1.7.3
check_oracle_health-3.0.1
check_oracle_health-3.1.2
and so on
each of the versions has the same problems

bumm Can't call method "execute" on an undefined value at /usr/local/nagios/libexec/check_oracle_health line 6XXX.
Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_oracle_health line 6XXX.

Re: XI check_oracle_health plugin tablespace errors

Posted: Fri Jul 06, 2018 10:32 am
by scottwilkerson
Do all the other modes word?

Re: XI check_oracle_health plugin tablespace errors

Posted: Sun Jul 08, 2018 8:11 pm
by comeonyoyo
I'm not sure what you are saying.

Which test should I do ?

Re: XI check_oracle_health plugin tablespace errors

Posted: Mon Jul 09, 2018 9:38 am
by scottwilkerson
how about

Code: Select all

--mode connection-time