check_mk
: Empty class, do not include. See check_mk::client or check_mk::servercheck_mk::client
: Installs and configures check_mk agentcheck_mk::server
: Configures Check_mk server
check_mk::client::config
: This class is called from check_mk::client to configure base thingscheck_mk::client::install
: This class is called from check_mk::client to install the agentcheck_mk::server::config
: This class is called from check_mk::server to configure server things.check_mk::server::install
: This class is called from check_mk::server for installation of required packages.
check_mk::client::configuration_item
: Deploys one configuration filecheck_mk::client::library_item
: deploys one library_item file, that is e.g. a plugin or a local check
Empty class, do not include. See check_mk::client or check_mk::server
Library- and Configuration- items are indented for those, who don't want or can't use the agent bakery Not managed Library- and Configuration- items will be deleted!
include check_mk::client
The following parameters are available in the check_mk::client
class.
Data type: String[1]
The name of the Check_mk agent package
Data type: String[1]
The ensure
value to use when installing the agent. This option can be used to install a specific package version.
Data type: Stdlib::Absolutepath
The Check_mk agent base configuration directory (e.g. /etc/check_mk
)
Data type: String[1]
The default file mode for Check_mk agent configuration files. Can be overwritten per configuration_item
Data type: Stdlib::Absolutepath
The base path of plugins, local checks (e.g. /usr/lib/check_mk_agent
)
Data type: String[1]
The default file mode for Check_mk agent configuration files. Can be overwritten per library_item.
Data type: Optional[Integer[0]]
The default interval of plugins and local checks. This can be used to configure caching for explicit libs.
Default value: undef
Data type: Optional[String[1]]
Where to find the sources of library items rolled out by source
(and not by content). You can configure you own file storage here (could be an extra repo with special permissions for monitoring admins…)
Default value: undef
Data type: Optional[String[1]]
Wraps an instance of configuration_item and defines the encryption secret for the check_mk_agent.
Default value: undef
Data type: Optional[Hash[String[1],Array[String[1]]]]
Wraps an instance of configuration_item and defines logwatch entries for the check_mk_agent.
Default value: undef
Data type: Optional[Hash[String[1],Hash]]
Is a hash and wraps instances of configuration_item to provide a speaking name for monitoring admins. For examples see README.md
Default value: undef
Data type: Optional[Hash]
Is a hash and installes files in configuration_item_path (e.g. /etc/check_mk/mrpe.cfg
). For examples see README.md
Default value: undef
Data type: Optional[String[1]]
Where to find epp templates, when the $config of a configuration_item is a hash. For examples see README.md
Default value: undef
Data type: Optional[Hash[String[1],Optional[Hash[String[1],NotUndef]]]]
Is a hash and wraps instances of library_item to provide a speaking name for monitoring admins. For examples see README.md
Default value: undef
Data type: Optional[Hash[String[1],Optional[Hash[String[1],NotUndef]]]]
Is a hash and wraps instances of library_item to provide a speaking name for monitoring admins. For examples see README.md
Default value: undef
Data type: Optional[Hash]
Is a hash and installes files in library_item_path (e.g. /usr/lib/check_mk_agent/${library_path}/${name}
). For examples see README.md
Default value: undef
Data type: Optional[Stdlib::Absolutepath]
Where to find the package, if you don't have it in a repo.
Default value: undef
Data type: Optional[String[1]]
What puppet package provider to use for installing it. Mandatory, if you gave package_source
.
Default value: undef
Does not create or manage omd sites as it should be done manually and in WATO
include check_mk::server
The following parameters are available in the check_mk::server
class.
Data type: Optional[Array[String[1]]]
install depending packages
Default value: undef
Data type: Optional[Hash[String[1], Hash[String[1], String[1]]]]
hash of users per omd site, supports wildcard * (= all sites)
Default value: undef
delets not managed files rollout either per template or per file content string
check_mk::client::configuration_item { 'namevar': config => 'my\ncontent', }
The following parameters are available in the check_mk::client::configuration_item
defined type.
Data type: Variant[Hash, Sensitive[String[1]], String[1]]
Give a String for direct file content
or a hash to deploy the config per epp template. For examples see README.md
Data type: Stdlib::Absolutepath
Where to put the file. Defaults to $::check_mk::client::configuration_item_path
Default value: $::check_mk::client::configuration_item_path
Data type: String[1]
Which file mode to set. Defaults to $::check_mk::client::configuration_item_default_mode
Default value: $::check_mk::client::configuration_item_default_mode
Data type: Optional[String[1]]
In which path to find to epp template. Defaults to $::check_mk::client::configuration_item_default_epp_path
. The template has to be named as the namevar of the configuration_item.
Default value: $::check_mk::client::configuration_item_default_epp_path
delets not managed files rollout either per source (content == undef) or per file content string
check_mk::client::library_item { 'namevar': library_path => 'plugin', content => 'my\nfancy\ncmk plugin', }
The following parameters are available in the check_mk::client::library_item
defined type.
Data type: String[1]
Is the 'type' of the item. Is usually one of 'plugin' or 'local' (for a cmk local check)
Data type: String[1]
Which file mode to set. Defaults to $::check_mk::client::library_item_default_mode
Default value: $::check_mk::client::library_item_default_mode
Data type: Optional[Integer[0]]
In which interval the item should be executed (cached). Defaults to $::check_mk::client::library_item_default_exec_interval
Default value: $::check_mk::client::library_item_default_exec_interval
Data type: Optional[String[1]]
Where to find the item, if
Default value: $::check_mk::client::library_item_default_file_source_path
Data type: Optional[String[1]]
A string for direct 'file content' for the item
Default value: undef
Data type: Optional[Array[String[1]]]
Installes additional packages, if an item requires it.
Default value: undef