Ad Widget

Collapse

Dashboard problem: JSON array input is expected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ivo.durnik
    Junior Member
    • Apr 2023
    • 1

    #1

    Dashboard problem: JSON array input is expected

    Hi!

    I am getting an error when trying to save a zabbix dashboard.

    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 am able to get rid of this by deleting certain number of widgets from the dashboard, but it is not entirely consistent. For example, one dashboard accepts only 64 widgets, whereas other one can go up to 67. I don't have a problem with the available length or width of the dashboard.

    Zabbix server version: 6.0.15
    System: Rocky Linux release 8.7 (Green Obsidian)

    Does anyone have any experience with this? Is it a bug?

    Thanks!

    Ivo
  • ostrizek
    Junior Member
    • Apr 2023
    • 1

    #2
    ​Hi,

    I solve a similar issue with the map. Where after opening it and clicking on update nothing happend.

    increase php memory_limit solve my problem with limit items on dashboards and map size.

    Try to check yours memory limit for php and increase it.
    HTML Code:
    # php -i
    # grep -rnw '/etc' -e 'memory_limit'
    /etc/httpd/conf.d/********.conf:59: php_value memory_limit 2G
    /etc/php.ini:404:memory_limit = 2048M
    /etc/php-fpm.d/zabbix.conf:20:php_value[memory_limit] = 2048M
    # systemctl restart php-fpm.service httpd zabbix-server.service
    František​​​​

    Comment

    Working...