github.com/netdata/go.d.plugin@v0.58.1/modules/portcheck/config_schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "title": "go.d/portcheck job configuration schema.", 4 "type": "object", 5 "properties": { 6 "name": { 7 "type": "string", 8 "minLength": 1 9 }, 10 "host": { 11 "type": "string", 12 "minLength": 1 13 }, 14 "ports": { 15 "type": "array", 16 "items": { 17 "type": "integer", 18 "minimum": 1 19 }, 20 "minItems": 1 21 }, 22 "timeout": { 23 "type": [ 24 "string", 25 "integer" 26 ], 27 "minLength": 1, 28 "minimum": 1, 29 "description": "The timeout duration, in seconds. Must be at least 1." 30 } 31 }, 32 "required": [ 33 "name", 34 "host", 35 "ports" 36 ] 37 }