Compare commits
No commits in common. "90b9eb9f5bed8f77b07ae9a6f9a4893e45741538" and "194ac35d304387cfe4cc46eb2d668f2f6c4f4f7c" have entirely different histories.
90b9eb9f5b
...
194ac35d30
@ -32,7 +32,7 @@ class CollectorService extends CommonService
|
|||||||
'title_field' => $this->model->getTitleField(),
|
'title_field' => $this->model->getTitleField(),
|
||||||
'table' => $this->model->getTable(),
|
'table' => $this->model->getTable(),
|
||||||
'useAutoIncrement' => $this->model->useAutoIncrement(),
|
'useAutoIncrement' => $this->model->useAutoIncrement(),
|
||||||
'class_path' => $this->getClassPaths(false),
|
'class_path' => $this->getClassPaths(false)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
return $this->formServiceInstance;
|
return $this->formServiceInstance;
|
||||||
@ -46,7 +46,7 @@ class CollectorService extends CommonService
|
|||||||
'title_field' => $this->model->getTitleField(),
|
'title_field' => $this->model->getTitleField(),
|
||||||
'table' => $this->model->getTable(),
|
'table' => $this->model->getTable(),
|
||||||
'useAutoIncrement' => $this->model->useAutoIncrement(),
|
'useAutoIncrement' => $this->model->useAutoIncrement(),
|
||||||
'class_path' => $this->getClassPaths(false),
|
'class_path' => $this->getClassPaths(false)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
return $this->helperInstance;
|
return $this->helperInstance;
|
||||||
@ -104,7 +104,7 @@ class CollectorService extends CommonService
|
|||||||
if ($currentInOctets === null || $currentOutOctets === null) {
|
if ($currentInOctets === null || $currentOutOctets === null) {
|
||||||
$message = "트래픽 수집 실패: {$trafficEntity->getIP()} - IF{$trafficEntity->getInterface()} (UID: {$trafficEntity->getPK()})";
|
$message = "트래픽 수집 실패: {$trafficEntity->getIP()} - IF{$trafficEntity->getInterface()} (UID: {$trafficEntity->getPK()})";
|
||||||
log_message('warning', $message);
|
log_message('warning', $message);
|
||||||
throw new \Exception($message);
|
throw new Exception($message);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 이전 데이터를 조회하여 Rate 계산에 사용
|
// 이전 데이터를 조회하여 Rate 계산에 사용
|
||||||
@ -162,4 +162,3 @@ class CollectorService extends CommonService
|
|||||||
'raw_out' => (int)$currentOutOctets,
|
'raw_out' => (int)$currentOutOctets,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user