|
|
@ -22,10 +22,10 @@ $up = $registry->getOrRegisterGauge(
|
|
|
|
$up->set(1, []);
|
|
|
|
$up->set(1, []);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$host = '192.168.178.55';
|
|
|
|
$host = getenv('QUERY_HOST');
|
|
|
|
$port = 10011;
|
|
|
|
$port = getenv('QUERY_PORT');
|
|
|
|
$user = rawurlencode('serveradmin');
|
|
|
|
$user = rawurlencode(getenv('QUERY_USER_NAME'));
|
|
|
|
$password = rawurlencode('4NReP1Wf');
|
|
|
|
$password = rawurlencode(trim(file_get_contents(getenv('QUERY_USER_PASSWORD_FILE'))));
|
|
|
|
|
|
|
|
|
|
|
|
$uri = 'serverquery://'.$user.':'.$password.'@'.$host.':'.$port.'/';
|
|
|
|
$uri = 'serverquery://'.$user.':'.$password.'@'.$host.':'.$port.'/';
|
|
|
|
|
|
|
|
|
|
|
|