Updated bgp polling

This commit is contained in:
laf
2015-06-09 14:30:22 +01:00
parent 77b9adabc2
commit 01a71320e2
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -28,6 +28,7 @@ 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));
system("echo '$line' >> /tmp/syslog");
process_syslog($entry, 1);
unset($entry); unset($line);
$i++;