Not the answer you need?
Register and ask your own question!

Using Grafana Authentication for PMM Client

gordangordan EntrantCurrent User Role Supporter
Is it possible to use Grafana user/password authentication for PMM Client access? The error I get is:

Even though the server is reachable it does not look to be PMM server.
Check if the configured address is correct. Unexpected response code: 403 (<!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 /v1/status/leader
on this server.</p>
</body></html>
)

Is there a way to make this work, or can only simple http authentication be used?

Comments

  • Michael CoburnMichael Coburn Principal Architect, Percona Percona Staff Role
    Hi gordan

    Grafana does support basic auth (http://docs.grafana.org/http_api/auth/#basic-auth) and we're looking to make this a seamless integration when we release PMM 2 next year.
  • gordangordan Entrant Current User Role Supporter
    So in that case I should use:

    Username: Bearer
    Password: <API key>

    as the credentials I give to pmm-admin?
  • Michael CoburnMichael Coburn Principal Architect, Percona Percona Staff Role
    Hi gordan
    I'm not sure myself - I'm asking whether someone from Development can review this and suggest a path forward. Watch for an update shortly, thanks!
  • roma.novikovroma.novikov Percona Percona Staff Role
    Hi gordan! Unfortunately, the other method will not work because of other checks in the system.
    So the only user/password is will work - the one you created during the PMM Server installation
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.