ganglia::gmetad
: ganglia::gmetad Manages ganglia gmond & gmetad daemons + web front endganglia::gmond
: ganglia::gmond Manages ganglia gmond & gmetad daemons + web front endganglia::params
: ganglia::params provides parameters for the ganglia moduleganglia::web
: ganglia::web Sets php web package and config for Ganglia
ganglia_validate_clusters
: The following values will pass: * [{ 'name' => 'my cluster', 'address' => 'localhost' }] * [{ 'name' => 'my cluster', 'address' => 'localhosganglia_validate_rras
: The following values will pass: * [{ cf => 'AVERAGE', xff => 0.5, steps => 1, rows => 5856 }] * [ { cf => 'AVERAGE', xff =>
ganglia::gmetad Manages ganglia gmond & gmetad daemons + web front end
- See also
The following parameters are available in the ganglia::gmetad
class:
all_trusted
clusters
gridname
rras
trusted_hosts
gmetad_package_name
gmetad_package_ensure
gmetad_service_name
gmetad_service_config
gmetad_user
gmetad_hostnames_case
gmetad_status_command
Data type: Enum['on', 'off']
Default value: 'off'
Data type: Array[Hash]
Default value: [{ 'name' => 'my cluster', 'address' => 'localhost' }]
Data type: Optional[String[1]]
Default value: undef
Data type: Array[Hash]
see README.md
Default value: $ganglia::params::rras
Data type: Array[String[1]]
Default value: []
Data type: Variant[String[1], Array[String[1]]]
Default value: $ganglia::params::gmetad_package_name
Data type: String[1]
Default value: 'present'
Data type: String[1]
Default value: $ganglia::params::gmetad_service_name
Data type: String[1]
Default value: $ganglia::params::gmetad_service_config
Data type: String[1]
Default value: $ganglia::params::gmetad_user
Data type: Integer[0, 1]
Default value: $ganglia::params::gmetad_hostnames_case
Data type: String[1]
Default value: $ganglia::params::gmetad_status_command
ganglia::gmond Manages ganglia gmond & gmetad daemons + web front end
- See also
The following parameters are available in the ganglia::gmond
class:
globals_deaf
globals_host_dmax
globals_send_metadata_interval
globals_override_hostname
globals_user
globals_max_udp_msg_len
cluster_name
cluster_owner
cluster_latlong
cluster_url
host_location
udp_send_channel
udp_recv_channel
tcp_accept_channel
gmond_package_name
gmond_package_ensure
gmond_service_name
gmond_service_config
gmond_status_command
Data type: String[1]
Default value: 'no'
Data type: String[1]
Default value: '0'
Data type: String[1]
Default value: '300'
Data type: Optional[Stdlib::Fqdn]
Default value: undef
Data type: String[1]
Default value: 'ganglia'
Data type: Integer
Default value: 1472
Data type: String[1]
Default value: 'unspecified'
Data type: String[1]
Default value: 'unspecified'
Data type: String[1]
Default value: 'unspecified'
Data type: Optional[Variant[Stdlib::HTTPUrl,Stdlib::Fqdn]]
Default value: undef
Data type: String[1]
Default value: 'unspecified'
Data type: Array[Hash]
Default value: [{ mcast_join => '239.2.11.71', port => 8649, ttl => 1 }]
Data type: Array[Hash]
Default value: [{ mcast_join => '239.2.11.71', port => 8649, bind => '239.2.11.71' }]
Data type: Array[Hash]
Default value: [{ port => 8659 }]
Data type: Variant[String[1], Array[String[1]]]
Default value: $ganglia::params::gmond_package_name
Data type: String[1]
Default value: 'present'
Data type: String[1]
Default value: $ganglia::params::gmond_service_name
Data type: String[1]
Default value: $ganglia::params::gmond_service_config
Data type: String[1]
Default value: $ganglia::params::gmond_status_command
ganglia::params provides parameters for the ganglia module
ganglia::web Sets php web package and config for Ganglia
The following parameters are available in the ganglia::web
class:
Data type: Stdlib::IP::Address
IP address of web daemon
Default value: '127.0.0.1'
Data type: Integer
Port of web daemon
Default value: 8652
Type: Ruby 3.x API
The following values will pass:
- [{ 'name' => 'my cluster', 'address' => 'localhost' }]
- [{ 'name' => 'my cluster', 'address' => 'localhost', 'polling_interval' => 10 }]
- [ { 'name' => 'foo', 'address' => [ 'foo1.example.org', 'foo2.example.org', 'foo3.example.org', ], }, { 'name' => 'bar', 'address' => [ 'bar1.example.org', 'bar2.example.org', 'bar3.example.org' ], 'polling_interval' => 42, }, { 'name' => 'baz', 'address' => [ 'baz1.example.org', 'baz2.example.org', 'baz3.example.org', ], }, ]
The following values will fail, causing compilation to abort:
- true
- false
- {}
- 'foo'
- undef
- []
- ['foo', 'bar']
- [{}, {}]
- [{ 'address' => 'localhost' }]
- [{ 'name' => ['my cluster'], 'address' => 'localhost' }]
- [{ 'name' => 'my cluster' }]
- [{ 'name' => 'my cluster', 'address' => {'a' => 1} }]
- [{ 'name' => 'my cluster', 'address' => 'localhost', 'polling_interval' => [ 10 ] }]
- [{ 'name' => 'my cluster', 'address' => 'localhost', 'polling_interval' => 10, 'foo' => 1, 'bar' => 2 }]
The following values will pass:
- [{ 'name' => 'my cluster', 'address' => 'localhost' }]
- [{ 'name' => 'my cluster', 'address' => 'localhost', 'polling_interval' => 10 }]
- [ { 'name' => 'foo', 'address' => [ 'foo1.example.org', 'foo2.example.org', 'foo3.example.org', ], }, { 'name' => 'bar', 'address' => [ 'bar1.example.org', 'bar2.example.org', 'bar3.example.org' ], 'polling_interval' => 42, }, { 'name' => 'baz', 'address' => [ 'baz1.example.org', 'baz2.example.org', 'baz3.example.org', ], }, ]
The following values will fail, causing compilation to abort:
- true
- false
- {}
- 'foo'
- undef
- []
- ['foo', 'bar']
- [{}, {}]
- [{ 'address' => 'localhost' }]
- [{ 'name' => ['my cluster'], 'address' => 'localhost' }]
- [{ 'name' => 'my cluster' }]
- [{ 'name' => 'my cluster', 'address' => {'a' => 1} }]
- [{ 'name' => 'my cluster', 'address' => 'localhost', 'polling_interval' => [ 10 ] }]
- [{ 'name' => 'my cluster', 'address' => 'localhost', 'polling_interval' => 10, 'foo' => 1, 'bar' => 2 }]
Returns: Any
Type: Ruby 3.x API
The following values will pass:
-
[{ cf => 'AVERAGE', xff => 0.5, steps => 1, rows => 5856 }]
-
[ { cf => 'AVERAGE', xff => 0.5, steps => 1, rows => 5856 }, { cf => 'MAX', xff => 0.5, steps => 1, rows => 5856 }, ]
-
cf (consolidation function) must be AVERAGE | MIN | MAX | LAST
-
xff (xfiles factor) must be a float between 0 and 1
-
steps must be an integer
-
rows must be an integer greater than zero
If all hashes are not defined then compilation will fail
The following values will pass:
-
[{ cf => 'AVERAGE', xff => 0.5, steps => 1, rows => 5856 }]
-
[ { cf => 'AVERAGE', xff => 0.5, steps => 1, rows => 5856 }, { cf => 'MAX', xff => 0.5, steps => 1, rows => 5856 }, ]
-
cf (consolidation function) must be AVERAGE | MIN | MAX | LAST
-
xff (xfiles factor) must be a float between 0 and 1
-
steps must be an integer
-
rows must be an integer greater than zero
If all hashes are not defined then compilation will fail
Returns: Any