File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252# Sample Usage:
5353#
5454# class { 'datadog_agent::integrations::http_check':
55+ # name => 'google',
5556# url => 'http://www.google.com/',
5657# }
5758#
5859# class { 'datadog_agent::integrations::http_check':
60+ # name => 'local',
5961# url => 'http://localhost/',
6062# headers => ['Host: stan.borbat.com', 'DNT: true'],
6163# tags => ['production', 'wordpress'],
6264# }
6365#
6466# class { 'datadog_agent::integrations::http_check':
67+ # name => 'localhost-9001',
6568# url => 'http://localhost:9001/',
6669# timeout => 5,
6770# threshold => 1,
7477#
7578#
7679class datadog_agent::integrations::http_check (
80+ $name = undef ,
7781 $url = undef ,
7882 $username = undef ,
7983 $password = undef ,
9296
9397 if !$instances and $url {
9498 $_instances = [{
99+ ' name' => $name ,
95100 ' url' => $url ,
96101 ' username' => $username ,
97102 ' password' => $password ,
You can’t perform that action at this time.
0 commit comments