From 9ea6c7a528f32d125f6d8da81603c570a315c882 Mon Sep 17 00:00:00 2001 From: blaerf Date: Fri, 28 Nov 2025 06:46:23 +0100 Subject: [PATCH] Loopback IP als Fallback eingetragen --- app/Services/Snmp/SnmpServerStatusService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Snmp/SnmpServerStatusService.php b/app/Services/Snmp/SnmpServerStatusService.php index 32a2d27..56ae54a 100644 --- a/app/Services/Snmp/SnmpServerStatusService.php +++ b/app/Services/Snmp/SnmpServerStatusService.php @@ -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'); $community = (string)($this->config['community'] ?? ''); $oids = $this->config['oids'] ?? []; $timeout = (int)($this->config['timeout'] ?? 1) * 1_000_000; // in Mikrosekunden