<commit_before>==========
Extensions
==========

*******
Modules
*******

The modules can be used to add additional functionalities to Centreon.
It is possible to install modules using the YUM utility or source files (\*.tar.gz).

There are 3 kinds of modules:

* **Community** modules, under licence GPL v2, developed by the Centreon community
* **Core** modules, under licence GPL v2, developed by the Centreon team
* **Proprietary** modules, subject to a licence, developed by `Centreon <http://www.centreon.com>`_

To install a module:

1. Install the module from the associated documentation (most often in the directory: /usr/share/Centreon/www/modules on the central server)
2. Go into the menu: **Administration** ==> **Extensions**

.. image :: /images/guide_exploitation/cextensions.png
   :align: center

3. Click on the |install| icon to start installation of the module
4. Click now on Install to install the module

The table below summarises the columns of the page:

+-------------------------+------------------------------------------------------------------------------------------------------------+
|   Column                |  Description                                                                                               |
+=========================+============================================================================================================+
| Name                    | Contains module name                                                                                       |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Real name               | Contains module complete name                                                                              |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Informations            | Contains information about the module                                                                      |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Release                 | Indicates the module version                                                                               |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Author                  | Indicates the module author                                                                                |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Expiration date         | Indicates licence expiration date                                                                          |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Installed               | Indicates if the module is installed or not                                                                |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Status                  | Indicates the module status : installed, installed but without license, unknown etc.                       |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Actions                 | Serves to perform actions on a module :                                                                    |
|                         |                                                                                                            |
|                         | To install a module, click on |install|                                                                    |
|                         |                                                                                                            |
|                         | To configure a module, click on |configure|                                                                |
|                         |                                                                                                            |
|                         | To delete a module, click on |delete|, and then confirm the deletion                                       |
|                         |                                                                                                            |
|                         | To update a module, click on |update| and then follow the process                                          |
+-------------------------+------------------------------------------------------------------------------------------------------------+

*******
Widgets
*******

Widgets enable us to construct customised views, dealt with in the chapter covering :ref:`widgets <leswidgets>`.

To install a widget:

#. Install the widget from the associated documentation (most commonly in the directory entitled: **/usr/share/Centreon/www/modules** on the central server)
#. Go into the menu: **Administration** ==> **Extensions**
#. In the left menu, click on **Setup** under **Widgets**
#. Click on |install| to start the installation of the widget

The table below summarises the columns of the page:

+-------------------------+------------------------------------------------------------------------------------------------------------+
|   Column                |  Description                                                                                               |
+=========================+============================================================================================================+
| Title                   | Contains widget name                                                                                       |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Description             | Contains information about the widget                                                                      |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Version                 | Indicates widget version                                                                                   |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Author                  | Indicates widget author                                                                                    |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Actions                 | Serves to perform actions on a widget:                                                                     |
|                         |                                                                                                            |
|                         | To install a widget, click on |install|                                                                    |
|                         |                                                                                                            |
|                         | To delete a widget, click on |delete|,  and then confirm the deletion                                      |
|                         |                                                                                                            |
|                         | To update a widget, click on |update| and then follow the process                                          |
+-------------------------+------------------------------------------------------------------------------------------------------------+

.. |enabled|    image:: /images/enabled.png
.. |disabled|    image:: /images/enabled.png
.. |install|    image:: /images/install.png
.. |delete|    image:: /images/garbage_empty.png
.. |configure|    image:: /images/configure.png
.. |update|    image:: /images/guide_exploitation/cupdate.png
<commit_msg>fixed #3888 - wrong path to install widgets<commit_after>==========
Extensions
==========

*******
Modules
*******

The modules can be used to add additional functionalities to Centreon.
It is possible to install modules using the YUM utility or source files (\*.tar.gz).

There are 3 kinds of modules:

* **Community** modules, under licence GPL v2, developed by the Centreon community
* **Core** modules, under licence GPL v2, developed by the Centreon team
* **Proprietary** modules, subject to a licence, developed by `Centreon <http://www.centreon.com>`_

To install a module:

1. Install the module from the associated documentation (most often in the directory: **/usr/share/centreon/www/modules** on the central server)
2. Go into the menu: **Administration** ==> **Extensions**

.. image :: /images/guide_exploitation/cextensions.png
   :align: center

3. Click on the |install| icon to start installation of the module
4. Click now on Install to install the module

The table below summarises the columns of the page:

+-------------------------+------------------------------------------------------------------------------------------------------------+
|   Column                |  Description                                                                                               |
+=========================+============================================================================================================+
| Name                    | Contains module name                                                                                       |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Real name               | Contains module complete name                                                                              |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Informations            | Contains information about the module                                                                      |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Release                 | Indicates the module version                                                                               |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Author                  | Indicates the module author                                                                                |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Expiration date         | Indicates licence expiration date                                                                          |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Installed               | Indicates if the module is installed or not                                                                |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Status                  | Indicates the module status : installed, installed but without license, unknown etc.                       |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Actions                 | Serves to perform actions on a module :                                                                    |
|                         |                                                                                                            |
|                         | To install a module, click on |install|                                                                    |
|                         |                                                                                                            |
|                         | To configure a module, click on |configure|                                                                |
|                         |                                                                                                            |
|                         | To delete a module, click on |delete|, and then confirm the deletion                                       |
|                         |                                                                                                            |
|                         | To update a module, click on |update| and then follow the process                                          |
+-------------------------+------------------------------------------------------------------------------------------------------------+

*******
Widgets
*******

Widgets enable us to construct customised views, dealt with in the chapter covering :ref:`widgets <leswidgets>`.

To install a widget:

#. Install the widget from the associated documentation (most commonly in the directory entitled: **/usr/share/centreon/www/widgets** on the central server)
#. Go into the menu: **Administration** ==> **Extensions**
#. In the left menu, click on **Setup** under **Widgets**
#. Click on |install| to start the installation of the widget

The table below summarises the columns of the page:

+-------------------------+------------------------------------------------------------------------------------------------------------+
|   Column                |  Description                                                                                               |
+=========================+============================================================================================================+
| Title                   | Contains widget name                                                                                       |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Description             | Contains information about the widget                                                                      |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Version                 | Indicates widget version                                                                                   |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Author                  | Indicates widget author                                                                                    |
+-------------------------+------------------------------------------------------------------------------------------------------------+
| Actions                 | Serves to perform actions on a widget:                                                                     |
|                         |                                                                                                            |
|                         | To install a widget, click on |install|                                                                    |
|                         |                                                                                                            |
|                         | To delete a widget, click on |delete|,  and then confirm the deletion                                      |
|                         |                                                                                                            |
|                         | To update a widget, click on |update| and then follow the process                                          |
+-------------------------+------------------------------------------------------------------------------------------------------------+

.. |enabled|    image:: /images/enabled.png
.. |disabled|    image:: /images/enabled.png
.. |install|    image:: /images/install.png
.. |delete|    image:: /images/garbage_empty.png
.. |configure|    image:: /images/configure.png
.. |update|    image:: /images/guide_exploitation/cupdate.png

{'fraction_non_alphanumeric': 0.3327404245227084, 'fraction_numerical': 0.0010672358591248667, 'mean_word_length': 0.499422170859632, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 178, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '814728', 'n_tokens_mistral': 2036, 'n_tokens_neox': 1874, 'n_words': 764}