Ad Widget

Collapse

How can i get history problems form problem.get API?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mad su
    Junior Member
    • Mar 2022
    • 2

    #1

    How can i get history problems form problem.get API?

    Hi
    When I used the problem.get api ,it only return recent event。But i can find history from page

    Click image for larger version

Name:	problem.png
Views:	1775
Size:	88.1 KB
ID:	441169

    so ,is there any way that i can get the history problems from api?

    and in problem.get the recent param, how can i find the N value?
    recent boolean true - return PROBLEM and recently RESOLVED problems (depends on Display OK triggers for N seconds)
    Default: false - UNRESOLVED problems only
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Manual also says, on the same problem.get page...
    This method is for retrieving unresolved problems. It is also possible, if specified, to additionally retrieve recently resolved problems. The period that determines how old is "recently" is defined in AdministrationGeneral. Problems that were resolved prior to that period are not kept in the problem table. To retrieve problems that were resolved further back in the past, use the event.get method.

    Comment

    Working...