From 2682a1d17af8a1eeb309bbb04df5a97a3c7c55cb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 7 Aug 2024 14:16:43 +0200 Subject: [PATCH] ids.cgi: Use the PID file to find suricata The process changes it name to "Suricata-Main" which is why the previous method did not work. Signed-off-by: Michael Tremer --- html/cgi-bin/ids.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index d44ce1788..502e2a125 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -1007,7 +1007,7 @@ sub show_mainpage() { &Header::ServiceStatus({ $Lang::tr{'intrusion prevention system'} => { - "process" => "suricata", + "pidfile" => "/var/run/suricata.pid", }, }); -- 2.39.5