Skip to main content
Version: 8.2405.x.x RR

Liveness and health services

All components of nevisDetect are providing so-called liveness and health services. These services are designed for an automated management system of nevisDetect, such as Kubernetes. Deployment to Kubernetes is only supported via nevisAdmin 4. The status of a component is determined by the status of all resources used by the system. This section shows the example responses of the health service for the different components.

Feature Correlator component

Feature Correlator component - Example response health service

wget -qO- http://localhost:<your port>/health

{
"status": "UP",
"app": {
"status": "UP",
"diskSpaceHealthIndicator": {
"status": "UP",
"total": 1022762205184,
"free": 873300434944,
"threshold": 10485760
},
"persistencyHealthIndicator": {
"status": "UP"
},
"jmsHealthIndicator": {
"status": "UP",
"activeMQConnectionFactory": {
"status": "UP",
"provider": "ActiveMQ"
},
"jmsConnectionFactory": {
"status": "UP",
"provider": "ActiveMQ"
}
}
}
}

Core component

Core component - Example response health service

wget -qO- http://localhost:<your port>/health

{
"status": "UP",
"app": {
"status": "UP",
"diskSpaceHealthIndicator": {
"status": "UP",
"total": 1022762205184,
"free": 873302024192,
"threshold": 10485760
},
"persistencyHealthIndicator": {
"status": "UP"
},
"jmsHealthIndicator": {
"status": "UP",
"activeMQConnectionFactory": {
"status": "UP",
"provider": "ActiveMQ"
},
"jmsConnectionFactory": {
"status": "UP",
"provider": "ActiveMQ"
}
}
}
}

Controller component

Controller component - Example response health service

wget -qO- http://localhost:<your port>/health

{
"status": "UP",
"app": {
"status": "UP",
"jms-localhost:8282": {
"status": "UP",
"provider": "ActiveMQ"
},
"diskSpaceHealthIndicator": {
"status": "UP",
"total": 1022762205184,
"free": 873301811200,
"threshold": 10485760
}
}
}

Persistency component

Persistency component - Example response health service

wget -qO- http://localhost:<your port>/health

{
"status": "UP",
"app": {
"status": "UP",
"diskSpaceHealthIndicator": {
"status": "UP",
"total": 1022762205184,
"free": 873301327872,
"threshold": 10485760
},
"jmsHealthIndicator": {
"status": "UP",
"activeMQConnectionFactory": {
"status": "UP",
"provider": "ActiveMQ"
},
"jmsConnectionFactory": {
"status": "UP",
"provider": "ActiveMQ"
}
},
"dbHealthIndicator": {
"status": "UP",
"database": "MySQL",
"hello": 1
}
}
}