All resource about cdn what we research in KMA
-
Requirements
- influxdb-server
- redis-server
-
Install python library
pip install -r requirements.txt
-
Install fping toool
On Ubuntu
apt-get install -y fping
On CentOS, RHEL
yum install -f fping
Example Config file '/etc/ping.conf'
[DEFAULT]
dc_name = Ha-Noi
process = 8
[influxdb]
host = influxdb.sapham.net
database = ping3
username = ping
password = xxxxx
[redis]
host = 45.124.93.137
password = xxxxx
- Simple command
python ping.py