From aec13bdab4fd46b0fe62e04d36776da003b465d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Fri, 3 Mar 2023 15:31:57 +0100 Subject: [PATCH] [doc] [#1] updated conf json schema --- doc/hmdl.schema.json | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/doc/hmdl.schema.json b/doc/hmdl.schema.json index f6ab975..f606b5a 100644 --- a/doc/hmdl.schema.json +++ b/doc/hmdl.schema.json @@ -597,6 +597,60 @@ "kind", "parameters" ] + }, + { + "title": "check 'generic_remote'", + "type": "object", + "unevaluatedProperties": false, + "properties": { + "kind": { + "type": "string", + "enum": [ + "generic_remote" + ] + }, + "parameters": { + "type": "object", + "additionalProperties": false, + "properties": { + "host": { + "type": "string" + }, + "port": { + "type": "integer", + "default": 22 + }, + "user": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "mount_point": { + "type": "string", + "default": "/" + }, + "threshold": { + "type": "integer", + "default": 95, + "description": "maximaler F\u00fcllstand in Prozent" + }, + "strict": { + "type": "boolean", + "default": false + } + }, + "required": [ + "host", + "user", + "ssh_key" + ] + } + }, + "required": [ + "kind", + "parameters" + ] } ] }