A simple Ping like tool to check the network connection issues. pingct
is designed to constantly check the network connectivity and in case of any issues run a set of tests to facilitate troubleshooting.
Install the required .NET SDK.
Run this command:
$ dotnet tool install --global pingct
And run the tool with:
$ pingct
pingct [options] [command]
Options:
--version Show version information
-?, -h, --help Show help and usage information
Commands:
config Prints the path to the config file
{
"Ping": "4.2.2.4",
"Delay": 1500,
"MaxPingSuccessTime": 120,
"MaxPingWarningTime": 170,
"Tests": [
{
"Type": "ping",
"Host": "192.168.1.1"
},
{
"Type": "ping",
"Host": "bt.com"
},
{
"Type": "dns",
"Host": "facebook.com"
},
{
"Type": "get",
"Host": "https://twitter.com"
}
],
"OnConnected": "",
"OnConnectedArgs": "",
"OnDisconnected": "",
"OnDisconnectedArgs": ""
}
ping
Pingdns
DNS lookupget
HTTP GET request
Get the package from here.
Install the required .NET SDK.
Run:
$ dotnet build