Contact issues when using XI gui
Posted: Mon Dec 23, 2013 8:27 am
Hello,
Just noticed another problem with inheritance of templates. After adding 'myself' as a contact for a service, going to Configure > Reconfigure this service > Notifications >Checkbox myself, all the options configured in the service htrough CCM are lost! This is really not acceptable. We had a similar problem, described in http://support.nagios.com/forum/viewtop ... 16&t=21629, but a patch seemed to resolve the issue, but I must have missed something. Things that are changed in my services after adding a contact through the XI gui:
- Configured contacts in CCM are deleted and overridden by the contact added through the XI gui!
- Contact inheritance is set to Standard, while it was explicitly set to '+'
- First notification delay is set to 0 while i didn't configure anything for the delay. There seems to be no way to set no notification delay and just use the service template delay...
- All notification checkboxes are checked, while none were checked before. I know this is the same result, but it seems much cleaner when nothing is checked and just inherited from the template....
- Notification enabled is et to "On", while it was set to "Skip'. There also does not seem to be an option to not set this parameter, and use the template notification settings..
- All Contactgroups configured through the CCM are deleted and contactgroup options are set to null!
- All servicegroups are deleted and servicegroup options are set to null while they were on +
In my opinion this can't all be 'by design'.... How would we want users to set themselves or collegaues as a contact while this messes things completely up. The work I have put in to configure all service would be lost by other users who just want to get an alert for a service they need.....
If I set contact, contactgroup and servicegroup options to + and a contact is added in the XI gui, this should just be appended to the list of contacts, contactgroups and servicegroups? How else can we be sure configuration is consistent? Users who would set themselves as contact would mess things up without even knowing it...
Thanks for looking into this... This seems to be a major bug to me.
Willem
Just noticed another problem with inheritance of templates. After adding 'myself' as a contact for a service, going to Configure > Reconfigure this service > Notifications >Checkbox myself, all the options configured in the service htrough CCM are lost! This is really not acceptable. We had a similar problem, described in http://support.nagios.com/forum/viewtop ... 16&t=21629, but a patch seemed to resolve the issue, but I must have missed something. Things that are changed in my services after adding a contact through the XI gui:
- Configured contacts in CCM are deleted and overridden by the contact added through the XI gui!
- Contact inheritance is set to Standard, while it was explicitly set to '+'
- First notification delay is set to 0 while i didn't configure anything for the delay. There seems to be no way to set no notification delay and just use the service template delay...
- All notification checkboxes are checked, while none were checked before. I know this is the same result, but it seems much cleaner when nothing is checked and just inherited from the template....
- Notification enabled is et to "On", while it was set to "Skip'. There also does not seem to be an option to not set this parameter, and use the template notification settings..
- All Contactgroups configured through the CCM are deleted and contactgroup options are set to null!
- All servicegroups are deleted and servicegroup options are set to null while they were on +
In my opinion this can't all be 'by design'.... How would we want users to set themselves or collegaues as a contact while this messes things completely up. The work I have put in to configure all service would be lost by other users who just want to get an alert for a service they need.....
If I set contact, contactgroup and servicegroup options to + and a contact is added in the XI gui, this should just be appended to the list of contacts, contactgroups and servicegroups? How else can we be sure configuration is consistent? Users who would set themselves as contact would mess things up without even knowing it...
Thanks for looking into this... This seems to be a major bug to me.
Willem