]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
zabbix_agentd: add LLDP and DBUS services monitoring
authorRobin Roevens <robin.roevens@disroot.org>
Wed, 25 Mar 2026 19:26:32 +0000 (20:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Mar 2026 09:39:43 +0000 (09:39 +0000)
- Added built-in services LLDP and DBus to services discovery script.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/zabbix_agentd/ipfire_services.pl

index d3f9855ba1b73947de022f77660c8b5b5079acbd..a2949f7293c500197d1d9b9e8450de7c4579142f 100755 (executable)
@@ -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  <info@ipfire.org> 
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org> 
 # 
 # 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",
         }
 );