Class ovh::oco
In:

Defines

check  

Classes and Modules

Class ovh::oco::daemon

Defines

check( $freq => '60sec', $ensure => 'present', $http_path => '/', $http_host => '127.0.0.1' )

Define: ovh::oco::check

Configure an OvhCheckOut check. Currently only http is supported. Automatically includes the daemon class.

Parameters:

 $freq:
   The check execution frequency. Must be '60sec', '120sec' or '300sec'.
   Defaults to '60sec'.
 $http_host:
   The IP address or host name for the check of 'http' type. Defaults to
   '127.0.0.1'.
 $http_path:
   The URL path for the check of type 'http'. Defaults to '/'.
 $ensure:
   Whether the check should be 'present' or 'absent'. Defaults to 'present'.

Sample Usage :

 ovh::oco::check { 'http':
     freq      => '300sec',
     http_path => '/my-health-check.php',
 }

[Validate]