A simple CLI to test if hosts are pingable
Install using pip:
$ pip install servercheck
$ servercheck -s example.com:80 -s google.com:80
{'success': ['google.com:80', 'example.com:80'], 'failure': []}
By adding -f flag followed by JSON file name, we can read list of hosts from a json file.