XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Netdata package is now available in XCP-ng

    Scheduled Pinned Locked Moved News
    131 Posts 25 Posters 193.8k Views 14 Watching
    Loading More Posts
    • 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.
    • olivierlambertO
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Yes, it should 🙂

      1 Reply Last reply
      Reply Quote 0
      • M
        mike
        last edited by

        Well, that sort-of worked, but it doesn't copy over any registration info, and my boss with the premium enabled login is off till Monday. Glad I didn't delete the old appliance!

        1 Reply Last reply
        Reply Quote 0
        • olivierlambertO
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          You indeed need to re-register the appliance, with the same creds.

          1 Reply Last reply
          Reply Quote 0
          • M
            mike
            last edited by

            Quick post to report that it worked, thanks. 🙂

            1 Reply Last reply
            Reply Quote 2
            • olivierlambertO
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Thanks for the feedback 🙂

              1 Reply Last reply
              Reply Quote 0
              • K
                kevdog
                last edited by

                I know this topic is quite old but I thought I might add a point here to installing Netdata manually.

                Installing Netdata manually
                If you want to do it your way, no problem 🙂 Just run yum install netdata-ui on each host you want to monitor and that's it. You can just go on http://host_address:19999 and enjoy all the metrics.

                These instructions are correct however at least for me in the xcp-ng 8.0 release there is an active firewall in place. You'll need to open the port 19999 within iptables. The config file for iptables is /etc/sysconfig/iptables. Edit the file to open the port and try to be as restrictive if possible possible filtering by source port. Restart the firewall service:

                systemctl restart iptables.service

                Access can be further restricted as well within the netdata setup as documented here: https://docs.netdata.cloud/web/server/. You can setup psuedo access-control-lists and even add SSL certs if necessary.

                1 Reply Last reply
                Reply Quote 0
                • stormiS
                  stormi Vates 🪐 XCP-ng Team
                  last edited by

                  The netdata-ui package automatically opens the 19999 port. It didn't work for you? Any error message during installation?

                  C K 2 Replies Last reply
                  Reply Quote 0
                  • C
                    cmuzyunda @stormi
                    last edited by

                    @stormi said in Netdata package is now available in XCP-ng:

                    netdata-ui

                    It does but it's too open, so ones can decide to edit this rule and restrict it further

                    NETDATA all -- anywhere anywhere

                    1 Reply Last reply
                    Reply Quote 0
                    • K
                      kevdog @stormi
                      last edited by

                      @stormi

                      I'll try to install package again manually once I upgrade to 8.1. Unfortunately for me on 8.0 the firewall port wasn't opened. I'll report once I upgrade.

                      1 Reply Last reply
                      Reply Quote 0
                      • stormiS
                        stormi Vates 🪐 XCP-ng Team
                        last edited by

                        It may fail to open the port if there are local changes to iptables rules.

                        1 Reply Last reply
                        Reply Quote 0
                        • M
                          MrMike
                          last edited by

                          Hi,

                          Would pulling the latest version of netdata into each host break anything?
                          ie running from the cli: bash <(curl -Ss https://my-netdata.io/kickstart.sh)

                          1 Reply Last reply
                          Reply Quote 1
                          • stormiS
                            stormi Vates 🪐 XCP-ng Team
                            last edited by

                            Despite being not supported as any dom0 modification, it would probably not include Xen support.

                            1 Reply Last reply
                            Reply Quote 1
                            • olivierlambertO
                              olivierlambert Vates 🪐 Co-Founder CEO
                              last edited by

                              @MrMike please use our packages

                              1 Reply Last reply
                              Reply Quote 1
                              • M
                                MrMike
                                last edited by

                                Just being curious, your packages, they use a private registry on the xoa server itself?

                                1 Reply Last reply
                                Reply Quote 0
                                • stormiS
                                  stormi Vates 🪐 XCP-ng Team
                                  last edited by stormi

                                  All RPMs are installed from our public repositories, if that's the question.

                                  • Using XOA to install netdata will install the netdata package to XCP-ng and configure it to stream towards XOA's netdata.
                                  • Or, yum install netdata-ui on XCP-ng will get you a working netdata with default settings and will open port 19999
                                  1 Reply Last reply
                                  Reply Quote 0
                                  • M
                                    MrMike
                                    last edited by

                                    I meant about the how netdata centralizes the nodes information on xoa host:
                                    is this how the xoa plugin/packages was configured?
                                    https://learn.netdata.cloud/docs/agent/registry/#run-your-own-registry

                                    nraynaudN 1 Reply Last reply
                                    Reply Quote 0
                                    • stormiS
                                      stormi Vates 🪐 XCP-ng Team
                                      last edited by

                                      Ping @nraynaud

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • olivierlambertO
                                        olivierlambert Vates 🪐 Co-Founder CEO
                                        last edited by

                                        It's using Netdata streaming. Please read Netdata documentation.

                                        1 Reply Last reply
                                        Reply Quote 1
                                        • nraynaudN
                                          nraynaud XCP-ng Team @MrMike
                                          last edited by

                                          @MrMike Hi, The netdata on the hosts is configured to stream towards the Xen Orchestra VM when activated from there.

                                          Nicolas.

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • M
                                            MrMike
                                            last edited by

                                            yea, that's exactly what I was wondering. I'm curious how it was done. I was thinking of doing something similar for my ELK cluster and a few other systems.

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post