<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>Error: Service 'Dell Hardware' on host 'myhost' has already been defined</B></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>Error: Could not register service (config file .... newhost.cfg on line XX)</B></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Question:  Why does "using" dell-hardware in a normal syntax (remember, my goal is to migrate the old style in red to the new hostgroups trick style above), is not compatible when the service has a hostgroup_name defined?  This looks to me like a bug, where it's trying to redefine the service instead of just using it.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thoughts?</DIV></BLOCKQUOTE></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; color: rgb(0, 28, 213); min-height: 14px; "><FONT class="Apple-style-span" color="#001CD5"><BR></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#001CD5">My thought is that you need a unique "name" directive in the second service that uses dell-hardware. Otherwise the service with the use directive has the same name as the service it is using, causing exactly what the error says- the service dell hardware has already been defined, and yes, you are trying to re-define it. Basically, when you insert the use directive, it copies everything from the service (or whatever) you tell it to use into the new one, except for any directives that are explicitly set in the new on. And since you can't have two service definitions with the same name, you get that error.</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; color: rgb(0, 28, 213); min-height: 14px; "><FONT class="Apple-style-span" color="#001CD5"><BR></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#001CD5">-----------------------------------------------</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#001CD5">Israel Brewster</FONT></DIV></BLOCKQUOTE></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'd be willing to accept that, however, without the host_groupname directive for the original service, every instance of "use dell-hardware" (75 of them) works fine without any additional name or alias options.  I'm only seeing this error once I add in host_groupname for the original service.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Caylan</DIV><BR></BODY></HTML>