External script that will use wget to check the status of a proxy server and the ability to login with a username and password. This check will report any failure in the ability to reach or login to the proxy services.
Script type: BASH
Depends on: WGET
Item Key Example: check_proxy[-u username -p password -proxy 100.100.100.100 -port 8080 -url yahoo.com]
Script Args
-u username
-p password
-proxy proxyIP
-port proxyPORT
-url website_to_check
Note: This script discards the first passed argument ($1) which is the name of the host. You will have to pass this via -proxy manual or with Zabbix macros.
Security Note: DO NOT use a regular user account for performing checks. You should create a very limited user that is on the proxy itself. Do not use your freaking admin account. (grrr, lol)
If you have any questions or valued input, please let me know.
Enjoy.
Script type: BASH
Depends on: WGET
Item Key Example: check_proxy[-u username -p password -proxy 100.100.100.100 -port 8080 -url yahoo.com]
Script Args
-u username
-p password
-proxy proxyIP
-port proxyPORT
-url website_to_check
Note: This script discards the first passed argument ($1) which is the name of the host. You will have to pass this via -proxy manual or with Zabbix macros.
Security Note: DO NOT use a regular user account for performing checks. You should create a very limited user that is on the proxy itself. Do not use your freaking admin account. (grrr, lol)
If you have any questions or valued input, please let me know.
Enjoy.