. * * @package LibreNMS * @link http://librenms.org * @copyright 2017 Robrecht Plaisier * @author Robbrecht Plaisier */ namespace LibreNMS\Interfaces\Alert; interface Transport { /** * Gets called when an alert is sent * * @param $alert_data array An array created by DescribeAlert * @param $opts array|true The options from $config['alert']['transports'][$transport] * @return bool Returns if the call was successful */ public function deliverAlert($alert_data, $opts); }