diff --git a/bundles/seafile/metadata.py b/bundles/seafile/metadata.py index 01472a8..66a586d 100644 --- a/bundles/seafile/metadata.py +++ b/bundles/seafile/metadata.py @@ -12,4 +12,16 @@ defaults = { '/opt/seafile', }, }, + 'icinga2_api': { + 'seafile': { + 'services': { + 'SEAFILE PROCESS': { + 'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit seafile', + }, + 'SEAHUB PROCESS': { + 'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit seahub', + }, + }, + }, + }, }