CCM Bug
Posted: Tue Feb 28, 2017 5:44 am
I found the following bug in Nagios XI 5.4.2.
To reproduce do the following.
Create a Service Template (in my case "generic-service_bug") with the necessary settings.
Create a Services and assign the newly created Service Template
=> Apply Configuration
=> Everything should be okay.
Disable the new created Service Template
=> Apply Configuration
Checked the configuration snapshot:
The template generic-service_bug is used, but it is disabled.
In Object relationships I see the relationship between generic-service_bug and Dummy on the Service Template. On the Service you see one active relationship, but the relation is not shown.
So CCM knows there is an active relationship but allows to disable the service. From my point of view it is a bug.
If you accept this as a bug you can close the thread.
To reproduce do the following.
Create a Service Template (in my case "generic-service_bug") with the necessary settings.
Create a Services and assign the newly created Service Template
=> Apply Configuration
=> Everything should be okay.
Disable the new created Service Template
=> Apply Configuration
Code: Select all
Error: Template 'generic-service_bug' specified in service definition could not be not found (config file '/usr/local/nagios/etc/services/localhost_copy_1.cfg', starting on line 16)Code: Select all
define service {
host_name localhost
service_description Dummy
use generic-service_bug
[...]
register 1
}
In Object relationships I see the relationship between generic-service_bug and Dummy on the Service Template. On the Service you see one active relationship, but the relation is not shown.
So CCM knows there is an active relationship but allows to disable the service. From my point of view it is a bug.
If you accept this as a bug you can close the thread.