XI check_oracle_health plugin tablespace errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

XI check_oracle_health plugin tablespace errors

Post 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..
You do not have the required permissions to view the files attached to this post.
[email protected]
Posts: 68
Joined: Wed Dec 27, 2017 2:20 pm
Location: Nieuwegein, The Netherlands
Contact:

Re: XI check_oracle_health plugin tablespace errors

Post by [email protected] »

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.
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: XI check_oracle_health plugin tablespace errors

Post by comeonyoyo »

Here is -v log...how to analyze it ? Thanks
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI check_oracle_health plugin tablespace errors

Post by scottwilkerson »

@[email protected] do you know how to decipher this?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: XI check_oracle_health plugin tablespace errors

Post by comeonyoyo »

change to check_oracle_health-3.0.1
2018-07-04_133157.png
vi
2018-07-04_132604.png
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI check_oracle_health plugin tablespace errors

Post by scottwilkerson »

I'm not sure what you are saying.

Which plugin version are you running?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: XI check_oracle_health plugin tablespace errors

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI check_oracle_health plugin tablespace errors

Post by scottwilkerson »

Do all the other modes word?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
comeonyoyo
Posts: 17
Joined: Fri Apr 13, 2018 4:30 am

Re: XI check_oracle_health plugin tablespace errors

Post by comeonyoyo »

I'm not sure what you are saying.

Which test should I do ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI check_oracle_health plugin tablespace errors

Post by scottwilkerson »

how about

Code: Select all

--mode connection-time
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked