Newly "copied" service doesn't show up
Posted: Mon Jul 31, 2017 7:05 am
Edit: I figured out why this happens. TL;DL - read bottom.
I can reproduce this, but I'm not sure if it's because it's early Monday morning, or if it's a bug.
Nagios XI 5.4.7:
Admin -> Core Config
Services
Select a config name (in my case, it was our internal NLS config)
No search filters in place, and we have three services on this box
Hit the "Copy" button on one of the services
Screen refreshes, but no new <service>_copy_1 service
Hit "Copy" again
Same
Clear the config selection
Search for "<service>" and now we have the original, copy_1, and copy_2, set to disabled
So it seems that copying a service while limiting view to a selected config name is not showing the newly copied, and disabled, service.
Edit: figured out why
Turns out the config_name is getting _copy_1, which no longer matches the config_name shown in the dropdown box. While understandable, this would be VERY confusing for someone who doesn't know as much as I do. In fact, it WAS confusing for me!
I can reproduce this, but I'm not sure if it's because it's early Monday morning, or if it's a bug.
Nagios XI 5.4.7:
Admin -> Core Config
Services
Select a config name (in my case, it was our internal NLS config)
No search filters in place, and we have three services on this box
Hit the "Copy" button on one of the services
Screen refreshes, but no new <service>_copy_1 service
Hit "Copy" again
Same
Clear the config selection
Search for "<service>" and now we have the original, copy_1, and copy_2, set to disabled
So it seems that copying a service while limiting view to a selected config name is not showing the newly copied, and disabled, service.
Edit: figured out why
Turns out the config_name is getting _copy_1, which no longer matches the config_name shown in the dropdown box. While understandable, this would be VERY confusing for someone who doesn't know as much as I do. In fact, it WAS confusing for me!