Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Grafana
  3. Zabbix Plugin not found

Zabbix Plugin not found

Scheduled Pinned Locked Moved Solved Grafana
12 Posts 3 Posters 2.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lanklan
    wrote on last edited by
    #1

    Hi,

    I've installed on command line Zabbix plugin for Grafana :

    root@cedbd53a-9fa8-4170-9842-021ef156d91a:/app/code# /app/code/bin/grafana-cli -homepath /app/code -config /run/grafana/custom.ini plugins install alexanderzobnin-zabbix-app
    Deprecation warning: The standalone 'grafana-cli' program is deprecated and will be removed in the future. Please update all uses of 'grafana-cli' to 'grafana cli'
    ✔ Downloaded and extracted alexanderzobnin-zabbix-app v4.4.3 zip successfully to /app/data/plugins/alexanderzobnin-zabbix-app
    
    Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
    

    After restarting Grafana, Instance etc ... I don't find Zabbix plugin on Grafana, is it normal ?

    Capture d’écran 2023-11-02 à 14.32.26.png

    1 Reply Last reply
    0
    • nebulonN nebulon marked this topic as a question on
    • L Offline
      L Offline
      Lanklan
      wrote on last edited by Lanklan
      #2

      Seems there is some problems with file system on too .. :

      root@cedbd53a-9fa8-4170-9842-021ef156d91a:/app/code# /app/code/bin/grafana-server restart 
      Deprecation warning: The standalone 'grafana-server' program is deprecated and will be removed in the future. Please update all uses of 'grafana-server' to 'grafana server'
      Grafana server is running with elevated privileges. This is not recommended
      INFO [11-02|16:51:30] Starting Grafana                         logger=settings version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z
      INFO [11-02|16:51:30] Config loaded from                       logger=settings file=/app/code/conf/defaults.ini
      INFO [11-02|16:51:30] Target                                   logger=settings target=[all]
      INFO [11-02|16:51:30] Path Home                                logger=settings path=/app/code
      INFO [11-02|16:51:30] Path Data                                logger=settings path=/app/code/data
      INFO [11-02|16:51:30] Path Logs                                logger=settings path=/app/code/data/log
      INFO [11-02|16:51:30] Path Plugins                             logger=settings path=/app/code/data/plugins
      INFO [11-02|16:51:30] Path Provisioning                        logger=settings path=/app/code/conf/provisioning
      INFO [11-02|16:51:30] App mode production                      logger=settings
      Error: ✗ failed to connect to database: mkdir /app/code/data: read-only file system
      

      Or other problem :

      Error: ✗ failed to connect to database: failed to create SQLite database file "/app/code/data/grafana.db": open /app/code/data/grafana.db: read-only file system
      
      1 Reply Last reply
      0
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        Since you can't write to /app/code, I think the homepath needs to be somewhere in /app/data

        Conscious tech

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Lanklan
          wrote on last edited by
          #4

          Already tried like this :

          root@20557ab0-2211-4f08-ba65-50cd798cbc3a:/app/code# /app/code/bin/grafana-cli -homepath /app/data/plugins/ -config /run/grafana/custom.ini plugins install alexanderzobnin-zabbix-app
          Deprecation warning: The standalone 'grafana-cli' program is deprecated and will be removed in the future. Please update all uses of 'grafana-cli' to 'grafana cli'
          ✔ Downloaded and extracted alexanderzobnin-zabbix-app v4.4.3 zip successfully to /app/data/plugins/alexanderzobnin-zabbix-app
          
          Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
          
          root@20557ab0-2211-4f08-ba65-50cd798cbc3a:/app/code# /app/code/bin/grafana-server restart
          Deprecation warning: The standalone 'grafana-server' program is deprecated and will be removed in the future. Please update all uses of 'grafana-server' to 'grafana server'
          Grafana server is running with elevated privileges. This is not recommended
          INFO [11-02|20:46:41] Starting Grafana                         logger=settings version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z
          INFO [11-02|20:46:41] Config loaded from                       logger=settings file=/app/code/conf/defaults.ini
          INFO [11-02|20:46:41] Target                                   logger=settings target=[all]
          INFO [11-02|20:46:41] Path Home                                logger=settings path=/app/code
          INFO [11-02|20:46:41] Path Data                                logger=settings path=/app/code/data
          INFO [11-02|20:46:41] Path Logs                                logger=settings path=/app/code/data/log
          INFO [11-02|20:46:41] Path Plugins                             logger=settings path=/app/code/data/plugins
          INFO [11-02|20:46:41] Path Provisioning                        logger=settings path=/app/code/conf/provisioning
          INFO [11-02|20:46:41] App mode production                      logger=settings
          Error: ✗ failed to connect to database: mkdir /app/code/data: read-only file system
          
          1 Reply Last reply
          0
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #5

            run it from /app/data

            Conscious tech

            1 Reply Last reply
            0
            • L Offline
              L Offline
              Lanklan
              wrote on last edited by
              #6

              Unfortunatly no

              root@50389fd0-793a-4129-b11c-fa5cdeafb780:/app/code# /app/code/bin/grafana-cli -homepath /app/data -config /run/grafana/custom.ini plugins install alexanderzobnin-zabbix-app
              Deprecation warning: The standalone 'grafana-cli' program is deprecated and will be removed in the future. Please update all uses of 'grafana-cli' to 'grafana cli'
              ✔ Downloaded and extracted alexanderzobnin-zabbix-app v4.4.3 zip successfully to /app/data/plugins/alexanderzobnin-zabbix-app
              
              Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
                  
              root@50389fd0-793a-4129-b11c-fa5cdeafb780:/app/code# /app/code/bin/grafana-server restart
              Deprecation warning: The standalone 'grafana-server' program is deprecated and will be removed in the future. Please update all uses of 'grafana-server' to 'grafana server'
              Grafana server is running with elevated privileges. This is not recommended
              INFO [11-02|21:00:37] Starting Grafana                         logger=settings version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z
              INFO [11-02|21:00:37] Config loaded from                       logger=settings file=/app/code/conf/defaults.ini
              INFO [11-02|21:00:37] Target                                   logger=settings target=[all]
              INFO [11-02|21:00:37] Path Home                                logger=settings path=/app/code
              INFO [11-02|21:00:37] Path Data                                logger=settings path=/app/code/data
              INFO [11-02|21:00:37] Path Logs                                logger=settings path=/app/code/data/log
              INFO [11-02|21:00:37] Path Plugins                             logger=settings path=/app/code/data/plugins
              INFO [11-02|21:00:37] Path Provisioning                        logger=settings path=/app/code/conf/provisioning
              INFO [11-02|21:00:37] App mode production                      logger=settings
              Error: ✗ failed to connect to database: mkdir /app/code/data: read-only file system
              
              1 Reply Last reply
              0
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #7

                no..
                cd /app/data
                ...

                Conscious tech

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Lanklan
                  wrote on last edited by
                  #8

                  No ...
                  Same issue
                  ....

                  1 Reply Last reply
                  0
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #9

                    check env vars, as all these logger messages shouldn't be going to /app/code

                    otherwise wait for @staff to respond

                    Conscious tech

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @Lanklan to restart the app , go to repair tab of the app and click on the restart button.

                      image.png

                      After that, I can see zabbix:

                      image.png

                      L 1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #11

                        BTW, to use the CLI always use the command with the config and home paths. So, like /app/code/bin/grafana server -homepath /app/code -config /run/grafana/custom.ini

                        Also, the reason restart command didn't work is because there is no such command.

                        NAME:
                           grafana server - run the grafana server
                        
                        USAGE:
                           grafana server command [command options] [arguments...]
                        
                        COMMANDS:
                           target   target specific grafana dskit services
                           help, h  Shows a list of commands or help for one command
                        
                        ...
                        
                        
                        1 Reply Last reply
                        0
                        • girishG girish

                          @Lanklan to restart the app , go to repair tab of the app and click on the restart button.

                          image.png

                          After that, I can see zabbix:

                          image.png

                          L Offline
                          L Offline
                          Lanklan
                          wrote on last edited by
                          #12

                          @girish said in Zabbix Plugin not found:

                          @Lanklan to restart the app , go to repair tab of the app and click on the restart button.

                          image.png

                          After that, I can see zabbix:

                          image.png

                          Already done it but i don't know why it's appared after several restart !

                          1 Reply Last reply
                          1
                          • L Lanklan has marked this topic as solved on
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search