Page 1 of 1
"Duplicate definition found for service "
Posted: Tue Aug 23, 2016 1:32 pm
by benhank
guys what does this warning mean, and what impact would it have on doing an apply config, or what impact does this have on monitoring?
Re: "Duplicate definition found for service "
Posted: Tue Aug 23, 2016 1:58 pm
by bwallace
The first thing to ask yourself is "Do I have service checks set up directly for the host in the host's config AND is that host also inheriting checks from a hostgroup or service group with the same checks configured?" - this can cause the duplicate definition errors, in which case I believe the apply config would fail, that's all.
In the Ui go to: Configure > Core Config Manager > Service...find the service in question and in the 'Actions' column on the right, click in the blue 'i" icon. This will show you the relationship info, i.e. the other hosts / services it is tied to.
Re: "Duplicate definition found for service "
Posted: Tue Aug 23, 2016 2:33 pm
by benhank
thats a good answer man. My apply cfg doesn't fail. but the interesting thing is that I have 24 lines with that error, however the verification report states:
Re: "Duplicate definition found for service "
Posted: Tue Aug 23, 2016 2:48 pm
by ssax
Those are pre-verification verifications.
If you have multiple services with the same service description being applied to a host (whether applied from a hostgroup or directly on a host), it will only show one service but I generally tend to try to resolve the duplicates.
99.9% of the time it's because you setup the service initially directly attached to the host, then you attach a different service with the same name to a hostgroup that that host resides in and it will give you this warning.
Re: "Duplicate definition found for service "
Posted: Tue Aug 23, 2016 3:02 pm
by benhank
ok thanks for the answer sir! my hunt for zippy apply cfg goes on. you can lock this.