diff --git a/LibreNMS/Alert/Transport/Sensu.php b/LibreNMS/Alert/Transport/Sensu.php index b39222424f..c9ae45e531 100644 --- a/LibreNMS/Alert/Transport/Sensu.php +++ b/LibreNMS/Alert/Transport/Sensu.php @@ -177,7 +177,7 @@ class Sensu extends Transport public static function getEntityName($obj, $key) { if ($key === 'shortname') { - return Sensu::shortenName($obj['hostname']); + return Sensu::shortenName($obj['display']); } return $obj[$key];