HI,
Attaching a small perl script to check latency of a given URL
via several pre-defined Proxy Servers.
Proxy are hard coded within the script (for now, I guess) and can be modified freely (on the top side of the script, no Perl knowledge is required)
This script is intended to be run via Cron on the Zabbix Server.
On my setup, I have added two items to the Zabbix Server Host, defined as Zabbix External with the name 'www[REGIONtime]' e.g: www[eutime]
Comments / enhancements are greatly appreciated!
Usage is as following:
./proxy_wget.pl [-u <url>] [-c <count>] [-r <region>] [-v <level>] [-h]
url: URL to be tested
count: Number of iterations to calculate
region: Which proxy / Region to use
level: Verbosity level
Attaching a small perl script to check latency of a given URL
via several pre-defined Proxy Servers.
Proxy are hard coded within the script (for now, I guess) and can be modified freely (on the top side of the script, no Perl knowledge is required)
This script is intended to be run via Cron on the Zabbix Server.
On my setup, I have added two items to the Zabbix Server Host, defined as Zabbix External with the name 'www[REGIONtime]' e.g: www[eutime]
Comments / enhancements are greatly appreciated!
Usage is as following:
./proxy_wget.pl [-u <url>] [-c <count>] [-r <region>] [-v <level>] [-h]
url: URL to be tested
count: Number of iterations to calculate
region: Which proxy / Region to use
level: Verbosity level
umper;
Comment