From 985f47ca99d2be96279f7f37694ddf3585bce449 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Tue, 10 Nov 2020 11:28:40 +0100 Subject: [PATCH] bundles/miniflux: add monitoring --- bundles/miniflux/metadata.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bundles/miniflux/metadata.py b/bundles/miniflux/metadata.py index 1bfddca..5577e24 100644 --- a/bundles/miniflux/metadata.py +++ b/bundles/miniflux/metadata.py @@ -11,6 +11,15 @@ defaults = { }, }, }, + 'icinga2_api': { + 'miniflux': { + 'services': { + 'MINIFLUX PROCESS': { + 'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit miniflux', + }, + }, + }, + }, 'postgresql': { 'users': { 'miniflux': { @@ -40,6 +49,8 @@ def nginx(metadata): 'target': 'http://127.0.0.1:22040', }, }, + 'website_check_path': '/', + 'website_check_string': 'Username', }, }, },