Loopback IP als Fallback eingetragen
This commit is contained in:
parent
e789188c35
commit
9ea6c7a528
@ -39,7 +39,7 @@ class SnmpServerStatusService
|
|||||||
public function getServerStatus(): array
|
public function getServerStatus(): array
|
||||||
{
|
{
|
||||||
// --- 1. Konfiguration auslesen ---
|
// --- 1. Konfiguration auslesen ---
|
||||||
$host = (string)($this->config['host'] ?? 'itfa-proj-srv.itfa-proj-dom.local');
|
$host = (string)($this->config['host'] ?? '127.0.0.1');
|
||||||
$community = (string)($this->config['community'] ?? '');
|
$community = (string)($this->config['community'] ?? '');
|
||||||
$oids = $this->config['oids'] ?? [];
|
$oids = $this->config['oids'] ?? [];
|
||||||
$timeout = (int)($this->config['timeout'] ?? 1) * 1_000_000; // in Mikrosekunden
|
$timeout = (int)($this->config['timeout'] ?? 1) * 1_000_000; // in Mikrosekunden
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user