Details

      Description

      ■Default message

      Date: {EVENT.DATE} {EVENT.TIME}
      
      Event: {TRIGGER.NAME}
      Status: {TRIGGER.STATUS}
      Severity: {TRIGGER.SEVERITY}
      
      Item values:
      
      {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}
      
      Original event ID: {EVENT.ID}
      

      ■Get the log

      Jan  4 01:30:21 host01 message ccc
      Jan  4 01:30:21 host01 message bbb
      Dec 29 20:24:24 host01 message aaa
      Dec 29 20:24:24 host01 message aaa
      

      ■event list

      "2016/01/04 01:26:09","host01","trigger01","PROBLEM","High","0","No","51"
      "2016/01/04 01:26:09","host01","trigger01","PROBLEM","High","0","No","51"
      "2015/12/29 20:24:39","host01","trigger01","PROBLEM","High","5d 5h 1m","No","41"
      "2015/12/29 20:24:39","host01","trigger01","PROBLEM","High","0","No","41"
      

      ■alert message

      Date: 2016/01/04 01:26:09
      
      Event: trigger01
      Status: PROBLEM
      Severity: High
      
      Item values:
      
      item01 (host01:log[/var/log/messages,Error,UTF-8]): Dec 29 20:24:24 host01 message aaa
      Original event ID: xxxxxx
      

      The event was detected on January 4.
      Why, the value of the ITEM.VALUE is December 29?

        Activity

        Kazuo Ito created issue -
        Kazuo Ito made changes -
        Field Original Value New Value
        Link This issue is duplicated by NICI-1 [ NICI-1 ]
        Hide
        richlv added a comment -

        is this a duplicate of now private ZBX-10338 ?

        Show
        richlv added a comment - is this a duplicate of now private ZBX-10338 ?
        Hide
        Aleksandrs Saveljevs added a comment -

        richlv, ZBX-10338 was deleted.

        Show
        Aleksandrs Saveljevs added a comment - richlv , ZBX-10338 was deleted.
        Aleksandrs Saveljevs made changes -
        Component/s Server (S) [ 10003 ]
        Aleksandrs Saveljevs made changes -
        Summary \{ITEM.VALUE1} was referring to the old data {ITEM.VALUE1} was referring to the old data
        Hide
        Aleksandrs Saveljevs added a comment -

        Which Zabbix version is being used?

        Show
        Aleksandrs Saveljevs added a comment - Which Zabbix version is being used?
        Kazuo Ito made changes -
        Affects Version/s 2.2.10 [ 13004 ]
        Hide
        Kazuo Ito added a comment -

        Using Zabbix2.2.10.

        Show
        Kazuo Ito added a comment - Using Zabbix2.2.10.
        Alexander Vladishev made changes -
        Status Open [ 1 ] READY TO DEVELOP [ 10006 ]
        Fix Version/s 2.2.12rc1 [ 13205 ]
        Fix Version/s 2.4.8rc1 [ 13207 ]
        Fix Version/s 3.0.0rc1 (trunk) [ 13404 ]
        Alexander Vladishev made changes -
        Assignee Sandis Neilands [ sandis.neilands ]
        Sandis Neilands (Inactive) made changes -
        Status READY TO DEVELOP [ 10006 ] In Progress [ 3 ]
        Hide
        Sandis Neilands (Inactive) added a comment - - edited

        While i'm trying to reproduce the problem, Kazuo Ito, could you provide:

        • the configuration of the relevant log[] item;
        • its history for the relevant period;
        • the relevant trigger configuration?
        Show
        Sandis Neilands (Inactive) added a comment - - edited While i'm trying to reproduce the problem, Kazuo Ito , could you provide: the configuration of the relevant log[] item; its history for the relevant period; the relevant trigger configuration?
        Sandis Neilands (Inactive) made changes -
        Assignee Sandis Neilands [ sandis.neilands ]
        Status In Progress [ 3 ] READY TO DEVELOP [ 10006 ]
        Sandis Neilands (Inactive) made changes -
        Status READY TO DEVELOP [ 10006 ] In Progress [ 3 ]
        Assignee Sandis Neilands [ sandis.neilands ]
        Alexander Vladishev made changes -
        Fix Version/s 3.0.1rc1 [ 13406 ]
        Fix Version/s 3.1.0 [ 13405 ]
        Fix Version/s 3.0.0rc1 [ 13404 ]
        Sandis Neilands (Inactive) made changes -
        Assignee Sandis Neilands [ sandis.neilands ]
        Status In Progress [ 3 ] READY TO DEVELOP [ 10006 ]
        Sandis Neilands (Inactive) made changes -
        Status READY TO DEVELOP [ 10006 ] In Progress [ 3 ]
        Assignee Sandis Neilands [ sandis.neilands ]
        Alexander Vladishev made changes -
        Fix Version/s 3.0.2rc1 [ 13415 ]
        Fix Version/s 3.0.1rc1 [ 13406 ]
        Sandis Neilands (Inactive) made changes -
        Attachment analysis.zip [ 39947 ]
        Hide
        Andris Zeila added a comment - - edited

        Fixed value cache not caching value if its timestamp seconds matches the timestamp of the oldest cached value and timestamp nanoseconds is less.

        Development branch svn://svn.zabbix.com/branches/dev/ZBX-10342

        Andris Zeila After thinking it over I realized that empty items must be removed, the fix is updated in r58687

        Show
        Andris Zeila added a comment - - edited Fixed value cache not caching value if its timestamp seconds matches the timestamp of the oldest cached value and timestamp nanoseconds is less. Development branch svn://svn.zabbix.com/branches/dev/ZBX-10342 Andris Zeila After thinking it over I realized that empty items must be removed, the fix is updated in r58687
        Hide
        Sandis Neilands (Inactive) added a comment - - edited

        (1) next is used uninitialized in vch_item_remove_values().

        Andris Zeila RESOLVED in r58783

        Sandis Neilands CLOSED.

        Show
        Sandis Neilands (Inactive) added a comment - - edited (1) next is used uninitialized in vch_item_remove_values() . Andris Zeila RESOLVED in r58783 Sandis Neilands CLOSED.
        Sandis Neilands (Inactive) made changes -
        Assignee Sandis Neilands [ sandis.neilands ] Andris Zeila [ wiper ]
        Sandis Neilands (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Sandis Neilands (Inactive) made changes -
        Status Resolved [ 5 ] In Progress [ 3 ]
        Assignee Andris Zeila [ wiper ] Sandis Neilands [ sandis.neilands ]
        Sandis Neilands (Inactive) made changes -
        Assignee Sandis Neilands [ sandis.neilands ] Andris Zeila [ wiper ]
        Andris Zeila made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Assignee Andris Zeila [ wiper ] Sandis Neilands [ sandis.neilands ]
        Sandis Neilands (Inactive) made changes -
        Status Resolved [ 5 ] IN TESTING [ 10007 ]
        Hide
        Sandis Neilands (Inactive) added a comment - - edited

        Tested with zabbix_sender and agent.hostname active agent item and trigger.

        Example:

        $ ./zabbix_sender -z 127.0.0.1 -i - -T -r
        localhost agent.hostname 1456831704 hostname_0
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000043"
        localhost agent.hostname 1456831703 hostname_1                                                            
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000042"
        localhost agent.hostname 1456831705 hostname_2
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000036"
        localhost agent.hostname 1456831702 hostname_3
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000035"
        localhost agent.hostname 1456831706 hostname_4
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000042"
        localhost agent.hostname 1456831710 hostname_5
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000043"
        localhost agent.hostname 1456831708 hostname_6
        info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000042"
        
        Show
        Sandis Neilands (Inactive) added a comment - - edited Tested with zabbix_sender and agent.hostname active agent item and trigger. Example: $ ./zabbix_sender -z 127.0.0.1 -i - -T -r localhost agent.hostname 1456831704 hostname_0 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000043" localhost agent.hostname 1456831703 hostname_1 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000042" localhost agent.hostname 1456831705 hostname_2 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000036" localhost agent.hostname 1456831702 hostname_3 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000035" localhost agent.hostname 1456831706 hostname_4 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000042" localhost agent.hostname 1456831710 hostname_5 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000043" localhost agent.hostname 1456831708 hostname_6 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000042"
        Sandis Neilands (Inactive) made changes -
        Status IN TESTING [ 10007 ] Tested [ 10002 ]
        Andris Zeila made changes -
        Assignee Sandis Neilands [ sandis.neilands ] Andris Zeila [ wiper ]
        Hide
        Andris Zeila added a comment -

        Released in:

        • pre-2.2.12rc1 r58800
        • pre-2.4.8rc1 r58801
        • pre-3.0.2rc1 r58802
        • pre-3.1.0 r58803
        Show
        Andris Zeila added a comment - Released in: pre-2.2.12rc1 r58800 pre-2.4.8rc1 r58801 pre-3.0.2rc1 r58802 pre-3.1.0 r58803
        Andris Zeila made changes -
        Assignee Andris Zeila [ wiper ]
        Status Tested [ 10002 ] Needs documenting [ 10004 ]
        Andris Zeila made changes -
        Status Needs documenting [ 10004 ] IN DOCUMENTING [ 10008 ]
        Assignee Andris Zeila [ wiper ]
        Andris Zeila made changes -
        Status IN DOCUMENTING [ 10008 ] Documented [ 10005 ]
        Andris Zeila made changes -
        Assignee Andris Zeila [ wiper ]
        Status Documented [ 10005 ] Done [ 10003 ]
        Alexander Vladishev made changes -
        Status Done [ 10003 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Oleksiy Zagorskyi made changes -
        Labels alerts macro alerts logmonitoring macro timestamp
        Alexander Vladishev made changes -
        Workflow Zabbix workflow - new [ 54409 ] Copy of Zabbix workflow - new [ 70132 ]
        Alexander Vladishev made changes -
        Workflow Copy of Zabbix workflow - new [ 70132 ] Zabbix workflow - new [ 85356 ]
        Gatis Rumbens made changes -
        Issue Type Bug [ 1 ] Incident report [ 10110 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open READY TO DEVELOP READY TO DEVELOP
        6h 24m 1 Alexander Vladishev 2016 Feb 03 11:24
        In Progress In Progress READY TO DEVELOP READY TO DEVELOP
        1d 1h 46m 2 Sandis Neilands (Inactive) 2016 Feb 04 13:58
        READY TO DEVELOP READY TO DEVELOP In Progress In Progress
        5d 22h 52m 3 Sandis Neilands (Inactive) 2016 Feb 10 12:03
        Resolved Resolved In Progress In Progress
        4s 1 Sandis Neilands (Inactive) 2016 Feb 29 13:43
        In Progress In Progress Resolved Resolved
        19d 22h 51m 2 Andris Zeila 2016 Mar 01 10:55
        Resolved Resolved IN (AUTO) TESTING IN (AUTO) TESTING
        2h 40m 1 Sandis Neilands (Inactive) 2016 Mar 01 13:36
        IN (AUTO) TESTING IN (AUTO) TESTING Merging Merging
        52m 36s 1 Sandis Neilands (Inactive) 2016 Mar 01 14:28
        Merging Merging Needs documenting Needs documenting
        20h 9m 1 Andris Zeila 2016 Mar 02 10:38
        Needs documenting Needs documenting IN DOCUMENTING IN DOCUMENTING
        3s 1 Andris Zeila 2016 Mar 02 10:38
        IN DOCUMENTING IN DOCUMENTING Doc. sign-off Doc. sign-off
        4s 1 Andris Zeila 2016 Mar 02 10:38
        Doc. sign-off Doc. sign-off Done Done
        2s 1 Andris Zeila 2016 Mar 02 10:38
        Done Done Closed Closed
        1d 6h 26m 1 Alexander Vladishev 2016 Mar 03 17:04

          People

          • Assignee:
            Unassigned
            Reporter:
            Kazuo Ito
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: