Hello,
I’m in the process of migrating away from a Nagios 3.x/NagiosQL installation I’ve managed for years to Icinga2/Director and struggling to wrap my head around the notification process in Director (Partially because the old way is so ingrained, I think)
On Nagios I could setup notifications by assigning Users and/or Groups along with the notification periods directly to a host. Notification periods and Users/Groups could be assigned independently of one another, allowing me to customize each host. Of course I had default notification settings under templates as well.
On Icinga2/Director however, it seems I need to create notification objects with both the User/Group & Time Period tied together. Then apply that with some logic so they are assigned to the host. I tried to make it a little easier to customize by creating a variable called ‘notification_tags’. I assign a string(s) to each host then create notifications that look at this tag to be applied.
Here’s my confusion though…
I have 4 users (Net Admin, Sys Admin, Desktop Admin, Part Time). They may each have some objects that they need notified for that the others don’t. Some objects may need to notify multiple users. Then I have critical priority alerts (24x7), normal priority (M-F 8x5, repeat every 12 hrs), and low priority (M-F 8x5, never repeat).
4 notifications, one for each individual
3 notifications for multiple users (One for all 4 users, Then 3 users, then just the Net Admin/Sys Admin)
Then multiply that by 3 for each priority (critical, normal, low) for a total of 21 notification objects. Plus I have some specific alert groups for departments.
Is this how it’s supposed to work in best practice? I was thinking it would be simpler under the notification area and would like to know how others have their systems setup. It seems like this could get hard to manage quickly. Does anyone else use a custom variable to assign notifications?
The other thing I’m struggling with is in Nagios I could go to Configuration/Hosts or Configuration/Services to quickly see all the settings on a host which came in handy when auditing what notifications were assigned to hosts and see if I had missed one. I don’t see anything in Icinga2/Director like this. Is there a way to get a line by line comparison of the host settings somewhere?
thanks in advance