CBitrixCloudMonitoring::startMonitoringAgent: Bitrix method

      
<?php 
//  CBitrixCloudMonitoring :: startMonitoringAgent()
//  /dist/bitrix/modules/bitrixcloud/classes/general/monitoring.php:316

    
public static function startMonitoringAgent()
    {
        
$monitoring CBitrixCloudMonitoring::getInstance();
        
$rsR CLanguage::GetById("ru");
        if (
$rsR->Fetch())
            
$language_id "ru";
        else
        {
            
$rsD CLanguage::GetById("de");
            if (
$rsD->Fetch())
                
$language_id "de";
            else
                
$language_id "en";
        }

        
$monitoring->startMonitoring(
            
COption::GetOptionString("main""server_name"""),
            
false,
            
$language_id,
            array(
                
COption::GetOptionString("main""email_from"""),
            ),
            array(
                
"test_lic",
                
"test_domain_registration",
                
"test_http_response_time",
            )
        );
        return 
"";
    }