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

    XO logs to external syslog

    Scheduled Pinned Locked Moved Xen Orchestra
    15 Posts 5 Posters 2.1k Views 6 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.
    • julien-fJ Offline
      julien-f Vates 🪐 Co-Founder XO Team @lawrencesystems
      last edited by

      Hello,

      First of all, yes you can use udp:// instead of tcp:// 🙂

      If you have an XOA, can you open a support tunnel, this would allow me to investigate what's the issue it?

      lawrencesystemsL 1 Reply Last reply Reply Quote 0
      • lawrencesystemsL Offline
        lawrencesystems Ambassador @julien-f
        last edited by

        @julien-f Yes, should I DM you the support number?

        julien-fJ 1 Reply Last reply Reply Quote 0
        • julien-fJ Offline
          julien-f Vates 🪐 Co-Founder XO Team @lawrencesystems
          last edited by

          @lawrencesystems Yes please 🙂

          (You can even write it here if you want, only support team can access them).

          lawrencesystemsL 1 Reply Last reply Reply Quote 0
          • lawrencesystemsL Offline
            lawrencesystems Ambassador @julien-f
            last edited by

            @julien-f
            Tunnel support # is 44423

            julien-fJ 1 Reply Last reply Reply Quote 0
            • julien-fJ Offline
              julien-f Vates 🪐 Co-Founder XO Team @lawrencesystems
              last edited by

              @lawrencesystems There was a typo in our blog post (and our sample config), the section should be logs.transport.syslog and not log.transport.syslog.

              Also, you should not change the config in xo-server's directory, only in /etc/xo-server/.

              I have fixed both issues for you, you only need to restart xo-server 🙂

              Keep me posted.

              lawrencesystemsL 1 Reply Last reply Reply Quote 0
              • lawrencesystemsL Offline
                lawrencesystems Ambassador @julien-f
                last edited by

                @julien-f
                I rebooted and I have tested both tcp:// and udp:// and it's not sending anything. Also checked using ss -t to and I don't see any TCP connection going to the logging server. Support # is 44423

                julien-fJ 1 Reply Last reply Reply Quote 0
                • julien-fJ Offline
                  julien-f Vates 🪐 Co-Founder XO Team @lawrencesystems
                  last edited by

                  @lawrencesystems There is a bug, a dependency is missing: https://github.com/vatesfr/xen-orchestra/commit/ccafc15b669cf71ab1ec68cdc81d887bc829b2b2

                  I've installed the correct dependency on your appliance, please restart xo-server and keep me posted 🙂

                  Keep in mind that you should be able to edit the log config without having to restart xo-server 🙂

                  0 julien-f committed to vatesfr/xen-orchestra
                  fix(xo-server): split-log → split-host
                  
                  Introduced by ed7ff1fad
                  
                  Fixes https://xcp-ng.org/forum/post/54503
                  lawrencesystemsL D 2 Replies Last reply Reply Quote 0
                  • lawrencesystemsL Offline
                    lawrencesystems Ambassador @julien-f
                    last edited by

                    @julien-f

                    Thanks, that fixed it! 🙂

                    julien-fJ 1 Reply Last reply Reply Quote 1
                    • julien-fJ Offline
                      julien-f Vates 🪐 Co-Founder XO Team @lawrencesystems
                      last edited by

                      @lawrencesystems Thank you for your report!

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dan89 @julien-f
                        last edited by

                        @julien-f I am still not seeing syslog traffic either.
                        My XOA is patched to the latest release and I am defining [logs.transport.syslog] in my config file.

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

                          @chromerooster we are about to release a patch version on latest this week. It will fix it 🙂 So hang on!

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

                            It is released! Kudos to the XO team (and @Danp for spotting another quirk)

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