mirror of
https://github.com/librenms/librenms.git
synced 2024-09-23 19:39:03 +00:00
Merge pull request #1194 from neokjames/master
Issued alerts add to the eventlog
This commit is contained in:
commit
960da3c8b8
@ -252,6 +252,7 @@ function ExtTransports($obj) {
|
||||
eval('$tmp = function($obj,$opts) { global $config; '.file_get_contents($config['install_dir']."/includes/alerts/transport.".$transport.".php").' };');
|
||||
$tmp = $tmp($obj,$opts);
|
||||
echo ($tmp ? "OK" : "ERROR")."; ";
|
||||
log_event("Issued ".$obj['severity']." alert for rule '".$obj['name']."' to transport '".$transport."'",$obj['device_id']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user