mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
committed by
Neil Lathwood
parent
aadd627863
commit
abc6a5b799
@@ -23,7 +23,7 @@ require_once 'includes/functions.php';
|
||||
|
||||
$i = "1";
|
||||
|
||||
$s = fopen('php://stdin','r');
|
||||
$s = fopen('php://stdin', 'r');
|
||||
while ($line = fgets($s)) {
|
||||
#logfile($line);
|
||||
list($entry['host'],$entry['facility'],$entry['priority'], $entry['level'], $entry['tag'], $entry['timestamp'], $entry['msg'], $entry['program']) = explode("||", trim($line));
|
||||
|
Reference in New Issue
Block a user