From librenms, 5 Years ago, written in Plain Text.
Embed
  1. diff --git a/LibreNMS/Alert/Transport/Victorops.php b/LibreNMS/Alert/Transport/Victorops.php
  2. index ce62d09a0..b89af5a04 100644
  3. --- a/LibreNMS/Alert/Transport/Victorops.php
  4. +++ b/LibreNMS/Alert/Transport/Victorops.php
  5. @@ -41,7 +41,7 @@ class Victorops extends Transport
  6.          $url = $opts['url'];
  7.  
  8.          $protocol = array(
  9. -            'entity_id' => ($obj['id'] ? $obj['id'] : $obj['uid']),
  10. +            'entity_id' => $obj['alert_id'],
  11.              'state_start_time' => strtotime($obj['timestamp']),
  12.              'entity_display_name' => $obj['title'],
  13.              'state_message' => $obj['msg'],
  14.