diff --git a/LibreNMS/Alert/Transport/Victorops.php b/LibreNMS/Alert/Transport/Victorops.php index ce62d09a0..b89af5a04 100644 --- a/LibreNMS/Alert/Transport/Victorops.php +++ b/LibreNMS/Alert/Transport/Victorops.php @@ -41,7 +41,7 @@ class Victorops extends Transport $url = $opts['url']; $protocol = array( - 'entity_id' => ($obj['id'] ? $obj['id'] : $obj['uid']), + 'entity_id' => $obj['alert_id'], 'state_start_time' => strtotime($obj['timestamp']), 'entity_display_name' => $obj['title'], 'state_message' => $obj['msg'],