Nagios XI oddities between XI users and contacts
Posted: Mon Mar 14, 2016 3:13 pm
I am using Nagios XI 5.2.3. Below are a few things I consider non-intuitive behavior when configuring users using XI and contacts. I have read through both these documents that describe users and contacts:
https://assets.nagios.com/downloads/nag ... ntacts.pdf
⁃ https://assets.nagios.com/downloads/nag ... ios-XI.pdf
and the inheritance of objects here:
https://assets.nagios.com/downloads/nag ... tance.html
however I was not able to really understand how alerts to a Nagios XI user behaved with a linked Configuration "contact" until I played around with it. Some observations I find confusing:
#1) If I click on my XI logged in user, and then select Notification Preferences, and select additional options on my Email or Mobile preferences, then click 'Cancel' (never clicking the 'Update Settings'). It seems the settings are actually taken. Because if I then browse into CCM->Contact-><select xi user>, and look at the Alert settings, if I had previously had a setting of 'Skip' for host notifications, this is now set to 'On'. This seems like a bug to me as I never selected 'Update Settings' on the XI user page and so wouldn't expect the Contact configuration to actually change.
#2) I went the route of attempting to set up two XI users, one for Email and one for SMS alerts, based on my needs and this thread: https://support.nagios.com/forum/viewto ... 82&p=62005
But one thing I noticed is that if a user then browses to their 'Notification Preference' options changes any setting (say their notification hours) and clicks Apply, then this also overwrites the Service Notification and Host Notification from being 'Skip' to 'On', thereby configuring this user to get all Host and Service notifications, not just the services/hosts I have selected via their contact-group membership. Maybe this is related to #1, but I think even if this didn't happen, I think it would be confusing to an XI user login to not know whether their notification preferences applied to all hosts and service checks, or just the ones they were associated to via contact group membership and a contact setting of 'Skip'.
#3) This is minor, but the contact associated with a Nagios XI user shows the contacts timepreiods as "Disabled". I assume this is because the settings are taken from the XI user time periods, but I didn't see anything in the documentation to describe the interaction on time periods between a contact and an XI user and what happens if I enable different time periods in the CCM contact form.
https://assets.nagios.com/downloads/nag ... ntacts.pdf
⁃ https://assets.nagios.com/downloads/nag ... ios-XI.pdf
and the inheritance of objects here:
https://assets.nagios.com/downloads/nag ... tance.html
however I was not able to really understand how alerts to a Nagios XI user behaved with a linked Configuration "contact" until I played around with it. Some observations I find confusing:
#1) If I click on my XI logged in user, and then select Notification Preferences, and select additional options on my Email or Mobile preferences, then click 'Cancel' (never clicking the 'Update Settings'). It seems the settings are actually taken. Because if I then browse into CCM->Contact-><select xi user>, and look at the Alert settings, if I had previously had a setting of 'Skip' for host notifications, this is now set to 'On'. This seems like a bug to me as I never selected 'Update Settings' on the XI user page and so wouldn't expect the Contact configuration to actually change.
#2) I went the route of attempting to set up two XI users, one for Email and one for SMS alerts, based on my needs and this thread: https://support.nagios.com/forum/viewto ... 82&p=62005
But one thing I noticed is that if a user then browses to their 'Notification Preference' options changes any setting (say their notification hours) and clicks Apply, then this also overwrites the Service Notification and Host Notification from being 'Skip' to 'On', thereby configuring this user to get all Host and Service notifications, not just the services/hosts I have selected via their contact-group membership. Maybe this is related to #1, but I think even if this didn't happen, I think it would be confusing to an XI user login to not know whether their notification preferences applied to all hosts and service checks, or just the ones they were associated to via contact group membership and a contact setting of 'Skip'.
#3) This is minor, but the contact associated with a Nagios XI user shows the contacts timepreiods as "Disabled". I assume this is because the settings are taken from the XI user time periods, but I didn't see anything in the documentation to describe the interaction on time periods between a contact and an XI user and what happens if I enable different time periods in the CCM contact form.