Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue


Panel
titleSommaire

Table of Contents
stylenone



Description

blbl

Ajouter d'autres listener-rest


Configuration

La configuration du module de source se trouve par défaut dans le fichier  /etc/shinken/listeners/listener-rest.cfg

Exemple de fichier de configuration


Code Block
languagejs
#===============================================================================
# listener-rest
#===============================================================================
# Daemons that can load this listener:
# - synchronizer
#===============================================================================
 
 
define listener {
    listener_name           listener-rest

	#======== Module identity ========= 
	# Listener type (to load module code). Do not edit. 
	module_type 			listener-rest

	order                   5
    import_interval         0
 
    # enabled: is this listener enabled or not
    enabled                 0
 
    #======== Module identity =========
    # Listener type (to load module code). Do not edit.
    module_type             listener-rest
 
    # description: display a description on the interface for this source
    description             The listener-rest allow to listen by HTTP(s)/REST hosts
 
 
    #======== Listening address =========
    # host: IP address to listen to.
    #       note: 0.0.0.0 = all interfaces.
    host                    0.0.0.0
 
    # port to listen
    port                    7761
 
}