Closed Hellofafar closed 5 years ago
Run it again on the command line and then check the exit code with echo $?
Run it again on the command line and then check the exit code with echo $?
Thanks for reply.
I ran it on the command line but not exit code. I got following:
OK - row_count: 7034181 | 'row_count'=7034181;@6000000:7000000;6000000: Segmentation fault (core dumped)
I still meet this issue. Can you please provide some ideas? Thanks!
Segmentation fault (core dumped) means there's a problem with the Oracle client installation or with the DBD::Oracle perl module.
Hi,
I tried to use check_oracle_health for checking tablespace and custom sql query. Both commands works when I execute from command line on the server. But when I tested with Nagios deamon, I met a weird situation.
For example, I wanted to check row number of a table. It showed 'UNKNOWN' for the service on the "Service Status Details For All Host Groups" page.
However, when I click the service to see detail, I saw it actually received correct status information as "OK - row_count: 7152433", but it's still shown as UNKNOWN for Current Status.
Version: Nagios Core (4.4.2) check_oracle_health (3.1.2.2)
Can any one help me on this issue? Thanks a lot!