根据此开源程序的Issues:https://github.com/nerdbaggy/StatusPage/issues/37 老外出现的问题及修复办法 修复问题 没有效果。。。

大意应该是替换getChecksJson($action)为getChecksJson()
替换url = 'https://api.uptimerobot.com/getMonitors?apikey=API-KEY&format=json&noJsonCallback=1&customUptimeRatio=1-7-30-360';中的API-KEY为自己的apikey

为啥修改后么效果呢。。。求懂英文的大神指点下。。。

Quickfix: (works for me)
/statuspage/statusPage.php
Replace getChecksJson()
Replace API-KEY with your own Api-Key

###
private function getChecksJson($action)
{
$apiKey = constant('apiKey');
$historyDay = constant('historyDay');

$url = 'https://api.uptimerobot.com/getMonitors?apikey=API-KEY&format=json&noJsonCallback=1&customUptimeRatio=1-7-30-360';

if ($action){

$url .= '&logs=1&responseTimes=1&responseTimesAverage=30&showTimezone=1';
}

if (constant('includedMonitors') != '') {
$monitors = constant('includedMonitors');
$url .= "&monitors=$monitors";
}

if (constant('searchMonitors') != '') {
$search = constant('searchMonitors');
$url .= "&search=$search";
}

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => $url,
#CURLOPT_USERAGENT => 'UptimeRobot Public Status Page',
CURLOPT_SSL_VERIFYPEER => FALSE,
CURLOPT_CONNECTTIMEOUT => 15
));

$checks = json_decode(curl_exec($curl), TRUE);
//Checks to make sure curl is happy
if (curl_errno($curl)) {
return False;
}
curl_close($curl);

//Checks to make sure UptimeRobot didn't return any errors
if ($checks['stat'] != 'ok') {
error_log('UptimeRobot API Error - ' . $checks['message']);
return False;
}

return $checks;