Installing Prometheus and Grafana

Hi everyone,
I have a problem with Data Source connection. 
I'm using the link 

http://prometheus-server.prometheus.svc.cluster.local 

for setting the dastasource in grafana, and have the "HTTP error bad gateway".

Please advice about a correct way to connect Data Source.

Thanks


  • post-author-pic
    Morteza K
    11-03-2018

    Did you use "Server" in Access mode ?

  • post-author-pic
    Alexei M
    11-03-2018

    I don't have "Server" option. Only  'proxy' or 'direct'

  • post-author-pic
    Michael M
    11-06-2018

    Hello,


    I myself have never installed either of these programmes; however, there are a few things that I would begin with. 
    1:  as you are referencing the target by its name and not its IP address, is your DNS set up correctly. Does that name resolve on the server that is attempting to make the connection.
    2: Are you able to telnet to the port that you are attempting to connect to from the machine that is attempting to make the connection.
    3: Have you validated the firewall settings on both servers?
    4: Are there items that are operating system specific that might need to be examined to ensure that they are allowing the connection ( SELinux for example )

    This is a short list and I wish that I had more expertise in this area but this may assist with getting you pointed in the right direction.

Looking For Team Training?

Learn More