Ad Widget

Collapse

API : Change Problem to symptom

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ldzzzz
    Junior Member
    • Feb 2024
    • 14

    #1

    API : Change Problem to symptom

    Context:
    I'm currently on version 6.4 of Zabbix, which has introduced a new feature that allows a problem to be defined as a “symptom” from another problem. I'd like to know if it's possible to implement this via the API.

    Goal:
    Have a powershell API script that runs every 1-2 minutes to classify problems against a predefined parent-child relationship {$Macros}.

    Task:
    For the active problem hosts listed by the script, check the corresponding host name macros.
    If any of these macros begin with “{$CHILD”, take their values (which are host names) and mark the active problem host “child” as symptomatic of the problem host parent having these macros.

    Thx

Working...