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

problem.get returns only current/recent problems despite parameters

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 3.4.14, 4.0.0rc1
    • None
    • None
    • Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018
    • 0.5

      Steps to reproduce:

      • install pyzabbix
      • request some problems, example:
        zapi.problem.get(time_from = start_time, time_till = till_time, source = 0, object = 0, recent = False, selectAcknowledges = 'count', selectTags = ['tag', 'value'], sortorder = 'DESC', output = 'extend')
        
        zapi.problem.get(time_from = start_time, time_till = till_time, source = 0, object = 0, recent = True, selectAcknowledges = 'count', selectTags = ['tag', 'value'], sortorder = 'DESC', output = 'extend')
        

      Result:
      Only recent/current problems reported.

      Expected:
      All, for the time period used: time_from, time_till.

            martins-v Martins Valkovskis
            edgar.akhmetshin Edgar Akhmetshin
            Team D
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: