Problems: Add operational data field, closes #1260

This commit is contained in:
Alexander Zobnin
2023-01-20 16:51:54 +01:00
parent bc62e35477
commit 41d292c51d
5 changed files with 20 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ export function joinTriggersWithProblems(problems: ZBXProblem[], triggers: ZBXTr
description: p.name || t.description,
comments: t.comments,
value: t.value,
opdata: p.opdata,
groups: t.groups,
hosts: t.hosts,
items: t.items,

View File

@@ -235,6 +235,7 @@ export interface ProblemDTO {
proxy?: string;
severity?: string;
priority?: string;
opdata?: string;
acknowledged?: '1' | '0';
acknowledges?: ZBXAcknowledge[];