Le module event-manger-reader est un module de la fonctionnalité bac à événements qui récupéré les événements en base de donnée pour l'affichage dans l'interface de visualisation.
Pour que la fonctionnalité bac à événement fonctionne il faut absolument que ce module soit activé. |
Si vous avez plusieurs configurations de web-ui installées sur votre architecture, n'oubliez pas d'activer le module event-manager |
#===============================================================================
# event manager
#===============================================================================
# Daemons that can load this module:
# - broker (to save events information into a mongodb database)
# Modules that can load this module:
# - WebUI (to display events data to the users)
# This module compute and save event for event manager
#===============================================================================
define module {
#======== Module identity =========
# Module name. Must be unique
module_name event-manager-reader
# Module type (to load module code). Do not edit.
module_type event_container
#======== Database connection =========
# mongodb uri definition for connecting to the mongodb database. You can find the mongodb uri
# syntax at https://docs.mongodb.com/manual/reference/connection-string/
uri mongodb://localhost/?w=1&fsync=false
# If you want to securize your mongodb connection you can enable the ssh use_ssh_tunnel that will
# allow all mongodb to be encrypted & authentificated with SSH
# Should use a SSH tunnel (Default 0=False)
# use_ssh_tunnel 0
# If the SSH connection goes wrong, then retry use_ssh_retry_failure time before_shinken_inactive
# Default: 1
# use_ssh_retry_failure 1
# SSH user/keyfile in order to connect to the mongodb server.
# Default: shinken
# ssh_user shinken
# Default: ~shinken/.ssh/id_rsa
# ssh_keyfile ~shinken/.ssh/id_rsa
# Which database is used to store events data
database event_container
#======== Module options =========
# Number of day the events are keep in database
# Default: 30
day_keep_data 30
#======== INTERNAL options =========
#INTERNAL : DO NOT EDIT FOLLOWING PARAMETER WITHOUT YOUR DEDICATED SUPPORT
# == time of inactivation of the broker before considering that shinken is inactive (in sec) ==
#time_before_shinken_inactive 30
}
|