Hi list,<br><br>I saw a patch a few months ago that was supposed to allow hostgroup-defined services to be overriden by host-defined services. In my case, I have a sql server that I don't want to follow my generic memory check, but instead want to tweak its arguments a bit. I have shown below both service definitions, one utilizing hostgroup and the other utilizing host. When I tried to use this, the parser reported an error for duplicate object however I was under the impression the patch (referenced here: <a href="http://markmail.org/download.xqy?id=ms6rzljthml7ejlt&number=1">http://markmail.org/download.xqy?id=ms6rzljthml7ejlt&number=1</a> from nagios-devel) would make this setup work. NOTE, the patch was not accepted as it was provided here, however there is very similar functionality as of 3.2.0 in xodtemplate.c.<br>
<br>Any hints on how to make the host-service override the hostgroup-service would be much appreciated. I was shown by a user on #nagios of freenode that I could simply ! the hostname in question in the hostgroup-defined service, however with how my config files are setup it would not be intuitive for anyone coming after me.<br>
<br>Hostgroup-defined service:<br><br>define service{<br> use generic-service<br> hostgroups windows-servers-dom1<br> service_description mem@dom1<br> name mem@dom1<br>
check_command check_wsc_dom1!memory!10%,5%,10%,5%<br>}<br><br>host-defined service:<br><br>define service{<br> use generic-service<br> host nin-tgisqlcl-01<br>
service_description mem@dom1<br> name mem@dom1<br> check_command check_wsc_dom1!memory!3%,2%,3%,2%<br>}<br><br><br>Thanks in advance,<br>Pete<br>