Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to create Datasource from Grafana to OEM 13.5

User_69S8VFeb 27 2023 — edited Feb 27 2023

We have

Grafana 9.3.0

OEM 13.5.0.10

Setup is completed until creating a OEM Datasource in Grafana.

When I create datasource with https:// result is: “Bad Gateway”.

I assume the Bad Gateway result is due to us using a self-issued certificate on OEM server. Where on Grafana side do I need to put our OEM self-issued certificate so Grafana-OEM communication works?

When I create datasource with http:// result is:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /em/websvcs/restful/grafana/v1/ on this server.<br /> </p> </body></html>

When trying to troubleshoot the http:// error above:

from OEM bash: curl -v -X GET -u testuser 'http://localhost:7788/em/websvcs/restful/grafana/v1/'

results in: …"HTTP/1.1 405 Method Not Allowed"…

from Grafana bash: curl -v -X GET -u testuser 'http://oem.host.name.com:7788/em/websvcs/restful/grafana/v1/'

results in: …<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /em/websvcs/restful/grafana/v1/
on this server.<br />
</p>…

emoms.trc has no entries related to my testing.

should I use another curl for testing?/Due to above results I assume OEM server iptables or OEM webserver block my traffic. Where can I fix that?

This post has been answered by Julian Frey-CITE on Feb 27 2023
Jump to Answer
Comments
Post Details
Added on Feb 27 2023
2 comments
865 views