Oids hinzugefügt #2
@ -39,7 +39,7 @@ class SnmpServerStatusService
|
||||
public function getServerStatus(): array
|
||||
{
|
||||
// --- 1. Konfiguration auslesen ---
|
||||
$host = (string)($this->config['host'] ?? 'itfa-proj-srv.itfa-proj-dom.local');
|
||||
$host = (string)($this->config['host'] ?? '127.0.0.1');
|
||||
|
blaerf marked this conversation as resolved
Outdated
|
||||
$community = (string)($this->config['community'] ?? '');
|
||||
$oids = $this->config['oids'] ?? [];
|
||||
$timeout = (int)($this->config['timeout'] ?? 1) * 1_000_000; // in Mikrosekunden
|
||||
|
||||
Loading…
Reference in New Issue
Block a user
Hier sollte man als Fallback vielleicht auch die loopback Adresse angeben. Gab ja Probleme mit der Namensauflösung.