Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23134

Zabbix Agent on pfsense 2.7.0 not fully working

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.4
    • Agent (G)
    • None

      Hi,

      today I upgraded my pfsense from 2.6.0 to 2.7.0 but I forgot to check if the Zabbix agent is compatible. Basically the agent seems to be running but I can see the following error in the console:

      PHP ERROR: Type: 1, File: /root/scripts/pfsense_zbx.php, Line: 817, Message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /root/scripts/pfsense_zbx.php:817
      Stack trace:
      #0 /root/scripts/pfsense_zbx.php(863): pfz_dhcp_get('failover')
      #1 /root/scripts/pfsense_zbx.php(876): pfz_dhcp_check_failover()
      #2 /root/scripts/pfsense_zbx.php(1091): pfz_dhcp('failover', NULL)
      #3 {main}

       

      Can you please check and fix?

      Thanks in advance and best regards

      Florian

            vcredidio Victor Breda Credidio
            sukerl Florian Dickbauer
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: