Ad Widget

Collapse

No Problem in Database, but Trigger has value 1 - the trigger is not red in overview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blank-online
    Junior Member
    • Feb 2013
    • 2

    #1

    No Problem in Database, but Trigger has value 1 - the trigger is not red in overview

    Hi there,
    i've a little Problem on the overview Page /overview.php
    There a two same active Triggers (both from the same template), which are in $triggers in /usr/share/zabbix/include/triggers.inc.php:763 with value 1, but in the next few lines, where API::Problem()->get() is called, one of these entries gets a value of 0 set - so the overview.php shows a green square.

    Both Triggers, 25684 and 23455 should have a red square displayed in overview.php (since both hdds are full ;-)

    After a little debugging i figured out, that the query generated in /usr/share/zabbix/include/classes/api/services/CProblem.php

    SELECT p.eventid,p.acknowledged,p.objectid,p.severity FROM problem p WHERE p.source='0' AND p.object='0' AND p.objectid IN (17320,17951,21943,23112,23455,24055,24056,24335,2 4688,24763,25227,25277,25296,25297,25684) AND p.r_eventid IS NULL

    looks good. But there is no entry for the Trigger 23455 in the Database-Table problems.


    The values for the items are up to date. The Trigger-definition is correct. The Graphs /history.php?action=showgraph&itemids[]=39668 (the wrong one) and /history.php?action=showgraph&itemids[]=43069 (the correct one) are quite equal.

    So the question is: When is the entry in the "problem" Database-Table created? Why is it missing? Who can it be created? (is there a way to re-check all Triggers?)
    Deactivating and Reactivating the Trigger did not help.


    Thanks
    Christian

    Last edited by blank-online; 11-11-2019, 11:40.
Working...