Ad Widget

Collapse

Zabbix plugin for Grafana

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rmsys
    Junior Member
    • Jul 2013
    • 13

    #31
    Thank you for your attention and patience!

    Comment

    • victorhugopa
      Member
      Zabbix Certified Specialist
      • Apr 2010
      • 66

      #32
      Metrics limit / Timeseries data request error

      Hi people!! And thanks for the plugin!!

      A doubt... The option "Metrics limit" at the edit datasource page does what?

      I'm asking this because I'm having problems with my ambient (Zabbix 2.4.7 + Grafana 2.6 + Grafana-Zabbix 2.5.1). When I select a time range with more than 5 days I get a "timeseries data request error" with blanks "response" and "JS Error" tabs.

      Edited: After increasing the PHP memory_limit to 256MB the problem is resolved.
      Last edited by victorhugopa; 19-01-2016, 14:20. Reason: Problem resolved

      Comment

      • kragero60
        Junior Member
        • Jul 2015
        • 1

        #33
        Grafana and Zabbix 3.0

        Hi,

        We use zabbix/grafana a lot. Has it been tested with Zabbix 3.0?

        Comment

        • rmsys
          Junior Member
          • Jul 2013
          • 13

          #34
          No yet.

          Comment

          • SBO
            Zabbix Certified Specialist
            Zabbix Certified Specialist
            • Sep 2015
            • 226

            #35
            I'm using it on my dev environment for the moment, with the develop version of the plugin (https://github.com/alexanderzobnin/g...x/tree/develop), it is working well until now.

            Comment

            • noxis
              Senior Member
              • Aug 2007
              • 145

              #36
              I just installed it with my Zabbix 3.0. Worked first time without issue. Can I just say it is bloody awesome!

              The only thing I am wondering is a bug or not is it doesnt show me all the prototype items being picked up. It shows some but not all?

              Edit: It was my bad filter!
              Last edited by noxis; 18-03-2016, 05:04. Reason: Found my problem..

              Comment

              • detonablue
                Junior Member
                • Mar 2015
                • 1

                #37
                Hi all,

                maybe i did something wrong .... so how to install the dev version of the plugin to zabbix3?
                what i have done: download dev version of plugin (grafana-zabbix-develop.zip) copy it to the server, unzip it and move the dir's "datasource-zabbix" and "panel-triggers" to my grafana plugin dir (grafana/public/app/plugins/)
                Now restart grafan and get the following errors:
                [plugins.go:62 walker()] [E] Failed to load plugin json file: grafana/public/app/plugins/datasource-zabbix/plugin.json, err: Did not find pluginType property in plugin.json
                [plugins.go:62 walker()] [E] Failed to load plugin json file: grafana/public/app/plugins/panel-triggers/plugin.json, err: Did not find pluginType property in plugin.json

                :-(

                any suggestions?

                Thanks

                Comment

                • angelhc
                  Senior Member
                  Zabbix Certified Specialist
                  • Nov 2009
                  • 226

                  #38
                  Hi!
                  we're having some troubles with the plugin, the problem is that we cannt access directly to internet from our dvl servers and it seems to be necessary to install the plugin, (there's no other way like dowload it from github and install on the docs afaik) via git.

                  As detonablue says we download the .zip "grafana-zabbix-app-master" and copy the content to our /usr/share/grafana/public/app/plugins/datasource/ folder but in the frontend, when we go to configure the plugin, a banner is showed with the message: "GET /public/plugins/alexanderzobnin-zabbix-app/graphite/module.js HTTP/1.1" 404 Not Found "

                  Where is configured to look for this folder?

                  Thanks a lot!
                  Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

                  http://zabbixes.wordpress.com/

                  Comment

                  • SBO
                    Zabbix Certified Specialist
                    Zabbix Certified Specialist
                    • Sep 2015
                    • 226

                    #39
                    Hi angel,

                    I'm assuming you've upgraded to Grafana 3 ? (Stable has been released today)

                    If so, you can install the plugins through the command line, using grafana-cli

                    This command allows you to download and install plugins.
                    In your case, as you don't have a direct access to the internet, you can proceed like this :
                    - Download the plugin from github (https://github.com/alexanderzobnin/g...g/v3.0.0-beta2)
                    - Transfer the archive on your server, in your home directory, and untar the file.
                    - In it, you'll have a ~/grafana-zabbix-3.0.0-beta2/src directory. Move it to /var/lib/grafana/plugins and rename the src dir to alexanderzobnin-zabbix-app
                    - Type : grafana-cli plugins install alexanderzobnin-zabbix-app

                    That should do the trick.
                    I wrote this without doing it on my side, if it doesn't work, just tell me and I'll have a look on my lab, but that's how I did it on my side, on our prod servers in DMZ with no internet access.

                    Comment

                    • alexanderzobnin
                      Junior Member
                      • Jul 2015
                      • 23

                      #40
                      Hi, angelhc. Just put content of grafana-zabbix-app into /var/lib/grafana/plugins directory (it's default plugin directory in grafana 3.0) and restart grafana-server.

                      Comment

                      • angelhc
                        Senior Member
                        Zabbix Certified Specialist
                        • Nov 2009
                        • 226

                        #41
                        Sorry for this but I forget to tell you that is an upgrade from 2.0.2 to 3.0 and adding the grafana-zabbix plugin

                        Our 2.0.2 installation have all the plugins on /usr/share/grafana/public/app/plugins/datasource/ but newest release try to search on /var/lib/grafana/plugins, If I try to change on /etc/grafana.ini with:
                        [plugins]
                        path = /usr/share/grafana/public/app/plugins/datasource/

                        The log shows errors about the duplicate entries of plugins...

                        Now I'm thinks that the best way to have 3.0 with grafana-zabbix is to export all the dashboards we have made on this year and make a clear installation from zero with 3.0. After that import all the dashboards

                        Do you think there's another way keeping in mind the paths problems?

                        Thanks!
                        Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

                        http://zabbixes.wordpress.com/

                        Comment

                        • alexanderzobnin
                          Junior Member
                          • Jul 2015
                          • 23

                          #42
                          In 3.0 you can't use app/plugins directory. For upgrading from 2.0 make grafana database backup (/var/lib/grafana/grafana.db), upgrade Grafana to 3.0, install plugin and restart grafana server. I include dashboard migrator into new plugin version, so old dashboards must work. Read more about grafana-zabbix 3.0 installation and configuration in docs: http://docs.grafana-zabbix.org/installation/

                          Comment

                          • angelhc
                            Senior Member
                            Zabbix Certified Specialist
                            • Nov 2009
                            • 226

                            #43
                            YEAH!!! So good!
                            Thanks to alexanderzobnin and SBO it's runnign perfect!
                            Thank you all.
                            P.D. New grafana is awsome, a lot of new usefull features are deployed on this new version.
                            Regards.
                            Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

                            http://zabbixes.wordpress.com/

                            Comment

                            • DaveFaught
                              Junior Member
                              • Apr 2016
                              • 7

                              #44
                              I am running Zabbix 3.0, looking for a specific kind of report. I have installed Grafana 3.0 with the Zabbix plugin in the hopes that it will help. So far, I have a couple of test dashboards that give me parts of what I am looking for but not the report I am looking for.

                              In Zabbix I have a number of SNMP devices that are all routers and switches, so they have many interfaces and not too much else. I would like to have a table report for a specific (variable) host that shows all the interfaces in the left column and several other statistics in the other columns like input traffic, output traffic, input errors.

                              Can anyone steer me in the right direction to accomplish this?

                              Thanks for any help.
                              Dave

                              Comment

                              • lobiDA
                                Junior Member
                                • Jul 2016
                                • 19

                                #45
                                Having a similar problem. See screenshot below.

                                I tried various combinations and can't get it to work. Followed the installation process as per docs.grafana-zabbix.org. Can't get the data source to add.

                                Please help!

                                Comment

                                Working...