From patchwork Wed Mar 25 19:26:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Roevens X-Patchwork-Id: 9566 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4fgxm85PlBz3wnY for ; Wed, 25 Mar 2026 19:28:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E7" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4fgxm84qc7z60V for ; Wed, 25 Mar 2026 19:28:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fgxm8459pz335n for ; Wed, 25 Mar 2026 19:28:56 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fgxm61228z30HB for ; Wed, 25 Mar 2026 19:28:54 +0000 (UTC) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4fgxm06qZRz5vc for ; Wed, 25 Mar 2026 19:28:48 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=kklu0Ykm; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1774466929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=moCYE7XYTB7MmHKF8UXJlCTK14pkVJCzatmdFPwTRjM=; b=PzVNtzxfF3qyr4loO3XjUfvElnjOzDAGg2Mvy5TSVPMf9mrDertuanjrVJKyttIAPPAZmP FvoGriejgPPC9sRA9KGfMIFAmI0nror0h8+rwtlsIaFczABeHgoQyu9rPBlPepWezjL/uH NJeCUFt7EHopj+s0Q2uIWhYMmj/h7O6qhKdg9dlVSOBs1q+W7PlDRr6wBWPOWUhopIrHlD e4bY2mtwZMFrUHxEmiX07Mt02i1YfN4so9xK/vvx97ylFJuPuYSSRMWoDrFOcSjErl4qOz kN7r3mrpBEU6jCXUll/lnNx9i1nfwwyI1bwt2avEmeRyMzcnE49x/hRk+yW6WQ== ARC-Seal: i=1; a=rsa-sha256; d=lists.ipfire.org; s=202003rsa; cv=none; t=1774466929; b=TzhuQ7ihCWci5N8phXdue5p08GDYjXPExPaXbhSo38nge15mKlid/6mqWeLcS8bPA4ZBwI oGPKZYFWn0AE1pPwYXLV0rznRUgVrYN6mSswAsS/U+DmpKk5lZjK+iDa41YioAD5zlds9Q KwqiayQuEMGvVMM1UZSc/7BdimNYIjynwGxPhrNTX5U0ZARTgP+TqUHhr2s3CPgSJPlXdp hG9Ti4FO38qC8Aidk2cVnv0g2WBcUVU3jZCxUHr+ndFoUJcUImN3K5ortdvFCgT78c2uvR i6WiFkL4TnQcdfXXPq8ndQoNEtNbK2JVVIrs4yP7CPXgz+9UnaGTKi18Yvk6Lg== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=kklu0Ykm; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8135D2768D for ; Wed, 25 Mar 2026 20:28:48 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Qu6lThKh1Lsd for ; Wed, 25 Mar 2026 20:28:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1774466926; bh=frZERjrRfMLTCnVFcdPCOzClqRLUR/qqJhD17Yw52EE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kklu0YkmvRobCJ9TBdlMtx/AC+iGPeVaLPxXWQUuDkaDSW0qxvfKHvPg2FGFt3xnC WDE8L/8LsTvYEfyeb2nXqIdKcBOxRHOra3H8Xu7gJvhDIvce/1r66zQg7Nd3yhV29F Nbl+hkHlupWTNrD4fJbyKKVQuUj1uCYJU7HWUqGYq5twoEXNZvApVUDBh9wfXUUDIS MOE94yk4IXyznYnDeUJtOhO1+V3skvbmyu2kR6YyUrYu8cg1/yBMoGPosXmSz/JIQJ 1CcjGlIC/0T7MPuP8nmPXF6oergZXsKoVBxta0b3yR9qlmnlzRQ+P9Sc/k7nFJYC9+ NkjsDSVAm2DUA== Received: from chojin.roevenslambrechts.be (chojin.roevenslambrechts.be [192.168.0.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (no client certificate requested) (Authenticated sender) by hachiman (MailScanner Milter) with SMTP id 0C3F84E1AB5; Wed, 25 Mar 2026 20:28:40 +0100 (CET) From: Robin Roevens To: development@lists.ipfire.org Cc: Robin Roevens Subject: [PATCH 2/2] zabbix_agentd: add LLDP and DBUS services monitoring Date: Wed, 25 Mar 2026 20:26:32 +0100 Message-ID: <20260325192808.3847263-3-robin.roevens@disroot.org> In-Reply-To: <20260325192808.3847263-1-robin.roevens@disroot.org> References: <20260325192808.3847263-1-robin.roevens@disroot.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 X-RoevensLambrechts-MailScanner-ID: 0C3F84E1AB5.AD543 X-RoevensLambrechts-MailScanner: Found to be clean X-RoevensLambrechts-MailScanner-From: robin.roevens@disroot.org X-RoevensLambrechts-MailScanner-Watermark: 1775071720.75453@2Wc9/a95fGg8aXHXly3TtA X-Spamd-Result: default: False [-3.04 / 11.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_MISSING_CHARSET(0.50)[]; SPF_REPUTATION_SPAM(0.47)[0.15829130315845]; R_SPF_ALLOW(-0.20)[+a:c]; R_DKIM_ALLOW(-0.20)[disroot.org:s=mail]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; IP_REPUTATION_HAM(-0.01)[asn: 50673(0.00), country: NL(-0.01), ip: 178.21.23.139(0.00)]; RCPT_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; RECEIVED_HELO_LOCALHOST(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; DKIM_REPUTATION(0.00)[0]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+]; FROM_HAS_DN(0.00)[] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4fgxm06qZRz5vc X-Rspamd-Action: no action - Added built-in services LLDP and DBus to services discovery script. Signed-off-by: Robin Roevens --- config/zabbix_agentd/ipfire_services.pl | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/config/zabbix_agentd/ipfire_services.pl b/config/zabbix_agentd/ipfire_services.pl index d3f9855ba..a2949f729 100755 --- a/config/zabbix_agentd/ipfire_services.pl +++ b/config/zabbix_agentd/ipfire_services.pl @@ -5,9 +5,9 @@ # by Zabbix server # # Author: robin.roevens (at) disroot.org -# Version: 3.0 +# Version: 3.1 # -# Copyright (C) 2007-2024 IPFire Team +# Copyright (C) 2007-2026 IPFire Team # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -101,6 +101,17 @@ my %services = ( 'OpenVPN Roadwarrior Server' => { "process" => "openvpn", "pidfile" => "/var/run/openvpn-rw.pid", + }, + + # LLDPD + 'Link Layer Discovery Protocol' => { + "process" => "lldpd", + }, + + # DBus + 'D-Bus Daemon' => { + "process" => "dbus-daemon", + "pidfile" => "/var/run/dbus/pid", } );