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

Actions are triggered even if hosts are in maintenance

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • None
    • Server (S)
    • Zabbix 1.8.5 on Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64)

      This is an issue very similar to ZBX-3887, but here I don't use escalation nor distributed setup.

      Actions are triggered even if:

      • a maintenance window (with data collection) and a "period" is active for some hosts;
      • actions are configured with Maintenance status not in "maintenance";
      • triggers are reported with "HOST [Normal maintenance]".

      This is the output of "select * from conditions where actionid = 8":

      +-------------+----------+---------------+----------+-------+
      | conditionid | actionid | conditiontype | operator | value |
      +-------------+----------+---------------+----------+-------+
      |         212 |        8 |             4 |        0 | 5     |
      |         213 |        8 |             3 |        2 | +S    |
      |         214 |        8 |             0 |        0 | 6     |
      |         215 |        8 |            16 |        7 |       |
      +-------------+----------+---------------+----------+-------+
      4 rows in set (0.00 sec)
      

      This is the output of "select host,maintenanceid,maintenance_status,maintenance_type,maintenance_from from hosts where hostid=10049":

      +------+---------------+--------------------+------------------+------------------+
      | host | maintenanceid | maintenance_status | maintenance_type | maintenance_from |
      +------+---------------+--------------------+------------------+------------------+
      | HOST |            18 |                  1 |                0 |       1323936367 |
      +------+---------------+--------------------+------------------+------------------+
      1 row in set (0.00 sec)
      

        1. 010_host_group.png
          010_host_group.png
          43 kB
        2. 020_host.png
          020_host.png
          71 kB
        3. 030_item_overview.png
          030_item_overview.png
          64 kB
        4. 031_item.png
          031_item.png
          81 kB
        5. 040_trigger_overview.png
          040_trigger_overview.png
          58 kB
        6. 041_trigger.png
          041_trigger.png
          61 kB
        7. 050_action_overview.png
          050_action_overview.png
          60 kB
        8. 051_action1.png
          051_action1.png
          75 kB
        9. 052_action2.png
          052_action2.png
          49 kB
        10. 053_action3.png
          053_action3.png
          76 kB
        11. 060_user_group_overview.png
          060_user_group_overview.png
          67 kB
        12. 061_user_group1.png
          061_user_group1.png
          48 kB
        13. 062_user_group2.png
          062_user_group2.png
          77 kB
        14. 070_user_overview.png
          070_user_overview.png
          61 kB
        15. 071_user1.png
          071_user1.png
          60 kB
        16. 072_user2.png
          072_user2.png
          87 kB
        17. 073_user3.png
          073_user3.png
          79 kB
        18. 080_maintenance_overview.png
          080_maintenance_overview.png
          49 kB
        19. 081_maintenance1.png
          081_maintenance1.png
          46 kB
        20. 082_maintenance2.png
          082_maintenance2.png
          53 kB
        21. 083_maintenance3.png
          083_maintenance3.png
          51 kB
        22. 090_host_in_maintenance.png
          090_host_in_maintenance.png
          79 kB
        23. 100_dashboard_before_problem.png
          100_dashboard_before_problem.png
          110 kB
        24. 101_dashboard_with_problem_action_in_progress.png
          101_dashboard_with_problem_action_in_progress.png
          117 kB
        25. 102_dashboard_with_problem_action_complete.png
          102_dashboard_with_problem_action_complete.png
          116 kB
        26. 110_problem_event.png
          110_problem_event.png
          111 kB
        27. 111_ok_event_after_solving_problem.png
          111_ok_event_after_solving_problem.png
          121 kB
        28. 112_event_ater_deleting_of_maintenance.png
          112_event_ater_deleting_of_maintenance.png
          110 kB
        29. 113_event_overview_after_test.png
          113_event_overview_after_test.png
          125 kB
        30. Actions - Details.jpg
          Actions - Details.jpg
          94 kB
        31. Actions - Overview.jpg
          Actions - Overview.jpg
          28 kB
        32. Event.jpg
          Event.jpg
          143 kB
        33. Event - Recovey messages.jpg
          Event - Recovey messages.jpg
          21 kB
        34. Hosts - Details.jpg
          Hosts - Details.jpg
          80 kB
        35. Hosts - Overview.jpg
          Hosts - Overview.jpg
          27 kB
        36. Maintenance - Details.jpg
          Maintenance - Details.jpg
          51 kB
        37. Maintenance - Overview.jpg
          Maintenance - Overview.jpg
          16 kB
        38. Maintenance - Overview.jpg
          Maintenance - Overview.jpg
          16 kB
        39. Triggers.jpg
          Triggers.jpg
          32 kB

            Unassigned Unassigned
            pc.chiodi Pier Carlo Chiodi
            Votes:
            15 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved: