Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Make by tools (01.00.01) - action=merge_page
Scroll Ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Panel
titleSommaire

Table of Contents
stylenone

Concept

Cette page dΓ©taille les diffΓ©rentes options de configuration des modules de type webui__module_report_handler.

Configuration

Si aucun module de type webui__module_report_handlerΒ n'a Γ©tΓ© personnalisΓ©,Β  la configuration se trouve dans le fichier :

  • /etc/shinken/modules/webui--module-report-handler.cfg

Un exemple de configuration se trouve Γ©galement dans :

  • /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui__module_report_handler/webui--module-report-handler-example.cfg

Exemple de fichier de configuration

Code Block
languagejs
themeConfluence
# CFG_FORMAT_VERSION 1 ( SHINKEN : DON'T TOUCH THIS LINE )

#================================================================================
# webui--module-report-handler
#================================================================================
# Modules that can load this module:
# - WebUI
# This module is used to handle reports generation on WebUI.
#================================================================================

define module {

    # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ─────────────────────────────────────────────    MODULE IDENTITY    ───────────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ─── Module name [ Must be unique ]                                                                    [ MANDATORY ] ───
    # ───                                                                                                                 ───
    module_name                                         webui--module-report-handler

    # ─── Module type [ Do not edit ]                                                                       [ MANDATORY ] ───
    # ───                                                                                                                 ───
    module_type                                         webui__module_report_handler

    # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ────────────────────────────────────────    REPORT BUILDER PARAMETERS    ──────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ────────────────────  ConnectivityPDF Reports  ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── #

    # ─── This parameter definesActivates the externalPDF serverreports. addresses to use to generate reports.                                ───
    # ─── Here is the syntax : <Protocol>://<Hostname>:<Port>                                     ───
    # ─── This option will add the PDF generation feature ( button in the reporting form, via URL ).  ───
    # ─── For now, the managed protocol are : http / https     ───
    # ───       /!\ The background task required to generate PDFs will consume up to 700 MB, PER WebUI MODULE AND         ───
    # ───           PER broker--module-report-builder MODULE, even when not in use.  ───
    #                                 ───
    # ───       /!\ This feature is NOT SUPPORTED on CentOS / RedHat 7.                                                   ───
    # ───      ───
    #           Default : empty ( The WebUI will generate the report itself. )                                            ───
    # ───       Example : http://127.0.0.1:24100, http://192.168.1.220:24100                      ───
    #                    ───
    #                                                                                             ───
    #           Default : 0 => Disable     ───
    # webui__module_report_handler__report_builder__backends 

    # ─── Token used to authenticate on the broker--module-report-builder modules                                         ───
    # ─── Must be the token set in "broker__module_report_builder__token" option      ───
    #           ...     : 1      => Enable         ───
    # ─── of the broker--module-report-builder modules.                                                                   ───
    # ───       /!\ This token is used globally for all the backends defined above!                                       ───
    # ───       /!\ This means that all the Broker modules must have the same authentication token.                       ───
    #    ───
    # webui__module_report_handler__report_builder__pdf_reports__enable 0

 Default : [empty] # ────────────────────  Connectivity  ───────────────────────────────────────────────────────────────────────────────── #

    # ─── This parameter defines the external server addresses to use to generate reports.                                ───
    # ─── Here is the syntax : <Protocol>://<Hostname>:<Port>                      ───
    #                                   ───
    # ─── For now, the managed protocol are : http /   https                                                                 ───
    # webui__module_report_handler__report_builder__token 

    # ──────────────────────  Timeouts  ─────────────────────────────────────────────────────────────────────────────────── #

    # ─── How many seconds to consider a node does not answer.                                                            ───
    #                          ───
    #           Default : empty ( The WebUI will generate the report itself. )                                            ───
    # ───       Example : http://127.0.0.1:24100, http://192.168.1.220:24100      ───
    #           Default : 3 ( seconds )                    ───
    #                                                           ───
    # ───                                                     ───
    # webui__module_report_handler__report_builder__backends 

    # ─── Token used to authenticate on the broker--module-report-builder modules                                         ───
    # webui ─── Must be the token set in "broker__module_report_handler__report_builder__timeout 3

token" option     # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ───────────────────────────────────────────────    STATISTICS    ──────────────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ─── Ranges definition for the check "Broker - $KEY$───
 - Module Visualisation UI# -─── Reportof Handler - Performance"the broker--module-report-builder modules.       ───
    # ───       Example:                                                ───
    # ───       /!\ This token is used globally for all the backends defined above!                                       ───
    # ───       /!\ This means that -all Reportsthe writtenBroker inmodules lessmust thanhave 5the secondssame will be classified in the first category.authentication token.                       ───
    # ───           - Those made in less than 10 seconds will be in the second.                                           ───
    # ───           - etc.                              ───
    #                                                              ───
    #                                                   ───
    #           Default : [empty]                                                  ───
    #           Default : 5,10,20,30,60,120,300,600 ( seconds )                   ───
    # ───                                   ───
    # ───                                                                         ───
    # webui__module_report_handler__report_builder__token 

    # ──────────────────────  Timeouts  ─────────────────────────────────────────────────────────────────────────────────── #

    # ─── How many seconds to consider a node does not answer.         ───
    # webui__module_report_handler__exec_stats_ranges     5,10,20,30,60,120,300,600

}

DΓ©tail des sections composant le fichier de configuration

Identification du module

Code Block
languagejs
themeConfluence
    # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ─────────────────────────────────────────────    MODULE IDENTITY    ───────────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ─── Module name [ Must be unique ]───
    #                                                                [ MANDATORY ] ───
    # ───                                             ───
    #           Default : 3 ( seconds )                                                ───
    module_name                               ───
    # ───     webui--module-report-handler

     # ─── Module type [ Do not edit ]                                                                       [ MANDATORY ] ───
    # ───                ───
    # webui__module_report_handler__report_builder__timeout 3

    # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ───────────────────────────────────────────────    STATISTICS    ──────────────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ─── Ranges definition for the check "Broker - $KEY$ - Module Visualisation UI - Report Handler - Performance"       ───
    # ───       Example:                      ───
    module_type                                                                        ───
    #        webui__module_report_handler───           - Reports written in less than 5 seconds will be classified in the first category.                    ───
    # ───           - Those made in less than 10 seconds will be in the second.                                           ───
    # ───           - etc.                                                                                                ───
    #                                                                                                                     ───
    #           Default : 5,10,20,30,60,120,300,600 ( seconds )                                                           ───
    # ───                                                                                                                 ───
    # webui__module_report_handler__exec_stats_ranges     5,10,20,30,60,120,300,600

}

DΓ©tail des sections composant le fichier de configuration

Identification du module

Code Block
languagejs
themeConfluence
    # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ─────────────────────────────────────────────    MODULE IDENTITY    ───────────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ─── Module name [ Must be unique ]                                                                    [ MANDATORY ] ───
    # ───                                                                                                                 ───
    module_name                                         webui--module-report-handler

    # ─── Module type [ Do not edit ]                                                                       [ MANDATORY ] ───
    # ───                                                                                                                 ───
    module_type                                         webui__module_report_handler

Il est possible de dΓ©finir plusieurs instances de module de type webui__module_report_handler dans une architecture Shinken.

  • Chaque instance devra avoir un nom unique.

Scroll Title
anchorparameter_cfg
title​
NomTypeUnitΓ©DΓ©fautDescription
No Format
module_name
Texte---webui--module-report-handler

Shinken conseille de choisir un nom en fonction de l'utilisation du module pour que la configuration soit simple Γ  maintenir.

Doit Γͺtre unique.

No Format
module_typeΒ 
Texte---webui__module_report_handlerNe peut Γͺtre modifiΓ©.

Paramètres de génération de rapport

GΓ©nΓ©ration des rapports PDF
Code Block
languagejs
themeConfluence
 Β  Β # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ────────────────────────────────────────    REPORT BUILDER PARAMETERS    ──────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ────────────────────  PDF Reports  ────────────────────────────────────────────────────────────────────────────────── #

    # ─── Activates the PDF reports.                                                                                      ───
    # ─── This option will add the PDF generation feature ( button in the reporting form, via URL ).                      ───
    # ───       /!\ The background task required to generate PDFs will consume up to 700 MB, PER WebUI MODULE AND         ───
    # ───           PER broker--module-report-builder MODULE, even when not in use.                                       ───
    # ───       /!\ This feature is NOT SUPPORTED on CentOS / RedHat 7.                                                   ───
    # ───                                                                                                                 ───
    #                                                                                                                     ───
    #           Default : 0 => Disable                                                                                    ───
    #           ...     : 1 => Enable                                                                                     ───
    # ───                                                                                                                 ───
    # webui__module_report_handler__report_builder__pdf_reports__enable 0
Scroll Title

Il est possible de dΓ©finir plusieurs instances de module de type webui__module_report_handler dans une architecture Shinken.

Chaque instance devra avoir un nom unique.
Scroll Title
anchorparameter_cfg
title​
_nameNe peut Γͺtre modifiΓ©
NomTypeUnitΓ©DΓ©fautDescription
No Format
webui__module
Texte---webui--module-report-handler

Shinken conseille de choisir un nom en fonction de l'utilisation du module pour que la configuration soit simple Γ  maintenir.

Doit Γͺtre unique.

No Format
module_typeΒ 
Texte---webui__module_report_handler
_report_handler__report_builder__pdf_reports__enable
Texte---

Cette option permet d'activer la fonctionnalitΓ© de gΓ©nΓ©ration de rapport PDF.

L'option sera alors disponible dans le sΓ©lecteur de format dans le formulaire de gΓ©nΓ©ration de rapport et la route API /reporting-pdf sera actif sur la WebUI.

Warning
La tΓ’che en arriΓ¨re-plan nΓ©cessaire Γ  la gΓ©nΓ©ration des fichiers PDF consommera jusqu'Γ  700 Mo, par module WebUI ET par module broker-module-report-builder, mΓͺme lorsqu'elle n'est pas utilisΓ©e.
Warning

Cette fonctionnalitΓ© n'est pas prise en chargeΒ sur CentOS / RedHat 7.

Connexion aux modules externes de gΓ©nΓ©ration des rapports
Code Block
languagejs
themeConfluence
    # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” #
    # β”‚ ────────────────────────────────────────    REPORT BUILDER PARAMETERS    ──────────────────────────────────────── β”‚ #
    # β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ #

    # ────────────────────  Connectivity  ───────────────────────────────────────────────────────────────────────────────── #

    # ─── This parameter defines the external server addresses to use to generate reports.                                ───
    # ─── Here is the syntax : <Protocol>://<Hostname>:<Port>                                                             ───
    # ─── For now, the managed protocol are : http / https                                                                ───
    #                                                                                                                     ───
    #           Default : empty ( The WebUI will generate the report itself. )                                            ───
    # ───       Example : http://127.0.0.1:24100, http://192.168.1.220:24100                                              ───
    #                                                                                                                     ───
    # webui__module_report_handler__report_builder__backends

    # ─── Token used to authenticate on the broker--module-report-builder modules                                         ───
    # ─── Must be the token set in "broker__module_report_builder__token" option                                          ───
    # ─── of the broker--module-report-builder modules.                                                                   ───
    # ───       /!\ This token is used globally for all the backends defined above!                                       ───
    # ───       /!\ This means that all the Broker modules must have the same authentication token.                       ───
    #           Default : [empty]                                                                                         ───
    #                                                                                                                     ───
    # webui__module_report_handler__report_builder__token

    # ──────────────────────  Timeouts  ─────────────────────────────────────────────────────────────────────────────────── #

    # ─── How many seconds to consider a node does not answer.                                                            ───
    #                                                                                                                     ───
    #           Default : 3 ( seconds )                                                                                   ───
    # ───                                                                                                                 ───
    # webui__module_report_handler__report_builder__timeout 3
Scroll Title
anchorparameter_cfg
title​
NomTypeUnitΓ©DΓ©fautDescription
No Format
webui__module_report_handler__report_builder__backends
Texte---

Cette option permet de définir les paramètres d'accès  à une ( ou plusieurs ) ressources externes ( modules de type broker__module_report_builder  ) qui seront utilisées pour générer un rapport.

Voir la pageΒ RΓ©partition de charge lors de la gΓ©nΓ©ration des rapports SLA depuis le module WebUI pour plus d'information.


Valeurs possibles :

  • Vide : Si aucune valeur n'est indiquΓ©e, le module gΓ©nΓ©rera lui-mΓͺme les rapports.
  • URL : L'URL d'accΓ¨s au module qui gΓ©nΓ©rera les rapports. Il est possible d'accΓ©der Γ  plusieurs modules en sΓ©parant les URLs par des virgules.
    • Exemple: Β http://127.0.0.1:24100, https://192.168.1.220:24100
No Format
webui__module_report_handler__report_builder__token
Texte---

Cette option permet de définir un jeton ( token ) qui sera utilisé pour s'authentifier auprès des modules dont l'accès aura été configuré dans l'option webui__module_report_handler__report_builder__backends.

Warning

Cela signifie que tous les modules de Broker doivent avoir le mΓͺme jeton d'authentification.Β 

No Format
webui__module_report_handler__report_builder__timeout
NombreSeconde3

Le nombre de secondes que le module attendra avant de considérer qu'un des modules dont l'accès  est défini dans l'option webui__module_report_handler__report_builder__backends ne répond pas.

Statistiques ( pour la supervision )

Code Block
languagejs
themeConfluence
     # ─── Ranges definition for the check "Broker - $KEY$ - Module Visualisation UI - Report Handler - Performance"       ───
    # ───       Example:                                                                                                  ───
    # ───           - Reports written in less than 5 seconds will be classified in the first category.                    ───
    # ───           - Those made in less than 10 seconds will be in the second.                                           ───
    # ───           - etc.                                                                                                ───
    #                                                                                                                     ───
    #           Default : 5,10,20,30,60,120,300,600 ( seconds )                                                           ───
    # ───                                                                                                                 ───
    # webui__module_report_handler__exec_stats_ranges     5,10,20,30,60,120,300,600 
Scroll Title
anchorparameter_cfg
title​
NomTypeUnitΓ©DΓ©fautDescription
No Format
webui__module_report_handler__exec_stats_ranges
Liste de nombresSeconde5,10,20,30,60,120,300,600

Permet de dΓ©finir des intervalles de temps dans lesquels seront regroupΓ©s les rapports qui ont Γ©tΓ© faits, en fonction de leur durΓ©e d'exΓ©cution, afin de les dΓ©nombrer.

Cela concernent tous les rapports effectués sur les dernières 24h glissantes.

CesΒ statistiques sont consultables dans le checkΒ Broker - $KEY$ - Module Report Builder - Performance
(Β voir la page Broker - $KEY$ - Module Visualisation UI - Report Handler - Performance ).