#===============================================================================
# active-dir-example
#===============================================================================
# Daemons that can load this source:
# - synchronizer
# This source import hosts and contacts from an Active Directory server
#===============================================================================
define source {
# Shinken Enterprise. Lines added by import core. Do not remove it, it's used by Shinken Enterprise to update your objects if you re-import them.
_SE_UUID core-source-ae7394945adc11e580e6080027f08538
_SE_UUID_HASH d1d512d1e37aae8486d6c2060cada8fd
# End of Shinken Enterprise part
#======== source identity =========
# Source name. Must be unique
source_name active-dir-example
# Module type (to load module code). Do not edit.
module_type ldap-import
# order: source order for a source imply if a source is before an another source when
# merging data
order 3
# import_interval: in minutes, what is the schedule import interval for this source.
# note: 0 = don't schedule this source, will run only if an administrator launch it from the
# interface
import_interval 5
# enabled: is this source enabled or not
enabled 0
# description: display a description on the interface for this source
description This source is about loading hosts from active directories
# Connection mode:
# - ad: active directory
# - openldap: openldap.
mode ad
#======== Active directory access and data mapping =========
# In order to configure this source, you must copy or edit the sample active-directory source-data available in the directory
# /etc/shinken-user/source-data/source-data-active-directory-sample/ with theses files:
# * _configuration/active-directory-connection.json ==> how to connect to your active directory server
# * _configuration/active-directory-rules.json ==> what are the import rule to setup (like OU=>template rules)
# * _configuration/active-directory-mapping.json ==> if you have custom Ldap fields, you can defined them in this file (ex: for openldap users)
#
# Note: If a file is commented, the configuration will be load from the default directory /etc/shinken/_default/sources/active-directory-source
# Configuration file for your Active Directory connection (server, user, password, ...)
connection_configuration_file /etc/shinken-user/source-data/source-data-active-directory-sample/_configuration/active-directory-connection.json
# Configuration file for your import rules (like OU=>template rules)
rules_configuration_file /etc/shinken-user/source-data/source-data-active-directory-sample/_configuration/active-directory-rules.json
# Configuration file for your ldap fields mapping (like for openldap users)
mapping_configuration_file /etc/shinken-user/source-data/source-data-active-directory-sample/_configuration/active-directory-mapping.json
}
|