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 117.2k 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 Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      @Biggen I assume you used the manual install solution?

      @kevdog in XOA, it's automatically done because XO is acting as a reverse proxy. If you are installing it manually, please check the netdata doc: https://docs.netdata.cloud/web/server/#enabling-tls-support

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Biggen @olivierlambert
        last edited by

        @olivierlambert That is correct. Latest xcp-ng patches applied. Worked fine until I rebooted host. Now it looks like this:

        graph.png

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

          Double check the service is enabled 🙂

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            Biggen @olivierlambert
            last edited by

            @olivierlambert Yeah it works on other graphs just fine. Just my VM graphs are the messed up ones.

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

              Hmm, what am I doing wrong here? I've just upgraded my pool to 8.0, fully patched, and running Premium XOA, but I'm getting the "Netdata plugin is necessary" message. 🤔

              I even tried changing from the stable channel to latest but it's made no difference. Do I need to re-deploy? (I assume I can just download the config and re-apply it to a fresh instance).

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD Online
                Danp Pro Support Team @mike
                last edited by

                @mike Check under Settings > Plugins to be sure the Netdata plugin is active.

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

                  @mike Is your XOA recent?

                  T 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mike @Danp
                    last edited by

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

                    @mike Check under Settings > Plugins to be sure the Netdata plugin is active.

                    I was about to 🤦 because no it wasn't, but attempting to enable it generates the error: Netdata is not available on this appliance, please deploy a new one.

                    I guess that answers that! The XOA instance was first installed maybe 18 months ago, so I'm back to my initial question re: backing up the config and importing to a new XOA. Does that keep all of the backup-ng history etc intact?

                    Thanks all, and happy new year etc. 🙂

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

                      Yes, it should 🙂

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        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 Offline
                          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 Offline
                            mike
                            last edited by

                            Quick post to report that it worked, thanks. 🙂

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

                              Thanks for the feedback 🙂

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                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 Online
                                  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 Offline
                                    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 Offline
                                      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 Online
                                        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 Offline
                                          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 Online
                                            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
                                            • First post
                                              Last post