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

    Netdata plugin

    Scheduled Pinned Locked Moved Xen Orchestra
    12 Posts 2 Posters 1.1k Views 2 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.
    • robytR Offline
      robyt @olivierlambert
      last edited by

      @olivierlambert xoa, Current version: 5.75.0, release channel latest

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

        With XOA, you don't need to install it manually in your hosts, you need to click on the button in the host view (the button will do the install for you).

        robytR 1 Reply Last reply Reply Quote 0
        • robytR Offline
          robyt @olivierlambert
          last edited by

          @olivierlambert the button is disabled (before and after yum install)
          I tried to install with yum for this

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

            Can you do this on the target host:

            xe host-call-plugin host-uuid=<host UUID> plugin=netdata.py fn=is_netdata_installed
            

            Also, check if the netdata service is started with a systemctl status netdata

            robytR 1 Reply Last reply Reply Quote 0
            • robytR Offline
              robyt @olivierlambert
              last edited by olivierlambert

              @olivierlambert

              xe host-call-plugin host-uuid=b07c6507-2d95-4bc0-b025-c458a3245db4  plugin=netdata.py fn=is_netdata_installed
              true
              
              systemctl status netdata
              * netdata.service - Real time performance monitoring
                 Loaded: loaded (/usr/lib/systemd/system/netdata.service; disabled; vendor preset: disabled)
                 Active: active (running) since lun 2022-10-17 10:49:19 CEST; 40min ago
                Process: 8602 ExecStartPre=/usr/libexec/netdata/xcpng-iptables-restore.sh (code=exited, status=0/SUCCESS)
                Process: 8599 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS)
                Process: 8596 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS)
                Process: 8592 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
                Process: 8590 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
               Main PID: 8613 (netdata)
                 CGroup: /system.slice/netdata.service
                         |-8613 /usr/sbin/netdata -P /var/run/netdata/netdata.pid -D -W set global process scheduling policy keep -W set global OOM score keep
                         |-8648 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
                         |-8651 /usr/libexec/netdata/plugins.d/apps.plugin 1
                         |-8652 /usr/libexec/netdata/plugins.d/xenstat.plugin 1
                         |-8653 /usr/libexec/netdata/plugins.d/go.d.plugin 1
                         |-8660 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1
                         |-8663 /usr/libexec/netdata/plugins.d/freeipmi.plugin 1
              
              
              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Okay, so that's good. Can you check if you have a streaming configuration in your netdata folder?

                robytR 1 Reply Last reply Reply Quote 0
                • robytR Offline
                  robyt @olivierlambert
                  last edited by robyt

                  @olivierlambert eh.. where i may see?
                  is /usr/lib/netdata/conf.d/stream.conf ?
                  [stream]
                  # Enable this on slaves, to have them send metrics.
                  enabled = no

                  If i point browser to server:19999 i see the data (without authentication...), netdata work.

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

                    Okay so Netdata seems to work, but XO can't see that for some reason 🤔

                    robytR 1 Reply Last reply Reply Quote 0
                    • robytR Offline
                      robyt @olivierlambert
                      last edited by

                      @olivierlambert where i can see?

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

                        That would be nice if you open a support ticket with a support tunnel so we can take a look remotely 🙂

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