Ad Widget

Collapse

Cannot save Dashboard with Item Value widgets

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arvyr
    Junior Member
    • May 2025
    • 5

    #1

    Cannot save Dashboard with Item Value widgets

    Hello,

    I have a problem with my dashboard.
    Whenever I add a single item value widget to the Global View or too many of these widgets to a custom dashboard, I get the following error:

    Code:
    JSON array input is expected.
    Field "name" is mandatory.
    Field "userid" is mandatory.
    Field "display_period" is mandatory.
    Field "auto_start" is mandatory.
    I run zabbix (vm with 4 cpu cores and 8GB ram) on a current AlmaLinux 9.5 with
    zabbix-server 7.2.6
    mariadb 11.4
    nginx 1.25
    php-fpm 8.0.30
    SELinux is in permissive mode

    Is this a known bug? Is there a solution for this or is here a limitation to this specific widget that I'm unaware of?
    I already raised the memory_limit as mentioned in another post, but that didn't help.

    See attached image below:
    (I can save this dashboard if I delete any of the widgets there, so I seem to hit some kind of limitation)

    Click image for larger version

Name:	Screenshot 2025-05-18 095942.png
Views:	192
Size:	143.4 KB
ID:	503168
  • Answer selected by Arvyr at 21-05-2025, 11:03.
    Arvyr
    Junior Member
    • May 2025
    • 5

    After updating to 7.2.7 it worked without any issues.
    It seems however, it had nothing to do with Zabbix itself.
    Looks like the /etc/fstab was faulty, the entry for /tmp specifically.
    Fixed that and now everything works as expected.

    I consider this issue to be solved.

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #2
      Check if you have a low PHP memory limit, which is the maximum amount of memory a script may consume. If I'm not mistaken, it's 128MB by default. Your environment may need a bit more.

      Comment

      • Arvyr
        Junior Member
        • May 2025
        • 5

        #3
        As already mentioned in my initial post, I already tried that to no avail.
        I set it to 2G and also doubled or quadrupled the other values as well.

        Comment

        • Arvyr
          Junior Member
          • May 2025
          • 5

          #4
          Just as an addition, I set up another test instance with RockyLinux 9.5, PostgreSQL 17, Apache2 2.4.62 and Zabbix 7.2.6 with the same result.
          I hit a limit at 18-20 unit value widgets.

          Comment

          • Arvyr
            Junior Member
            • May 2025
            • 5

            #5
            After updating to 7.2.7 it worked without any issues.
            It seems however, it had nothing to do with Zabbix itself.
            Looks like the /etc/fstab was faulty, the entry for /tmp specifically.
            Fixed that and now everything works as expected.

            I consider this issue to be solved.

            Comment

            Working...