. * * @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 the alert_transports transport_config column * @return mixed Returns if the call was successful */ public function deliverAlert($alert_data, $opts); /** * @return array */ public static function configTemplate(); }