Ad Widget

Collapse

Action- condition with trigger doesn't load the list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • naven
    Junior Member
    • Jan 2020
    • 7

    #1

    Action- condition with trigger doesn't load the list

    Hi

    I'm trying to configure action for a certain trigger, but I am unable to choose it.

    I need 'Unavailable by ICMP ping' for a certain host.

    In the textbox 'type here to search', some results are being shown, but I need more so I choose "Select" and then it hangs, doing nothing, see attached screenshot.
    I've waited for like 20 minutes. There is nothing out of the ordinary in logs, everything else is working as it should.

    #dpkg -l | grep -i zabbix
    ii zabbix-agent 1:5.4.10-1+debian10 amd64 Zabbix network monitoring solution - agent
    ii zabbix-apache-conf 1:5.4.10-1+debian10 all Zabbix network monitoring solution - apache configuration for front-end
    ii zabbix-frontend-php 1:5.4.10-1+debian10 all Zabbix network monitoring solution - PHP front-end
    ii zabbix-release 1:5.4-1+debian10 all Zabbix official repository configuration
    ii zabbix-server-mysql 1:5.4.10-1+debian10 amd64 Zabbix network monitoring solution - server (MySQL)
    Attached Files
  • naven
    Junior Member
    • Jan 2020
    • 7

    #2
    Any ideas? Could be a bug?

    Comment

    • naven
      Junior Member
      • Jan 2020
      • 7

      #3
      I managed to fix it.

      Had to edit not only php.ini, but also
      /etc/zabbix/apache.conf
      Increased those 3 values
      Code:
      php_value memory_limit 256M
      php_value post_max_size 56M
      php_value upload_max_filesize 56M

      Anyhow, here's logs I gathered so maybe this will help someone

      console in browser

      Code:
      jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:10111 POST https://zabbix.mydomain.com/zabbix.php?sid=03162485654994f1&action=popup.gener ic 500 (Internal Server Error)
      send @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:10111
      ajax @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:9692
      Overlay.load @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:20578
      PopUp @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:18199
      (anonymous) @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:28273
      dispatch @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:5432
      elemData.handle @ jsLoader.php?ver=6.0.0&lang=en_US&showGuiMessaging =1:5236

      /var/log/apache2/error.log
      Code:
      [Fri Feb 18 18:55:33.623015 2022] [php7:error] [pid 38148] [client 192.168.xx:53044] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 195, referer: https://zabbix.mydomain.com/actionconf.php?eventsource=0&form=update&actionid= 11
      [Fri Feb 18 18:55:33.623621 2022] [php7:error] [pid 38148] [client 192.168.xx:53044] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 259, referer: https://zabbix.mydomain.com/actionconf.php?eventsource=0&form=update&actionid= 11
      [Fri Feb 18 18:55:33.623906 2022] [php7:error] [pid 38148] [client 192.168.xx:53044] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/classes/core/CEncryptedCookieSession.php on line 66, referer: https://zabbix.mydomain.com/actionconf.php?eventsource=0&form=update&actionid= 11
      [Fri Feb 18 18:55:33.624097 2022] [php7:error] [pid 38148] [client 192.168.xx:53044] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 345, referer: https://zabbix.mydomain.com/actionconf.php?eventsource=0&form=update&actionid= 11

      Comment

      • derosa
        Junior Member
        • Aug 2022
        • 2

        #4
        Greetings Naven.
        I have zabbix5 and I think I have the same problem: in creating an action, in condition-type, there are no ones for trigger.
        Was this your problem?
        Could you suggest me the solution?
        Thanks in advance for any suggestions.

        Comment

        • derosa
          Junior Member
          • Aug 2022
          • 2

          #5
          Maven. I found where I was wrong. V5 is quite different from v3. Before even writing "create action", you have to select the type of action on the top left.
          The action does not shoot yet but surely this was to be corrected.

          Comment

          Working...