Re: check_oracle_health not working for Linux env
Posted: Wed Jul 01, 2020 7:26 am
Thanks for correcting me. I re-run the whole command and observed the time out error. Please find attachment containing the o/p of the cmd.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
yum install nmap -yCode: Select all
nmap 10.183.XX.XXX -p 1525If the state says OPEN, then the port is available.PORT STATE SERVICE
1525/tcp open 1525
Code: Select all
[root@avgdlnxvp126 ~]# nmap 10.183.XX.XXX -p 1525
Starting Nmap 6.47 ( http://nmap.org ) at 2020-07-02 03:16 UTC
Nmap scan report for 10.183.XX.XXX
Host is up (0.00038s latency).
PORT STATE SERVICE
1525/tcp open orasrv
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
[root@avgdlnxvp126 ~]#Code: Select all
Wed Jul 1 11:38:47 2020: fetchrow_array: SELECT version FROM v$instance
Wed Jul 1 11:38:47 2020: args: $VAR1 = [];
Wed Jul 1 11:38:47 2020: RESULT:
$VAR1 = [
'12.2.0.1.0'
];
Code: Select all
/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib ORACLE_HOME=/usr/lib/oracle/12.1/client64 /usr/local/nagios/libexec/check_oracle_health --connect '10.183.XX.XXX:1525/PAAXXX' --username 'nagios' --password 'XXXXXXXXXXX' --mode tablespace-usage --warning 90 --critical 98 -t 300 --method sqlplus -vSince this issue is still unresolved, please opens a support ticket and reference this thread, so we can provide a remote session if needed. Thanks, BenjaminIs it possible to schedule the remote session.
Help moving to ticketAmit_Alone wrote:Hi Benjamin,
As suggested, I have open the ticket https://support.nagios.com/tickets/tickets.php?id=10173.
Please do let me know in case required any other details.
Thanks & Regards,
Amit Alone