I am getting 2 different error by running two different command as below
journalctl -xe | grep 'metricbeat'
Error fetching data for metricset oracle.tablespace: error creating connection to Oracle: error doing ping to database: ORA-00000: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory".
metricbeat test modules oracle
tablespace...
error... ERROR error getting or interpreting data from Oracle: error extracting data: error getting data_files: error executing query: dpiStmt_execute: ORA-00942: table or view does not exist
performance...
error... ERROR error extracting data: error getting buffer cache hit ratio: error executing query: dpiStmt_execute: ORA-00942: table or view does not exist
My oracle version is 12c.
I have installed oracle instant client - instantclient-basic-linux.x64-21.1
My Os where metric-beat installed is RHEL Linux 7.3
Ok so your Oracle version seems to be supported, good You instant client might be too updated and I'd try with v18.5 which is the tested version. I think I have manualled tested v19 too but check, just in case.
This looks like some error setting up the environment Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory Follow closely the instructions here (including setting up the LD_LIBRARY_PATH envar) and check the permissions for each metricset here and here.
I installed OCI 18.5 version on my system,still getting same error ,below is my Environment variable value:
$LD_LIBRARY_PATH - /usr/lib/instantclient_18_5
I think the solution u suggested has worked .
But our User seems to not having access to system table that's we are facing :"Table or view does not exist."
I wanted to ask Does oracle metricset configured for "Username/Password " expiry alert.
We need to set alerts for password expiry of users from Oracle DB ,is it possible?
that username/password is on oracle side. ELK has nothing to do with it. and no there is no alert for that. you can tackle this two way.
from oracle side write bash script to find out if username is locked or expire
from ELK side check the count of document in last X minute and if they are zero then alert because that means your logstash which is ingesting data is not working.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.