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

Incorrect number of actions showed after resolve many problems in Problems page

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.41, 6.0.5
    • Frontend (F)
    • RHEL 8.4

      Steps to reproduce:

      1. Install Zabbix server/frontend/agent.
      2. Create logfile.
        1. echo OK >> /tmp/actions.log
      1. Create log monitoring item to "Zabbix server" host.
        1. log[/tmp/actions.log]
      1. Create "ACTION TEST" trigger to "Zabbix server" host.
        1. Name: ACTION TEST
        2. Expression: find(/Zabbix server/log[/tmp/actions.log],,,"NG")=1
        3. PROBLEM event generation mode: Multiple
      2. Create trigger action.
        1. Conditions: Trigger name contains ACTION TEST
        2. Operations: Send message to users: Admin (Zabbix Administrator) via Email
        3. Recovery operations: Send message to users: Admin (Zabbix Administrator) via Email
      3. Config Admin user to Email media.
      4. Create test script on Zabbix server host to generate many problems.
        1. #!/bin/bashfor i in {1..1000}; do
            echo NG >> /tmp/actions.log
          done 
      1.  Run the script.
        1. sh test.sh
      1. Resolve the problems.
        1. echo OK >> /tmp/actions.log

      Result:

      In "Problems" page, number of actions is 99+ in each problem. See result.png.
      Expected:
      Each problem show just two actions that operations and recovery operations.

            zabbix.dev Zabbix Development Team
            uki Yuuki Enomoto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: