No module named cx_Oracle

Hello,

I am trying to run a new check for Oracle DB, but I see this error in the check plugin output:

UNKNOWN - No module named cx_Oracle. Please install it via ‘pip install cx_Oracle’.

Can someone help me please?
Thanks guys!

Hi,
the sulution is described in the error message of the service. You need to install cx_Oracle as site User with “pip install cx_Oracle”. If you have no access to the internet, you need to download the package and install it manually.
Cheers,
Christian

1 Like

Hi @ChristianM

Do you know how to update Python on the server?

I received this error:

Hi,
yes on the server. The warning message is ok and depends on your checkmk version. Prior version 2.0 cx_Oracle need Python 2. Since 2.0 Python 3 is used.
Please run pip or pip3 in site environment of your server.
Cheers,
Christian

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.