Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Set up Service Checks

On the AxonOps application menu, click Service Checks and select Setup tab.

servicecheckssetup

Below there few examples copy and Paste inside. and click save save

{
"shellchecks": [
{
"name" : "check_elastic",
"shell" : "/bin/bash",
"script": "if [ 'ps auxwww | grep elastic | wc -l' -lt 1 ] then exit 2 else exit 0 fi",
"interval": "5m" ,
"timeout": "1m"
}
],
"httpchecks": [],
"tcpchecks": [
{
"name": "elastic_tcp_endpoint_check",
"interval": "5s",
"timeout": "1m",
"tcp": "localhost:9200"
}
]
}

Example:

servicecheckseditor

To Delete a service copy and Paste inside. and click save save

{
"shellchecks": [],
"httpchecks": [],
"tcpchecks": []
}

Example:

deleteservices