Ad Widget

Collapse

I need Help with Zabbix Proxy 5 and CentOS 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eliwap
    Junior Member
    • Jun 2020
    • 5

    #1

    I need Help with Zabbix Proxy 5 and CentOS 6

    Hi Everyone

    I can see that there is no zabbix-proxy 5.0.1 for CentOS 6. Is there going to be one?

    I also tried to rebuild from SRPMs. I am getting the following error

    go install -ldflags="-X zabbix.com/pkg/version.titleMessage=zabbix_agent2 -X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.confDefault=/etc/zabbix/zabbix_agent2.conf" zabbix.com/cmd/zabbix_agent2
    go: github.com/alimy/mc/[email protected]: reading github.com/alimy/mc/go.mod at revision v2.0.3: unknown revision v2.0.3

    Please help

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

    #2
    You don't need the zabbix_agent2 for the proxy. If you're just concerned with the proxy, you can remove the zabbix_agent2 related stuff from the spec file and completely skip that part.

    Centos 6 is only a few months from being EOL.

    Comment

    • eliwap
      Junior Member
      • Jun 2020
      • 5

      #3
      Its schedualed to be EOL in November... Be that as it may we are still running CentOS 6 systems.... A few of them are running Zabbix Proxy and we recently upgraded Zabbix to 5.0.1. While CentOS 6 is still breathing, it would be wonderful it the full compliment were built.

      I will remove the zabbix_agent2 stuff from the SPEC file and try again.... Thank you for the suggestion. I will let you know how it goes

      Comment

      • eliwap
        Junior Member
        • Jun 2020
        • 5

        #4
        Welll.... I managed to get the zabbix proxy for mysql built. I could not get the rpm package but, that was OK. I ran into another problem while the schema upgraded. It turns out that ... in schema.sql on line 348; the line that reads

        CREATE INDEX `items_1` ON `items` (`hostid`,`key_`(1021));

        produces and error about the key size exceeding the limit of 1000. After having to dump the tables, I altered the line to read

        CREATE INDEX `items_1` ON `items` (`hostid`); and reimported the database.

        Everything is working OK.

        Comment

        Working...