Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Alert is not working on grafana server running on x86_64 CentOS #252

Closed
linan-github opened this issue Jul 1, 2020 · 1 comment
Closed
Assignees
Milestone

Comments

@linan-github
Copy link

Bug Report

Expected Behavior

Able to run alert from bigquery datasource

Actual Behavior

grafana failed to load plugin doitintl-bigquery-datasource in backend plugin, error in grafana log is as below
grafana-server[22367]: t=2020-07-01T06:27:31+0000 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=doitintl-bigquery-datasource error="fork/exec /var/lib/grafana/plugins/doitintl-bigquery-datasource/dist/doitintl-bigquery-datasource_linux_amd64: exec format error"

grafana failed to evaluate alert, error in the log:
grafana-server[11722]: t=2020-07-01T06:06:16+0000 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=9 name="alert" error="tsdb.HandleRequest() error Could not find executor for data source type: doitintl-bigquery-datasource" changing state to=alerting

Steps to Reproduce the Problem

  1. grafana-cli --pluginUrl https://github.com/doitintl/bigquery-grafana/archive/2.0.0.zip plugins install doitintl-bigquery-datasource

Specifications

  • Version: v2.0.0
  • Platform: CentOS Linux 3.10.0-1062.4.3.el7.x86_64
  • Grafana Version: v7.0.4
@Tamirk Tamirk added this to the 2.0.1 milestone Jul 9, 2020
@LiorRacer
Copy link
Contributor

Hi @linan-github,

Due to Grafana docs and this thread

There is no way yet to sign plugins, the solution for now is to allow unsigned plugin.
Add to Grafana.ini file under [plugin] the plugin id like so:

allow_loading_unsigned_plugins = "doitintl-bigquery-datasource"

image

@Tamirk Tamirk closed this as completed Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants