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. Feature Requests
  3. Any issues with including NetData on the root server and as an app add-on?

Any issues with including NetData on the root server and as an app add-on?

Scheduled Pinned Locked Moved Feature Requests
70 Posts 12 Posters 15.4k Views 11 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.
  • C cvachery

    Hello @girish,
    Any chance you had time to have a look a this?

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #50

    @cvachery not yet, but it's on our list.

    1 Reply Last reply
    0
    • C cvachery

      I've had some time this week to work on this topic. So here is where I am at the moment.
      I packaged an app for cloudron, it does seem to be working properly. (I let you guys have a look/test as it is my first try at packaging for cloudron)

      The only thing I can't get to work is the streaming part. (eg a child node stream to my cloudron node which is a parent), my best guess is that the reverse proxy used by cloudron doesn't send the tcp stream to the container but only http. But I don't know how to configure/fix that.

      The netdata configuration file is in /app/data/etc so to set up streaming you can add a file stream.conf using the file explorer and restart the app

      Infos I can give :
      Command used to install : cloudron install --image cvachery/netdata-app:v1.44.1
      Github : https://github.com/aylham/cloudron-netdata
      Docker image : docker pull cvachery/netdata-app:v1.44.1
      Netdata doc on how to setup streaming : https://learn.netdata.cloud/docs/streaming/understanding-how-streaming-works#enable-streaming-between-nodes

      KubernetesK Offline
      KubernetesK Offline
      Kubernetes
      App Dev
      wrote on last edited by
      #51

      @cvachery said in Any issues with including NetData on the root server and as an app add-on?:

      Infos I can give :
      Command used to install : cloudron install --image cvachery/netdata-app:v1.44.1
      Github : https://github.com/aylham/cloudron-netdata
      Docker image : docker pull cvachery/netdata-app:v1.44.1
      Netdata doc on how to setup streaming : https://learn.netdata.cloud/docs/streaming/understanding-how-streaming-works#enable-streaming-between-nodes

      Do you provide the CloudronManifest.json somwhere?

      girishG 1 Reply Last reply
      2
      • KubernetesK Kubernetes

        @cvachery said in Any issues with including NetData on the root server and as an app add-on?:

        Infos I can give :
        Command used to install : cloudron install --image cvachery/netdata-app:v1.44.1
        Github : https://github.com/aylham/cloudron-netdata
        Docker image : docker pull cvachery/netdata-app:v1.44.1
        Netdata doc on how to setup streaming : https://learn.netdata.cloud/docs/streaming/understanding-how-streaming-works#enable-streaming-between-nodes

        Do you provide the CloudronManifest.json somwhere?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #52

        @Kubernetes it's in the repo at https://github.com/aylham/cloudron-netdata

        1 Reply Last reply
        2
        • C Offline
          C Offline
          cvachery
          wrote on last edited by
          #53

          And hopefully it will do the job.
          I use my package as a parent node since I released it without any issue but more usage will be helpful

          1 Reply Last reply
          1
          • D Offline
            D Offline
            d1rk
            wrote on last edited by
            #54

            Sounds promising. Can someone please share how to install this app on my Cloudron? Thank you.

            LanhildL 1 Reply Last reply
            0
            • D d1rk

              Sounds promising. Can someone please share how to install this app on my Cloudron? Thank you.

              LanhildL Offline
              LanhildL Offline
              Lanhild
              App Dev
              wrote on last edited by Lanhild
              #55

              @d1rk This application package not being officially supported by the team, it means you'd need to follow the instructions from that package repo. However, you could use https://docs.cloudron.io/packaging/tutorial/ as an example of what installing a custom application looks like.

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cvachery
                wrote on last edited by
                #56

                After to be honest I'm encountering an issue that is the backups aren't working for some reason.
                Does someone who installed my package have this issue too. Or is it just from my install?

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

                  @cvachery this might be a general Cloudron backup issue. Does netdata create a lot of temporary files? If possible, change the directory where it changes those files to be outside the backup (like in /run or /tmp). A fix from the Cloudron side is coming (it's a bit complicated since we have to rewrite/replace a node module).

                  1 Reply Last reply
                  1
                  • C Offline
                    C Offline
                    cvachery
                    wrote on last edited by
                    #58

                    After update and reboot of the Cloudron backup seems to be working OK now. So probably the bug you said on Cloudron side.

                    What would be the next steps to integrate it directly into Cloudron AppStore?

                    girishG 1 Reply Last reply
                    0
                    • C cvachery

                      After update and reboot of the Cloudron backup seems to be working OK now. So probably the bug you said on Cloudron side.

                      What would be the next steps to integrate it directly into Cloudron AppStore?

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #59

                      @cvachery said in Any issues with including NetData on the root server and as an app add-on?:

                      What would be the next steps to integrate it directly into Cloudron AppStore?

                      this is only blocked by us 😕 we have a bunch of requirements for packages like having tests etc. So, each package takes time to get polished. If you are in the market for writing the tests, that will help speed things up definitely. But this is on top of the list for us (cc @vladimir-d )

                      C 1 Reply Last reply
                      2
                      • girishG girish

                        @cvachery said in Any issues with including NetData on the root server and as an app add-on?:

                        What would be the next steps to integrate it directly into Cloudron AppStore?

                        this is only blocked by us 😕 we have a bunch of requirements for packages like having tests etc. So, each package takes time to get polished. If you are in the market for writing the tests, that will help speed things up definitely. But this is on top of the list for us (cc @vladimir-d )

                        C Offline
                        C Offline
                        cvachery
                        wrote on last edited by
                        #60

                        @girish Depending of the tests I can have a look and maybe give it a try if that can help you

                        1 Reply Last reply
                        2
                        • C Offline
                          C Offline
                          cvachery
                          wrote on last edited by
                          #61

                          Just to let you know that I updated my package to add the sendmail package (to enable email notification) and bump the upstream version to 1.44.3

                          1 Reply Last reply
                          3
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by girish
                            #62

                            @cvachery In your package, do you see the (cloud) Login button on the top right after one logs in with ProxyAuth ?

                            1 Reply Last reply
                            0
                            • C Offline
                              C Offline
                              cvachery
                              wrote on last edited by
                              #63

                              Yes I do, I did not succeed to get rid of all the cloud bits and pieces as it is pretty much all over the software here and there.
                              I tried this doc but was unsuccessful

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

                                @cvachery ok, thanks. The whole thing is quite confusing because you see the Login button after logging in 😕

                                1 Reply Last reply
                                0
                                • C Offline
                                  C Offline
                                  cvachery
                                  wrote on last edited by
                                  #65

                                  I know but that's because the cloudron login is just the proxyauth but that login button is for the cloud. There is no auth by default to access to webui (hence why I use the proxy auth)
                                  The whole netdata UX is made to make you move to the cloud 😞
                                  Trying to clean that button (bumping to 1.45.0 at the same time)

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

                                    @cvachery I am trying to get the netdata package out at https://git.cloudron.io/cloudron/netdata-app/ . Just comparing yours and the one that @vladimir-d has. Will make an unstable, but the netdata UX is not ideal, hmm.

                                    1 Reply Last reply
                                    1
                                    • nebulonN Offline
                                      nebulonN Offline
                                      nebulon
                                      Staff
                                      wrote on last edited by
                                      #67

                                      Just tried the current state of this package and mostly this seems to work. There is a ton of graphs and all, no clue who needs all this, but looks good for sure.

                                      Before we get this out, can anyone here answer how this works in terms of public/private pages? By default all metrics are public and one can only hide them when logging into their https://app.netdata.cloud offering and binding that to the self-hosted one. Although actually https://app.netdata.cloud is essentially the same as the self-hosted. Further status links point to the upstream offering. All in all this looks a bit like the selfhosting is just an afterthought, but maybe I am mistaken, so anyone with more clarity on this, please shed some light on the topic.

                                      imc67I 1 Reply Last reply
                                      1
                                      • nebulonN nebulon

                                        Just tried the current state of this package and mostly this seems to work. There is a ton of graphs and all, no clue who needs all this, but looks good for sure.

                                        Before we get this out, can anyone here answer how this works in terms of public/private pages? By default all metrics are public and one can only hide them when logging into their https://app.netdata.cloud offering and binding that to the self-hosted one. Although actually https://app.netdata.cloud is essentially the same as the self-hosted. Further status links point to the upstream offering. All in all this looks a bit like the selfhosting is just an afterthought, but maybe I am mistaken, so anyone with more clarity on this, please shed some light on the topic.

                                        imc67I Offline
                                        imc67I Offline
                                        imc67
                                        translator
                                        wrote on last edited by imc67
                                        #68

                                        @nebulon https://forum.cloudron.io/post/85552

                                        as far as I know the agents have a GUI unsecured, but when installing on Cloudron you can App proxy them to secure. Then you can default "connect" them to the Netdata Cloud or change the config to "connect" them to your own central Agent that is "collecting" the data streams from itself and the connected agents.

                                        1 Reply Last reply
                                        0
                                        • nebulonN Offline
                                          nebulonN Offline
                                          nebulon
                                          Staff
                                          wrote on last edited by
                                          #69

                                          So the app is itself a dashboard and with a default node? How will authenticating other nodes into the app work, if it is proxied via the Cloudron proxy?

                                          1 Reply Last reply
                                          0
                                          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