Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin=database::oracle::plugin work on shell as centreon-engine but not on web #1855

Closed
lg-infocom94 opened this issue Feb 18, 2020 · 4 comments
Labels

Comments

@lg-infocom94
Copy link

Hi,

I have the same issue as #1787
I follow all indications and it's still doesn't working on web.
Anyone have an idea ?

Thank's a lot in advance

@garnier-quentin
Copy link
Contributor

I think your dbd oracle is installed in root directory. Have you tried with centreon-engine user on your poller ?

@lg-infocom94
Copy link
Author

When i type this command with the user centreon-engine, i get this result

-bash-4.2$ /usr/lib/centreon/centreon-plugins/centreon_plugins.pl** --plugin=database::oracle::plugin --mode=tnsping --hostname=A.B.C.D --sid=SISXXX --port=1521
OK: Connection established to listener 'SISXXX' |

For me it's working in commande line, but in the web interface i get this message
CRITICAL: Cannot connect: (no error string)

What do you mean by saying "I think your dbd oracle is installed in root directory", do you mean DBD::Oracle ?

@garnier-quentin
Copy link
Contributor

Yes i mean DBD Oracle.

@jcvd94
Copy link

jcvd94 commented Aug 26, 2020

Hello,
i encounter a similar problem, at the difference that this command works under root, but not under centreon-engine :

bash-4.2$ /usr/lib/centreon/plugins/centreon_plugins.pl --plugin database::oracle::plugin --mode=tnsping --hostname=XXX --port=1548 --sid=XXX
CRITICAL: Cannot connect: (no error string) |

i followed this tutorial for Oracle client setup : https://pixelabs.fr/oracle-client-19c-installation-sous-centos7-centreon/

And the same, not working better under WUI.

if garnier-quentin could help :)
remote contreol session possible 👍

Thanks by advance !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants