In ss_get_by_ssh.php, in the get_stats_apache() function, $srv is defined
to keep track of the server name to use when calling Apache. However, $srv
is not used in the call itself, located a few lines below:
$cmd = "$cmd wget $auth -U Cacti/1.0 -q -O - -T 5 'http://localhost$url?auto'";
This line should probably read:
$cmd = "$cmd wget $auth -U Cacti/1.0 -q -O - -T 5 'http://$srv$url?auto'";
Original issue reported on code.google.com by highprof...@gmail.com on 30 Apr 2009 at 5:37
Original issue reported on code.google.com by
highprof...@gmail.com
on 30 Apr 2009 at 5:37