Hi, I think you have to do that work, but using template services should help you to write the contactgroups only once in service.cfg.<br>Template services are the only way to make your whole configuration clean an simple without writing the same thing twice.<br>
<br>Julien.<br><br><br><div class="gmail_quote">On Sun, Apr 13, 2008 at 12:48 PM, Melanie Pfefer <<a href="mailto:melanie_pfefer@yahoo.co.uk">melanie_pfefer@yahoo.co.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello<br>
<br>
I created 2 contactgroups and thought that by affecting each hostgroup to a contactgroup, the alerts that belong to a host will go according to the contactgroup value that was defined in the hostgroup definition.<br>
<br>
However, I saw also that services has hostgroup value. So I had to redo the work: Affect a contactgroup to each service.<br>
<br>
Any alternative than doing this redundant work?<br>
<br>
thanks<br>
<br>
<br>
      ___________________________________________________________<br>
Yahoo! For Good helps you make a difference<br>
<br>
<a href="http://uk.promotions.yahoo.com/forgood/" target="_blank">http://uk.promotions.yahoo.com/forgood/</a><br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>
Don't miss this year's exciting event. There's still time to save $100.<br>
Use priority code J8TL2D2.<br>
<a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>