User Management in Icinga2Icingaweb2 » History » Version 2
Jon Goldberg, 06/09/2017 03:26 PM
| 1 | 1 | Jon Goldberg | {{last_updated_at}} by {{last_updated_by}} |
|---|---|---|---|
| 2 | 2 | Jon Goldberg | # User Management in Icinga2/Icingaweb2 |
| 3 | 1 | Jon Goldberg | |
| 4 | Note: Unlike Icingaweb2, all configuration of Icinga2 happens via text file configurations and/or a REST API. The text files all reside in `orange.megaphonetech.com:/etc/icinga2/conf.d`. |
||
| 5 | |||
| 6 | ### User Management |
||
| 7 | Add an entry to `users.conf` that uses the following pattern: |
||
| 8 | |||
| 9 | object User "jon" { |
||
| 10 | import "generic-user" |
||
| 11 | display_name = "Jon Snow" |
||
| 12 | groups = [ "icingaadmins" ] |
||
| 13 | email = "jon@example.org" |
||
| 14 | } |
||
| 15 | |||
| 16 | **At the time of this writing, adding a user to "icingaadmins" will cause them to receive ALL notifications on all issues.** |
||
| 17 | |||
| 18 | ## Icingaweb2 |
||
| 19 | ### User Management |
||
| 20 | |||
| 21 | As an administrator, go to **Configuration menu » Authorization »Users**. There's an administrator login in the password manager. After creating the user, select it and press the "Create New Membership" button to add the user to the "Administrators" group. |