Files
gitea-pages/engineering-guide/puppet/profiles/icinga/checks/service.rst
T

37 lines
1.6 KiB
ReStructuredText

``profile::icinga::checks::service``
====================================
This class will configure Nagios checks for one or more ``systemctl`` services. This can be done by setting
a list of services with the ``icinga::checks::service::list`` *hiera* setting. ``check_service`` is the
script that will be in charge for that, which is also used by other Nagios scripts (i.e. ``check_slurm`` &
``check_gpfs``) to check specific services for these alarms.
Parameters
----------
===================== ========== =========================================================================
**Name** **Type** **Default**
--------------------- ---------- -------------------------------------------------------------------------
service_list Array ``'icinga::checks::service::list'``, defaults to ``'[]'``
===================== ========== =========================================================================
``service_list``
~~~~~~~~~~~~~~~~
The default value is an empty ``Array`` (``'[]'``). Hence, no ``systemctl`` services are checked.
This value can be overwritten with a list of services. In example::
icinga::checks::service::list:
- ntpd
- postfix
Facts
-----
When some specific facts are detected, it will trigger some actions.
===================================== =============== ==============================================
**Fact** **Value(s)** **Action description**
------------------------------------- --------------- ----------------------------------------------
===================================== =============== ==============================================