Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add automatic fileds set by the module, like custom data

...

All you need is to set the following parameters:

...

PropertyDefaultDescription
urlldap://YOURDCFQDN/URL of your Active Directory server.
base

...

 dc=YOUR,dc=DOMAIN,dc=comBase OU for your objects discovery.
hosts_base

...

OU=DataCenter Servers,dc=YOUR,dc=DOMAIN,dc=comBase OU for the hosts discovery.
contacts_base

...

dc=YOUR,dc=DOMAIN,dc=comBase OU for the contacts discovery.
username

...

...

Username used to connect to the Ldap server.
passwordPASSWORDPassword used by the user to connect to the Ldap server.

This connection information will allow the source to connect to your Active Directory. It only needs a « read only » account.

Note: Shinken Enterprise’s main purpose is monitoring servers, therefore we suggest you not load all your Active Directory elements like computers.

 

Filtering and tagging

This source also includes other parameters that will allow you to automatically “tag” your servers based on your active directory information:

...

contacts_match_memberOf_domain-admins         CN=Domain Admins,CN=Users,DC=YOUR,dc=DOMAIN,dc=com

  

Custom fields and host templates setting

If presents into the Ldap objects, some fields are automatically set on your host objects:

Host dataLdap field
_OSoperatingSystem
_OS_SPoperatingSystemServicePack
_IPif the server can resolve the PTR dNSHostName entry
_FQDNif the server can resolve the dNSHostName entry