Set up Service Checks
Add Service Checks
Section titled “Add Service Checks”On the AxonOps application menu, click Service Checks and select Setup tab.

Create Services
Section titled “Create Services”Below there few examples copy and Paste inside. and click 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:

Delete Services
Section titled “Delete Services”To Delete a service copy and Paste inside. and click save
{ "shellchecks": [], "httpchecks": [], "tcpchecks": []
}Example:
