/
Montioring HazelCast
Montioring HazelCast
Testet Version
Application | Version |
---|---|
Archive Center | 22.X |
| 23.X |
How To
Add Health Check to hazelcast.xml.
More Info Using the REST Endpoint Groups (hazelcast.com)
Version 22.4
Add Health Check to D:\otx\cfg\otac234\config\cluster\hazelcast.xml file
<rest-api enabled="true">
<endpoint-group name="HEALTH_CHECK" enabled="true"/>
</rest-api>>
Verison 23.4
Add Health Check to D:\otx\cfg\otac234\config\cluster\hazelcast.xml file
<rest-api enabled="true">
<endpoint-group name="HEALTH_CHECK" enabled="true"/>
<endpoint-group name="CLUSTER_READ" enabled="false"/>
</rest-api>
Test
Tomcat Restart Needed
Open URL http://<fqnd>:5701/hazelcast/health
Blackbox Exporter configuration
Change <env>
Change <FQND>
- job_name: 'blackbox_exporter_otac_cluster_<env>'
metrics_path: /probe
params:
module: [http_2xx_otac_cluster] # Look for a HTTP 200 response.
static_configs:
- targets: ['http://<fqdn otac>:5701/hazelcast/health']
labels:
hid: "OTAC0201ND01"
env: "TEST"
help: "https://handel.atlassian.net/wiki/spaces/HITID/pages/734953643"
- targets: ['http://<fqdn otac>:5701/hazelcast/health']
labels:
hid: "OTAC0201ND02"
env: "TEST"
help: "https://handel.atlassian.net/wiki/spaces/HITID/pages/734953643"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.
, multiple selections available,
Related content
WWW0110 Blackbox probe failed Archive Cluster Status
WWW0110 Blackbox probe failed Archive Cluster Status
More like this
WWW0108 Blackbox probe failed OTCS Rest API
WWW0108 Blackbox probe failed OTCS Rest API
More like this
OTCS2001 Cypress Test WR Taps Working?
OTCS2001 Cypress Test WR Taps Working?
More like this
Copyright @ handel gmbh