Ad Widget

Collapse

Zabbix agent for RHEL on IBM power

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mhustak
    Junior Member
    • Apr 2020
    • 4

    #1

    Zabbix agent for RHEL on IBM power

    Hi,

    please don't know where to get zabbix agent for RHEL 7x and 8X for Power IBM.

    Thanks

    Marcel
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    zabbix.com is not currently providing pre-built packages for powerpc RHEL, but Zabbix is open source so you can build packages yourself.

    Comment

    • Robert W
      Junior Member
      • Oct 2022
      • 7

      #3
      This post pops up whenever searching for Zabbix agent for PPC64. Could anyone that knows how to do this, give us a step by step "manual" for this?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Please read manual. If you only want to build a minimal agent, run configure with --enable-agent options.

        Comment

        • Robert W
          Junior Member
          • Oct 2022
          • 7

          #5
          I am uploading my guide for any other that need this.
          This is for red hat 8 on PPC64.

          Attached Files

          Comment

          • singhalyogi
            Junior Member
            • Mar 2023
            • 2

            #6
            Hi Robert,
            Your Guide looks great .
            Can you suggest what changes would be required for SUSE Linux Enterprise 15 Sp2?

            Comment

            • singhalyogi
              Junior Member
              • Mar 2023
              • 2

              #7
              Originally posted by Robert W
              I am uploading my guide for any other that need this.
              This is for red hat 8 on PPC64.
              The problem i am facing on suse is that when i run tar -zxvf it unzips the file but it remain its own directory. Do i need to put the each file in respective directory manually ?

              Comment

              • Robert W
                Junior Member
                • Oct 2022
                • 7

                #8
                I actually dont know. I had teach myself stuff to get to that point with Red Hat.
                But tar might have a separate command to preserve directory structure?

                Comment

                • HTTP_Error_500
                  Junior Member
                  • Sep 2023
                  • 3

                  #9
                  Originally posted by Robert W
                  I am uploading my guide for any other that need this.
                  This is for red hat 8 on PPC64.
                  I will test that one - since I've been struggling for a moment with RHEL ppc64le zabbix agent installation.

                  Comment

                  • tekui72
                    Junior Member
                    • Oct 2022
                    • 1

                    #10
                    Hello, I use this tutorial and it works for zabbix-agent, but when i want configure install for zabbix-agent2 then i get this error when run ./configure --enable-agent2:
                    checking for libperfstat 5.2.0.40 fileset... no
                    checking for libperfstat 5.3.0.60 fileset... no
                    checking for architecture... linux (linux-gnu)
                    checking for the linux kernel version... unknown family (5.14.0-362.18.1.el9_3.ppc64le)
                    checking size of void *... 8
                    checking for go... no
                    configure: error: Unable to find "go" executable in path

                    Dont know what to do with it. I try this: https://support.zabbix.com/browse/ZBX-16744 , but it doesnt work...
                    Have someone same problem?

                    I am using RHEL9.3 and source zabbix version 6.0.27

                    Comment

                    • tim.mooney
                      Senior Member
                      • Dec 2012
                      • 1427

                      #11
                      Hey tekui72.

                      The "TL;DR" answer:

                      Code:
                      yum install go-toolset
                      If you're building an RPM of the agent2 (I hope you are, that's the best way to go on RHEL), then you probably also want

                      Code:
                      yum install go-filesystem go-rpm-macros go-rpm-templates go-srpm-macros
                      Longer answer:

                      The traditional Zabbix agent is written exclusively (I think) in the C programming language, which is also what a large portion of Linux uses, so the development tools needed to build C source code (a C compiler like gcc, a linker like "ld", the libraries and header files that define various system interfaces that the agent uses, etc.) are more widespread and would be present on any system that you use to compile software.

                      The agent2 is written in Go, not C or C++, and it uses a different toolset. You'll need to have the Go (often called Golang, for Go Language) compiler and other tools present. Start with the "go-toolset". On RHEL 9.x, that will install the basics.

                      I've not tried building the agent2 myself (we're pretty happy with the original agent still) so I don't know if additional Go add-ons are needed, but I kind of doubt it. The "go-toolset" package and its dependencies are all in the AppStream channel, so you'll be subscribed to that by default. I think the other packages I mentioned (for packaging Go software in an RPM) are all also in the AppStream channel. I'm not aware of any of the Go tools requiring the CodeReady Builder channel, but that's a good channel to subscribe any software "build box" to, anyway.

                      Comment

                      Working...