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

Offline plugin installation #5873

Closed
farrokhi opened this issue Aug 20, 2016 · 11 comments
Closed

Offline plugin installation #5873

farrokhi opened this issue Aug 20, 2016 · 11 comments

Comments

@farrokhi
Copy link

farrokhi commented Aug 20, 2016

  • What did you do?
    Install a plugin using grafana-cli
  • What was the expected result?
    It requires internet connection, but the machine has no internet connection
  • What happened instead?
    It is common in monitoring systems to be isolated from public internet. In such cases it would be great to be able to install a plugin using a local archive (e.g. .zip file or a local directory)
@bergquist
Copy link
Contributor

Offline installations guide should be added to grafana.net/org and the cli when not able to connect to internet.

@bergquist bergquist added this to the 4.0.0 milestone Aug 22, 2016
@torkelo torkelo removed this from the 4.0.0 milestone Sep 22, 2016
@bbalet
Copy link

bbalet commented Oct 4, 2016

Hi @bergquist @torkelo, Could you provide some hints? Is it possible to install a plugin manually or to use the cli offline? What are the steps of this kind of install?

@torkelo
Copy link
Member

torkelo commented Oct 4, 2016

you can do it on a computer that has internet then copy the /var/lib/grafana/plugins dir the target computer

@schavalmane
Copy link

if installation is via cli then we should get option to download.

@discoduck2x
Copy link

@torkelo @bergquist
do you mean we have to have an internet facing grafana just to be able to download grafana.net plugins via grafana-cli ? i think many are having their grafana instances deep buried behind fw´s and therefor would need to be able to dowload manually from workstation with internet and then transfer manually

@bergquist bergquist self-assigned this Feb 13, 2017
@torkelo
Copy link
Member

torkelo commented Feb 13, 2017

@discoduck2x no, it does not need to be internet facing. grafana-cli needs to have access to internet for it to download plugins. If the server you want to install plugins on cannot access the internet then you can install grafana on a computer that can, install using grafana-cli, then copy the plugins from plugins folder over the the server that does not have any access to the outside

@bergquist bergquist added this to the 4.2.0-beta1 milestone Feb 13, 2017
@discoduck2x
Copy link

@torkelo , ok i understand that as a current workaround but why not provide a link on the grafana.net plugin page with a download url (same as grafana-cli uses?) , if im moving around working from different hosts like - stationary desktop, laptop, vdi etc, , then this means i right now have to have local grafana installed on each in order to download via cli....or setup a grafana for "plugin downloads only"

thanks for always beeing so fast with responses - you and your team rox ! ::

@bergquist bergquist removed their assignment Feb 13, 2017
@bergquist bergquist modified the milestones: Docs, 4.2.0-beta1 Feb 14, 2017
@Yaiba782
Copy link

+1 This would be very useful for offline servers

@DanSHenry
Copy link

+1 it makes more sense to just make the download link available especially if installation is as simple as copy-paste into plugins directory. Downloading from the site then ftp to my server is a lot easier than install grafana again on another computer.

@olliewalsh
Copy link

olliewalsh commented Apr 6, 2017

Pretty easy to figure out the download url by looking at the source (or look at the output from grafana-cli), but it would be nicer to have a direct link in the plugin page.

@bergquist
Copy link
Contributor

Closed by #9299

ryantxu added a commit to ryantxu/grafana that referenced this issue Sep 22, 2017
* grafana/master: (112 commits)
  changelog: adds note about closing grafana#5873
  Docs new updates (grafana#9324)
  Update CHANGELOG.md
  Update latest.json
  cleanup: removed unused file
  tech: remove bower and moved remaining bower dependencies to npm
  tech: cleanup and fixed build issue
  tech: upgraded angularjs and moved dependency from bower to npm, closes grafana#9327
  follow go idiom and return error as second param
  tech: updated tsconfig
  docker: adds alertmanager to prometheus fig
  tech: more tslint rules
  tech: removing unused variables from typescript files, and making tslint rules more strict
  context is reserved for go's context
  make ds a param for Query
  remove batch abstraction
  rename executor into tsdbqueryendpoint
  remove unused structs
  refactor response flow
  tech: removed test component
  ...
ryantxu added a commit to NatelEnergy/grafana that referenced this issue Sep 22, 2017
* grafana/master:
  Update CHANGELOG.md
  changelog: adds note about closing grafana#5873
  Docs new updates (grafana#9324)
  Update CHANGELOG.md
  Update latest.json
  cleanup: removed unused file
  tech: remove bower and moved remaining bower dependencies to npm
  Update _navbar.scss
  Added --pluginUrl option to grafana-cli for local network plugin installation
@bergquist bergquist modified the milestones: Docs, 4.6 Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants