34 lines
1.4 KiB
ReStructuredText
34 lines
1.4 KiB
ReStructuredText
``profile::icinga::checks::puppet_client``
|
|
==========================================
|
|
|
|
This profile is called when ``puppet`` client is being configured.
|
|
|
|
Setup specific checks for the Puppet Client:
|
|
* It will check that the current running environment is ``puppet_environment``.
|
|
Otherwise it will return a **nagios** ``WARNING`` message and error.
|
|
|
|
Parameters
|
|
----------
|
|
|
|
================== ========== =============================================================
|
|
**Name** **Type** **Default**
|
|
------------------ ---------- -------------------------------------------------------------
|
|
puppet_environment String hiera('icinga::checks::options::puppet_environment',**prod**)
|
|
================== ========== =============================================================
|
|
|
|
``puppet_environment``
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This setting defaults to the puppet environment ``prod``. Can be changed from YAML by setting
|
|
``icinga::checks::options::puppet_environment`` to a different value.
|
|
|
|
Facts
|
|
-----
|
|
|
|
When some specific facts are detected, it will trigger some actions.
|
|
|
|
===================================== =============== ==============================================
|
|
**Fact** **Value(s)** **Action description**
|
|
------------------------------------- --------------- ----------------------------------------------
|
|
===================================== =============== ==============================================
|