| { |
| "LOGSEARCH": { |
| "LOGSEARCH_SERVER": [ |
| { |
| "name": "logsearch_ui", |
| "label": "Log Search Web UI", |
| "description": "This host-level alert is triggered if the Log Search UI is unreachable.", |
| "interval": 1, |
| "scope": "ANY", |
| "source": { |
| "type": "WEB", |
| "uri": { |
| "http": "{{logsearch-env/logsearch_ui_port}}", |
| "https": "{{logsearch-env/logsearch_ui_port}}", |
| "default_port": 61888, |
| "connection_timeout": 5.0 |
| }, |
| "reporting": { |
| "ok": { |
| "text": "HTTP {0} response in {2:.3f}s" |
| }, |
| "warning": { |
| "text": "HTTP {0} response from {1} in {2:.3f}s ({3})" |
| }, |
| "critical": { |
| "text": "Connection failed to {1} ({3})" |
| } |
| } |
| } |
| } |
| ] |
| } |
| } |