Code Monkey home page Code Monkey logo

Comments (8)

stephenyeargin avatar stephenyeargin commented on September 18, 2024

This looks like it may be related to #51. See if you can set export NODE_TLS_REJECT_UNAUTHORIZED=0 in your Grafana Hubot config to tell the lower-level request library to accept your self-signed certificate.

from hubot-grafana.

aermike avatar aermike commented on September 18, 2024

I added in .env file
But....must say, i intend to use hubot-grafana with grafana server included in noc-project
https://getnoc.com/
In standard install worked
But this i think is custom install and talk with noc-project support
Thanks for your help for now
If i resolve i write to you

from hubot-grafana.

aermike avatar aermike commented on September 18, 2024

received that
"grafana will work only to users, who is authorized in noc.
or you can supply auth headers in basic auth with your request from bot"
can you tell me how resolve that?
Thank you

from hubot-grafana.

stephenyeargin avatar stephenyeargin commented on September 18, 2024

This package requires an API key rather than Basic Auth (which would be their username and password). If that product doesn't let you generate an API key for a particular user, it may not work with hubot-grafana.

if endpoint.api_key
headers['Authorization'] = "Bearer #{endpoint.api_key}"

from hubot-grafana.

aermike avatar aermike commented on September 18, 2024

it's possible to modify auth to an user admin with passw admin?

from hubot-grafana.

stephenyeargin avatar stephenyeargin commented on September 18, 2024

You may be able to specify it in the HUBOT_GRAFANA_HOST environment variable, per their documentation.

HUBOT_GRAFANA_HOST=https://<someusername>:<somepassword>@myserver.example.com

from hubot-grafana.

aermike avatar aermike commented on September 18, 2024

I will try and send you an message
thank you

from hubot-grafana.

aermike avatar aermike commented on September 18, 2024

Hi
Not worked, because software has own auth module, which not suport api

from hubot-grafana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.