rbicelli / pfsense-zabbix-template

Zabbix Template for pfSense
Apache License 2.0
240 stars 107 forks source link

HTTP Speedtest request error #127

Closed salatielcf closed 1 year ago

salatielcf commented 1 year ago

When trying to run the speedtest sometimes it gives the HTTP error, after changing the command the connections are via HTTPS.

Cannot retrieve speedtest configuration ERROR: HTTP Error 403: Forbidden

Fixed with changing the command run in php

function pfz_speedtest_exec $st_command = "/usr/local/bin/speedtest --source $ipaddr --json > $filetemp";

Added --secure

$st_command = "/usr/local/bin/speedtest --secure --source $ipaddr --json > $filetemp";

No more failures