1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {
- "ZOOKEEPER": {
- "service": [
- {
- "name": "zookeeper_server_process_percent",
- "label": "Percent ZooKeeper Servers Available",
- "description": "This service-level alert is triggered if the configured percentage of ZooKeeper processes cannot be determined to be up and listening on the network.",
- "interval": 1,
- "scope": "SERVICE",
- "enabled": true,
- "source": {
- "type": "AGGREGATE",
- "alert_name": "zookeeper_server_process",
- "reporting": {
- "ok": {
- "text": "affected: [{1}], total: [{0}]"
- },
- "warning": {
- "text": "affected: [{1}], total: [{0}]",
- "value": 0.35
- },
- "critical": {
- "text": "affected: [{1}], total: [{0}]",
- "value": 0.70
- }
- }
- }
- }
- ],
- "ZOOKEEPER_SERVER": [
- {
- "name": "zookeeper_server_process",
- "label": "ZooKeeper Server Process",
- "description": "This host-level alert is triggered if the ZooKeeper server process cannot be determined to be up and listening on the network.",
- "interval": 1,
- "scope": "ANY",
- "source": {
- "type": "PORT",
- "uri": "{{zookeeper-env/clientPort}}",
- "default_port": 2181,
- "reporting": {
- "ok": {
- "text": "TCP OK - {0:.4f} response on port {1}"
- },
- "critical": {
- "text": "Connection failed: {0} to {1}:{2}"
- }
- }
- }
- }
- ]
- }
- }
|