Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 3 Posters 1.4k Views
    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.
    • steve.scotterS
      steve.scotter
      last edited by

      Forgot to mention, all pfsense boxes are running v2.5.2

      steve.scotterS 1 Reply Last reply Reply Quote 0
      • steve.scotterS
        steve.scotter @steve.scotter
        last edited by

        I think I'm on the right track.. Performed a php lint on the file before and after changing ($zabbixconf['tlscertfile'] != 'none') { to ($zabbixconf['tlscertfile'] != 'none')) { on line 357.

        Before
        Parse error: syntax error, unexpected ';' in /usr/local/pkg/zabbix-proxy.inc on line 358 Errors parsing /usr/local/pkg/zabbix-proxy.inc

        After
        php -l /usr/local/pkg/zabbix-proxy.inc No syntax errors detected in /usr/local/pkg/zabbix-proxy.inc

        However, it hasn't made Zabbix Proxy appear in the Services menu 😢

        steve.scotterS 1 Reply Last reply Reply Quote 0
        • steve.scotterS
          steve.scotter @steve.scotter
          last edited by steve.scotter

          Did some googling to find how to report problems to pfsense and found the bug tracker at redmine.pfsense.org. This issue with Zabbix has been reported 9 hours ago by DRago_Angel [InV@DER] and a fix has been implemented.

          https://redmine.pfsense.org/issues/12128

          Sorry for the noise!

          1 Reply Last reply Reply Quote 0
          • viktor_gV
            viktor_g Netgate
            last edited by

            agent/proxy update coming soon

            for now you can manually add a closing parenthesis to the corresponding files,
            see https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504426
            and
            https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504350

            provelsP steve.scotterS 2 Replies Last reply Reply Quote 0
            • provelsP
              provels @viktor_g
              last edited by

              @viktor_g
              FWIW, looks like zabbix4-agent-4.0.30 suffers same issue.

              Peder

              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

              1 Reply Last reply Reply Quote 0
              • steve.scotterS
                steve.scotter @viktor_g
                last edited by

                @viktor_g said in pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken:

                agent/proxy update coming soon

                for now you can manually add a closing parenthesis to the corresponding files,
                see https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504426
                and
                https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504350

                @viktor_g I added the missing closing parenthesis.. it stopped the crash notifications but didn't make zabbix-proxy or zabbix-agent appear in the Services me though. Is there anything else I needed to do?

                provelsP 1 Reply Last reply Reply Quote 0
                • provelsP
                  provels @steve.scotter
                  last edited by provels

                  @steve-scotter said in pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken:

                  @viktor_g said in pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken:

                  agent/proxy update coming soon

                  for now you can manually add a closing parenthesis to the corresponding files,
                  see https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504426
                  and
                  https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504350

                  @viktor_g I added the missing closing parenthesis.. it stopped the crash notifications but didn't make zabbix-proxy or zabbix-agent appear in the Services me though. Is there anything else I needed to do?

                  FWIW, I added the paren and rebooted. Though it doesn't show in Services, it is logging data now (4.x).
                  222f96d2-f350-4c80-89b4-8154812aaf62-image.png

                  Peder

                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                  1 Reply Last reply Reply Quote 0
                  • viktor_gV
                    viktor_g Netgate
                    last edited by

                    Please update to the latest Zabbix agent/proxy version

                    steve.scotterS provelsP 2 Replies Last reply Reply Quote 1
                    • steve.scotterS
                      steve.scotter @viktor_g
                      last edited by

                      @viktor_g
                      zabbix-agent5 1.0.4_9 and zabbix-proxy5 1.0.4_8 now installed and working perfectly.

                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      • provelsP
                        provels @viktor_g
                        last edited by

                        @viktor_g
                        v 4.x fixed.

                        Peder

                        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.