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. App Wishlist
  3. netdata - real-time monitoring

netdata - real-time monitoring

Scheduled Pinned Locked Moved App Wishlist
40 Posts 12 Posters 5.4k Views 16 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 Offline
    C Offline
    cvachery
    wrote on last edited by
    #15

    I think what they mean by that is that by default the WebUI is enabled on port 19999.
    You can not add an authentification directly on the agent, on thedoc here they don't talk about Enterprise Agent on this page

    1 Reply Last reply
    0
    • girishG girish

      @imc67 @marcusquinn are you still using netdata? If so, are you using the selfhosted dashboard or the dashboard in the cloud ?

      Also, in the demo that marcus linked, it says "Your Agents are open by default. Secure them easily with Netdata Enterprise Agent." at the top. What does this mean? I thought agents are reporting something and you cannot query agents. Why are they open by default and can they only be secured with enterprise version?

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

      @girish I still use Netdata installed on all three Cloudron servers + 3 RPI's.

      On Cloudron I access them via AppProxy so they are secured. Then all the Agents are currently connected to the Netdata Cloud and I can see them all in one dashboard.

      I don't know what Enterprise Agent is?

      As far as I know agents are streaming data to the local webGUI or to the Netdata Cloud GUI.

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

        Thanks. I guess we need to educate people that the Login button logs into the cloud in the POSTINSTALL.

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

          Any update on the status of this app?

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

            @cvachery we have to revisit this. We got blocked by the possibly confusing Login button appearing on the top right after logging in. I guess we have to live with it?

            imc67I 1 Reply Last reply
            1
            • girishG girish

              @cvachery we have to revisit this. We got blocked by the possibly confusing Login button appearing on the top right after logging in. I guess we have to live with it?

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

              @girish I think a good instruction will do

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

                @girish I guess so at least for the moment, I've asked on their discord and Gitlab if there is a way to disable it but to no avail yet
                As @imc67 said I think good instruction will do especially as a first version. If I/we find a way to disable it later it could be added in an update.

                1 Reply Last reply
                0
                • S Online
                  S Online
                  simon
                  wrote on last edited by
                  #22

                  I would be delighted to see Netdata in Cloudron.
                  I have been using Netdata for many years now for about 50 servers.
                  My experience:
                  Netdata is a great tool for analysing the load on a machine, in real time or in the aftermath of a problem. Netdata itself is relatively resource-efficient.
                  Initially, I was irritated by the fact that the UI is very much geared towards using netdata.cloud. For example, there is a conspicuous "log in" button that takes you directly to the cloud (which has been payable for a few months now). Once you have registered the agent there, it is not so easy to get it out.
                  What is perhaps not so clear from the documentation is that the agent to be installed on the client can also act as a master and collect data from many clients. And completely without netdata.cloud.
                  As the Netdata UI is publicly accessible in the opensource version, protection via proxy is recommended, similar to https://learn.netdata.cloud/docs/netdata-agent/configuration/running-the-netdata-agent-behind-a-reverse-proxy/nginx

                  However, the question for me is in what context Netdata should be integrated into Cloudron. As an agent in the apps? As an agent on the host system? As a "monitoring master" app to monitor other servers/containers?

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

                    There is no difference between the agent and master, the binaries are the same.
                    I don't see the point to differentiate usage between master and agent only as it is only some configuration changes.
                    By default the agent monitor the Cloudron server, and if you add the correct configuration it then become a parent node centralizing all your other nodes

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

                      Still no decision taken about netdata @girish ?

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

                        @cvachery sorry, forgot to update here. We will publish it, haven't gotten around yet...

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

                          Litlle bump here to see where we are on that subject as it's been a while?

                          1 Reply Last reply
                          2
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by girish
                            #27

                            @cvachery there are a lot of issues in the app. Or maybe it's the package. I don't have enough working knowledge of netdata to understand where the fault lies.

                            Here's some issues:

                            • The login button is there on top right even after login. We were willing to look past this. https://github.com/netdata/netdata/issues/9362 is the issue upstream, I think.

                            • After you login, the app is continuously sending analytics data to some external service. There is no way to turn this off afaict.

                            image.png

                            • Creating a space fails because it is sending the request to Netdata Cloud again.

                            image.png

                            • To add a node, again it says go to cloud.

                            image.png

                            • To use functions, needs sign in and needs cloud.

                            image.png

                            So anyway, after all this, I bit the bullet and signed up at https://app.netdata.cloud/ because otherwise there is nothing much to do in the app. The app is the exact same in the cloud already.

                            image.png

                            I think we have to take a step back to understand what is the advantage and purpose of selfhosting this. Nothing is stored in the database and the local directories atleast. It's all stored in the cloud.

                            For me, the cloud sign up is OK (it's not Cloudron.io's decision to decide upstream app workflows). But it seem everything is stored in the cloud service , defeating the purpose of selfhosting. The app is basically just hosting a front end to the cloud. It's like the youtube/twitter frontends. Except unlike the "alternate" frontends, the one in cloud and one selfhosted is the exact same. This could all be a big misunderstanding from me...

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

                              I would also first try to better understand if this is more like a self-hosted node to provide data to a dashboard, which is mostly designed to run on the netdata saas cloud, or if the self-hosted dashboard is more a thing of the past. A bit like with what unifi/ubiquity did, where the locally run dashboard is more and more just the legacy product.

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

                                OK, reading more now, it seems that this could be an agent (I guess this is what @simon was saying/asking in https://forum.cloudron.io/post/86581). The agent has a dashboard but of course much of it is not working because the dashboard is being coded for the cloud service. Since Cloudron apps are sandboxed and don't have access to other containers/apps/server stuff, it cannot monitor correctly. Ideally, it needs connection to docker and also the SYS_PTRACE and SYS_ADMIN caps (per https://www.netdata.cloud/integrations/deploy/docker-kubernetes/docker/)

                                1 Reply Last reply
                                0
                                • fbartelsF Offline
                                  fbartelsF Offline
                                  fbartels
                                  App Dev
                                  wrote on last edited by fbartels
                                  #30

                                  For the telemetry stuff https://learn.netdata.cloud/docs/netdata-agent/configuration/anonymous-telemetry-events could be helpful.

                                  There is also a discussion I could find where they talk about disabling the links to the netdata cloud: https://community.netdata.cloud/t/disable-cloud-nags/2985

                                  1 Reply Last reply
                                  2
                                  • S Online
                                    S Online
                                    simon
                                    wrote on last edited by
                                    #31

                                    Yes exactly, that's what I described above. Everything goes to the Netdata cloud! This is very confusing at first. However, as I said, you can still run Netdata as a master node and then carry out the analysis for many agents in one place. However, I still use the old UI for this, which can be called up with monitoringmaster-example.com/v1/. Here you then have a sidebar and can call up the individual nodes. As I want to monitor individual servers and not a connected server farm, this exactly covers my use case.

                                    But back to the Cloudron use case.
                                    As mentioned above, I see two possibilities:

                                    1. the app is used to monitor the Cloudron server/hardware. That would already do a lot: Hard drive, ram etc. there is also a Docker plugin which provides various insights into the containers running on the machine.
                                    2. the use case described above: the app is a masternode and receives the metrics from child nodes (any web server). The advantage would be that you have the monitoring in one place and do not have to use the Netdata Cloud. Compared to a self-installation, another advantage would be that I could clarify the security (htpasswd?).
                                    girishG 1 Reply Last reply
                                    1
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #32

                                      @fbartels ah thanks for the link, I have fixed the package to disable the telemetry .

                                      1 Reply Last reply
                                      1
                                      • S simon

                                        Yes exactly, that's what I described above. Everything goes to the Netdata cloud! This is very confusing at first. However, as I said, you can still run Netdata as a master node and then carry out the analysis for many agents in one place. However, I still use the old UI for this, which can be called up with monitoringmaster-example.com/v1/. Here you then have a sidebar and can call up the individual nodes. As I want to monitor individual servers and not a connected server farm, this exactly covers my use case.

                                        But back to the Cloudron use case.
                                        As mentioned above, I see two possibilities:

                                        1. the app is used to monitor the Cloudron server/hardware. That would already do a lot: Hard drive, ram etc. there is also a Docker plugin which provides various insights into the containers running on the machine.
                                        2. the use case described above: the app is a masternode and receives the metrics from child nodes (any web server). The advantage would be that you have the monitoring in one place and do not have to use the Netdata Cloud. Compared to a self-installation, another advantage would be that I could clarify the security (htpasswd?).
                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by girish
                                        #33

                                        @simon yes, thanks for the clarification.

                                        About Option 2: from what I can tell, netdata appears to move away from the v1 dashboard. https://github.com/netdata/dashboard has marked it as deprecated . There is also no way to default to v1 (https://community.netdata.cloud/t/configure-netdata-to-use-the-old-dashboards-v1-by-default/4511) . It seems the workflow for a Cloudron user is install the app, ignore everything each time they visit the main app page and go through a specific URL to access deprecated software. Don't think we can maintain this as a package in the long run.

                                        Option 1: Netdata integration will be nice, agreed. I think this is also being discussed at https://forum.cloudron.io/topic/7858/any-issues-with-including-netdata-on-the-root-server-and-as-an-app-add-on/ . If we support that, it will more like an addon and not as an app though. We don't like apps that can access the host (JupyterHub is really the main exception here). Apps are self contained and containerized things that we can open to 3rd party and people can install without worrying much about consequences. Addons are the containers we develop and maintain as part of Cloudron itself. This is also why we don't have CI apps on Cloudron. We don't want apps to run random containers and access all the containers.

                                        S 1 Reply Last reply
                                        0
                                        • girishG girish

                                          @simon yes, thanks for the clarification.

                                          About Option 2: from what I can tell, netdata appears to move away from the v1 dashboard. https://github.com/netdata/dashboard has marked it as deprecated . There is also no way to default to v1 (https://community.netdata.cloud/t/configure-netdata-to-use-the-old-dashboards-v1-by-default/4511) . It seems the workflow for a Cloudron user is install the app, ignore everything each time they visit the main app page and go through a specific URL to access deprecated software. Don't think we can maintain this as a package in the long run.

                                          Option 1: Netdata integration will be nice, agreed. I think this is also being discussed at https://forum.cloudron.io/topic/7858/any-issues-with-including-netdata-on-the-root-server-and-as-an-app-add-on/ . If we support that, it will more like an addon and not as an app though. We don't like apps that can access the host (JupyterHub is really the main exception here). Apps are self contained and containerized things that we can open to 3rd party and people can install without worrying much about consequences. Addons are the containers we develop and maintain as part of Cloudron itself. This is also why we don't have CI apps on Cloudron. We don't want apps to run random containers and access all the containers.

                                          S Online
                                          S Online
                                          simon
                                          wrote on last edited by
                                          #34

                                          @girish

                                          I understand what you mean, basically these are exactly the points I suspected at the beginning.

                                          However, I probably expressed myself incorrectly in option 2. You can also operate a master with the current UI that displays all nodes together or individually. That's quite a lot! You get very detailed and precise information about what is currently running (or not) on a server. The alarms are also very helpful. You can manage them centrally with a central node. Hard disks or SWAP that are full, RAM problems and even DDos can be recognised.
                                          However, you have to live with the fact that the login button goes to the cloud and functions such as the war rooms only work there. This is somewhat confusing and could be unsatisfactory for Cloudron users.

                                          So my conclusion: this can make sense on Cloudron. It is a popular tool and, in my opinion, one of the best in the area of server monitoring. I would use the app.

                                          Option 1:
                                          you could of course also treat the Cloudron server as a child node. Then the app has no direct access to the host system. Simply install the agent normally on the shell and have the metrics delivered to a possible app (option 2). This would just be option 2 + two lines in the documentation.

                                          girishG 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