From 7e97103c0938efccccc6d263198bc86af4175eb4 Mon Sep 17 00:00:00 2001 From: Danyal Berchtold Date: Wed, 25 Feb 2026 11:13:29 +0100 Subject: [PATCH] feat(librenms-alerts): add device-type "management" --- CHANGELOG.md | 1 + check-plugins/librenms-alerts/README.md | 2 +- check-plugins/librenms-alerts/librenms-alerts | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36838c68..f849e643 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Build, CI/CD: Monitoring Plugins: +* librenms-alerts: add device-type 'management' * by-ssh: add alerting on single numeric values * by-winrm: executes commands on remote Windows hosts by WinRM, supporting JEA (including the JEA endpoint via `--winrm-configuration-name`) * nextcloud-enterprise: provides information about an installed Nextcloud Enterprise subscription diff --git a/check-plugins/librenms-alerts/README.md b/check-plugins/librenms-alerts/README.md index 70f9a710..b78e405e 100644 --- a/check-plugins/librenms-alerts/README.md +++ b/check-plugins/librenms-alerts/README.md @@ -32,7 +32,7 @@ usage: librenms-alerts [-h] [-V] [--always-ok] [--defaults-file DEFAULTS_FILE] [--defaults-group DEFAULTS_GROUP] [--device-group DEVICE_GROUP] [--device-hostname DEVICE_HOSTNAME] - [--device-type {appliance,collaboration,environment,firewall,loadbalancer,network,power,printer,server,storage,wireless,workstation}] + [--device-type {appliance,collaboration,environment,firewall,management,loadbalancer,network,power,printer,server,storage,wireless,workstation}] [--lengthy] [--severity {warn,crit}] [--timeout TIMEOUT] diff --git a/check-plugins/librenms-alerts/librenms-alerts b/check-plugins/librenms-alerts/librenms-alerts index e52adf97..72301427 100755 --- a/check-plugins/librenms-alerts/librenms-alerts +++ b/check-plugins/librenms-alerts/librenms-alerts @@ -99,11 +99,12 @@ def parse_args(): help='Filter by LibreNMS Device Type (repeating).', dest='DEVICE_TYPE', action='append', - choices=[ # taken from the librenms source file misc/config_definitions.json + choices=[ # taken from the librenms source file resources/definitions/config_definitions.json 'appliance', 'collaboration', 'environment', 'firewall', + 'management', 'loadbalancer', 'network', 'power',