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 106.0k 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.
    • P Offline
      Professor-X-Tech @stormi
      last edited by Professor-X-Tech

      @stormi

      Edit:
      Thank you! Got it working and looking good.

      Troubleshooting non related to Netdata.
      I remember I change my upstream DNS to Quad 9 recently (1 week ago) and I just change it to Cloudflair (1.1.1.1) and it was the problem.

      Look like Quad 9 (9.9.9.9) does not like the Mirrors for some reason.

      1 Reply Last reply Reply Quote 0
      • D Offline
        discostur
        last edited by

        @olivierlambert Just installed netdata package on our xcp-ng cluster. Its running like expected but i can only get ram / memory metrics from the dom0. Is there any way to get the full ram metrics from all VMs / host?

        Thanks

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

          As far as I know, they should be available. I/O metrics aren't at the moment, but RAM should be.

          1 Reply Last reply Reply Quote 0
          • D Offline
            discostur
            last edited by

            @stormi Could it be that there is any difference between the "netdata-ui" rpm package you provide and the official netdata rpm packages?

            netdata-conf-1.23.2-1.el7.noarch
            netdata-data-1.23.2-1.el7.noarch
            netdata-1.23.2-1.el7.x86_64
            

            Or could it be that it's related to XCP-NG 7.x? Because our cluster is still running 7.x ...

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

              There definitly is. Ours is built with xen support. You seem to have enabled CentOS and/or EPEL repositories on your host, which is not recommended.

              See https://xcp-ng.org/docs/additionalpackages.html

              1 Reply Last reply Reply Quote 0
              • R Offline
                razvanp
                last edited by

                Still getting this pesky "Netdata is not available on this appliance, please deploy a new one" after updating from the 'latest' channel.
                Config is: XOA Premium Trial
                --- XCP-ng 8.1.0-2
                --- XOA Current version: 5.51.1 - XOA build: 20200627

                • node: 12.18.2
                • npm: 4.6.1
                • xen-orchestra-upload-ova: 0.1.3
                • xo-cli-premium: 0.11.0
                • xo-server: 5.68.0
                • xo-server-audit-premium: 0.8.0
                • xo-server-auth-github-premium: 0.2.2
                • xo-server-auth-google-premium: 0.2.2
                • xo-server-auth-ldap-premium: 0.9.0
                • xo-server-auth-saml-premium: 0.8.0
                • xo-server-backup-reports-premium: 0.16.7
                • xo-server-load-balancer-premium: 0.3.3
                • xo-server-netdata-premium: 0.1.1
                • xo-server-perf-alert-premium: 0.2.3
                • xo-server-sdn-controller-premium: 1.0.4
                • xo-server-telemetry: 0.3.0
                • xo-server-transport-email-premium: 0.5.0
                • xo-server-transport-icinga2-premium: 0.1.1
                • xo-server-transport-nagios-premium: 0.1.1
                • xo-server-transport-slack-premium: 0.0.0
                • xo-server-transport-xmpp-premium: 0.1.1
                • xo-server-usage-report-premium: 0.9.0
                • xo-server-web-hooks-premium: 0.1.1
                • xo-server-xoa: 0.10.0
                • xo-web-premium: 5.72.0
                • xoa-cli: 0.21.1
                • xoa-updater: 0.31.0

                When I try to activate the Netdata plugin I get the error "Netdata is not available on this appliance, please deploy a new one". This is a fresh installation, but I did go to the web site and repeated the XOA deployment... and upgrade, reregister, etc., even though it made no sense to me. The result was the same error.

                What am I missing? 🙂
                Best,
                Razvan

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

                  Maybe a bug in the appliance. Can you open a support ticket and a tunnel so we can take a look?

                  1 Reply Last reply Reply Quote 0
                  • LunarstarPonyL Offline
                    LunarstarPony
                    last edited by

                    I've got 2 hosts, Trying to install via XOA One of em works fine but the other one having this Error

                    Installation error
                    The installer could not prepare the required dependencies to enable Netdata Cloud functionality

                    and when I tried to connect by changing the URL this shows up
                    This netdata does not maintain a database for host: xcp-ng-ksu-backup

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

                      Check if netdata is running in your dom0 🙂

                      LunarstarPonyL 1 Reply Last reply Reply Quote 0
                      • LunarstarPonyL Offline
                        LunarstarPony @olivierlambert
                        last edited by

                        @olivierlambert

                        Any idea how?
                        Or what's the command to check that?

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

                          If it runs, there's a netdata service that should be up

                          LunarstarPonyL 1 Reply Last reply Reply Quote 0
                          • LunarstarPonyL Offline
                            LunarstarPony @olivierlambert
                            last edited by

                            @olivierlambert Hmmm How can I check that?

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

                              It should be a systemd service IIRC, so systemctl status netdata

                              LunarstarPonyL 1 Reply Last reply Reply Quote 0
                              • LunarstarPonyL Offline
                                LunarstarPony @olivierlambert
                                last edited by olivierlambert

                                @olivierlambert

                                netdata.service - Real time performance monitoring
                                   Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; vendor preset: disabled)
                                   Active: active (running) since Wed 2021-05-05 14:57:09 CST; 1h 27min ago
                                  Process: 1620 ExecStartPre=/usr/libexec/netdata/xcpng-iptables-restore.sh (code=exited, status=0/SUCCESS)
                                  Process: 1617 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS)
                                  Process: 1612 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS)
                                  Process: 1608 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
                                  Process: 1604 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
                                 Main PID: 1625 (netdata)
                                   CGroup: /system.slice/netdata.service
                                           ├─ 1625 /usr/sbin/netdata -P /var/run/netdata/netdata.pid -D -W set global process scheduling policy keep -W set global OOM score keep
                                           ├─ 1658 /usr/libexec/netdata/plugins.d/go.d.plugin 1
                                           ├─ 1659 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1
                                           ├─ 1661 /usr/libexec/netdata/plugins.d/xenstat.plugin 1
                                           ├─ 1663 /usr/libexec/netdata/plugins.d/freeipmi.plugin 1
                                           ├─ 1684 /usr/libexec/netdata/plugins.d/apps.plugin 1
                                           └─16285 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
                                

                                It seems working

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

                                  Then check if it's streaming correctly to the target 🙂

                                  LunarstarPonyL 1 Reply Last reply Reply Quote 0
                                  • LunarstarPonyL Offline
                                    LunarstarPony @olivierlambert
                                    last edited by LunarstarPony

                                    @olivierlambert
                                    BTW Will Changing Hostname on the server break this?
                                    I just change it's hostname recently

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

                                      Yes it's probably that.

                                      LunarstarPonyL 1 Reply Last reply Reply Quote 0
                                      • LunarstarPonyL Offline
                                        LunarstarPony @olivierlambert
                                        last edited by

                                        @olivierlambert
                                        Well Anyway to fix it or reinstall it?

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

                                          You should take a look in the netdata config on your host and check if it's streaming to the right XOA, check Netdata logs and so on.

                                          LunarstarPonyL 1 Reply Last reply Reply Quote 0
                                          • LunarstarPonyL Offline
                                            LunarstarPony @olivierlambert
                                            last edited by

                                            @olivierlambert Any idea where's the netdata config file location?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post