EDIT: VBS Code breaks the page. I will PM you my solution.
I posted PHP code a while back... despite the "ac3" in the file name, it does work with Apex. There are two files... one outputs the status in HTML table format, the other as a PNG image. The code in the files is an early version of what's used today on Reeftronics
//exec("wget -q -O status.xml - http://$username:$password@$hostname:$port/cgi-bin/status.xml",$xmlget,$err);
//if ($err) die("Could not retrieve XML file")
ini_set('allow_url_fopen', 'on');
$f_url = 'http://'.$username.':'.$password.'@'.$hostname.':'.$port.'/cgi-bin/status.xml';
file_put_contents('status.xml', file_get_contents($f_url));
ini_set('allow_url_fopen', 'off');
"URL file-access is disabled in the server configuration"
Your host is not allowing the file_get_contents function to execute.
wget -v http://username:password@hostname:port/cgi-bin/status.xml