From 89fb337ff0440eb4e6d5497a7020cf6d2c4da59f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 19 Jan 2021 17:33:57 +0100 Subject: [PATCH] Ignore the iperf service as it's only started on demand --- pfsense_zbx.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pfsense_zbx.php b/pfsense_zbx.php index 63deefc..459d0c0 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -292,6 +292,9 @@ function pfz_services_discovery(){ foreach ($services as $service){ if (!empty($service['name'])) { + // IPerf is only started on demand + if ($service['name'] == "iperf") + continue; $status = get_service_status($service); if ($status="") $status = 0;