Advertisement
Guest User

op5-ldap-helper.conf

a guest
Nov 8th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. ---
  2. authyml_connection_name: ldapserver
  3. contactgroup_prefix: LDAP
  4. ldap:
  5. # in case you want to set these differently from what your LDAP config within op5
  6. # monitor is, you can set the group base DN, the group filter and the group search
  7. # scope here. This might be useful in cases where your LDAP directory contains
  8. # a huge amount of groups that makes the script crash when trying to iterate over
  9. # all of them
  10. custom_group_base_dn: false
  11. custom_group_filter: false
  12. custom_group_search_scope: false
  13.  
  14. # if you want to synchronize the "pager" field for newly generated contact objects
  15. # with an LDAP value of the user, you have to configure the corresponding LDAP property
  16. # here. In case of an AD, this is "telephoneNumber"
  17. user_key_phone: false
  18.  
  19. # In some cases you might want to not only synchronize USER objects from LDAP into
  20. # your op5 Monitor, but also CONTACTs. These may contain only an email address and/or
  21. # a telephone number, but they are no real users. If you are also adding LDAP contact
  22. # objects to your LDAP groups, you have to set both the contact_base_dn and the
  23. # contact_filter options to anything else than "false". You can start by setting
  24. # contact_base_dn: <the same as the USER dn in auth.yml>
  25. # contact_filter: (objectType=contact)
  26. contact_base_dn: false
  27. contact_filter: (objectType=contact)
  28.  
  29. # For contact synchronization and in case you have memberkey_is_dn set to OFF, you
  30. # need to provide an LDAP field that can be used to filter for the short name of
  31. # the LDAP contact object. Could be "cn"
  32. contact_key: false
  33.  
  34. # The contact_key_name should be a unique name of the contact object in the LDAP
  35. # directory. This is used to generate the name of the op5 Monitor contact object.
  36. # For AD this should be fine with "cn"
  37. contact_key_name: cn
  38.  
  39. # this is the field where to find the email address in the LDAP contact object
  40. contact_key_email: mail
  41.  
  42. # this is the fiels where to find the telephoneNumber in the LDAP contact object
  43. contact_key_phone: telephoneNumber
  44.  
  45. op5api:
  46. user: monitor$Default
  47. password: monitor
  48. authentication_realm: op5 Monitor API Access
  49. server: localhost
  50. ssl_verify_hostname: false
  51.  
  52. notify_service_check:
  53. notify_service_check: false
  54. host_object_name: monitor
  55. service_check_description: LDAP users sync
  56.  
  57. contact_notifications_settings:
  58. host_notifications_enabled: false
  59. service_notifications_enabled: false
  60. host_notification_commands: host-notify
  61. service_notification_commands: service-notify
  62. host_notification_options: d,r
  63. service_notification_options: c,w,r
  64. host_notification_period: 24x7
  65. service_notification_period: 24x7
  66.  
  67. contact_settings_per_group:
  68. # here you can add settings that will be used to create the newly generated
  69. # contact objects in op5 Monitor based on the LDAP group name. This way, you can
  70. # define settings that should be different per LDAP group, such as notification
  71. # time periods and such. Just add one "section" per LDAP group that you want
  72. # custom settings for. LDAP group names which does not exist in LDAP will be
  73. # ignored. Settings set here override general settings under the contact_notification_settings
  74. # section.
  75. Test Group (Name in LDAP):
  76. host_notifications_enabled: false
  77. service_notifications_enabled: true
  78. host_notification_commands: host-notify
  79. service_notification_commands: service-notify
  80. host_notification_options: d,r
  81. service_notification_options: c,w,r
  82. host_notification_period: 24x7
  83. service_notification_period: 24x7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement