i set up a 3 consul servers and 1 nginx and linked them in one cluster and everything is ok on the web ui .
i would like to run a custom .JSON config file to run this command "ss -nlt" in order to see the number of connections to that server on the web .
i already done similar thing for nginx as the below JSON file :
{
"service": {
"name": "Nginx1-server",
"tags": [ "colourserver" ],
"port": 80,
"check": {
"id": "webserver_up_test",
"name": "Get Nginx Main Page",
"http": "http://localhost/index.html",
"interval": "3s",
"timeout": "1s"
}
}
}