mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update Alerta.php (#10684)
This commit is contained in:
committed by
Tony Murray
parent
c76e95d343
commit
caaa6a97bc
@@ -34,7 +34,7 @@ class Alerta extends Transport
|
||||
$curl = curl_init();
|
||||
$text = strip_tags($obj['msg']);
|
||||
$severity = ($obj['state'] == 0 ? $opts['recoverstate'] : $opts['alertstate']);
|
||||
$deviceurl = "https://librenms.rochester.k12.mn.us/device/device=".$obj['device_id'];
|
||||
$deviceurl = (Config::get('base_url') . 'device/device=' . $obj['device_id']);
|
||||
$devicehostname = $obj['hostname'];
|
||||
$data = [
|
||||
'resource' => $devicehostname,
|
||||
|
Reference in New Issue
Block a user