YAML examples for TCP monitoring
TCP database check
yaml- action: TCP database check type: TCP trigger_time: ON_EVERY_EXECUTION disabled: false destination: db.example.com port: "5432" text: PostgreSQL post_data: SELECT 1 ignore_errors: false retry_interval: 30 retry_count: 2 timeout: 60
Simple TCP check
yaml- action: TCP check type: TCP trigger_time: ON_EVERY_EXECUTION destination: localhost port: "3306"