From 513eb4bed654012f789e761d6493fc9e8cb47f25 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 3 Apr 2021 09:43:24 +0200 Subject: [PATCH] bundles/mosquitto: add monitoring --- bundles/mosquitto/metadata.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bundles/mosquitto/metadata.py b/bundles/mosquitto/metadata.py index cf36fda..2961cf1 100644 --- a/bundles/mosquitto/metadata.py +++ b/bundles/mosquitto/metadata.py @@ -8,6 +8,15 @@ defaults = { 'mosquitto-clients': {}, }, }, + 'icinga2_api': { + 'mosquitto': { + 'services': { + 'MOSQUITTO PROCESS': { + 'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C mosquitto -c 1:', + }, + }, + }, + }, 'mosquitto': { 'listeners': { '1883': {},