<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5">
>><br>
>> Sounds a lot like what I use... I also use host-templates for example:<br>
>><br>
>> define host{<br>
>> use solaris,dns,an-other-app<br>
>> address...<br>
>> }<br>
>><br>
>> the solaris host-template applies standard checks like disk, cpu, SMF.<br>
>> the solaris-10-global template applies checks such as zone-checks<br>
><br>
> Hmm, could you eventually explain how the "solaris host-template applies<br>
> standard checks (which seem to me like services) ? How do you do this ?<br>
></div></div></blockquote><div><br>Yes checks = services <br><br>Sorry i should be more careful with my terminology <br><br>...</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5"><br>
<br>
</div></div>I think he is doing this:<br>
<br>
define service{<br>
use server-1-hour-retry-emailonly-noticket<br>
hostgroup_name windows<br>
service_description cpu<br>
check_command check_nrpe_win_cpu!80!90<br>
}<br>
<br>
define service{<br>
use server-servicehours<br>
hostgroup_name windows<br>
service_description commit charge<br>
check_command check_nrpe_win_memory_page!90%!95%<br>
}<br>
<br>
define service{<br>
use server<br>
hostgroup_name windows<br>
service_description uptime<br>
servicegroups uptime<br>
check_command check_nrpe_win_uptime!1h<br>
retry_check_interval 70<br>
}<br>
<br>
So, all hosts in the windows host_group will get the uptime,cpu, and<br>
commit charge services.</blockquote><div><br>Thats right, linking the services to hostgroups<br>and just using a host-template to add the host to a host_group<br><br></div></div>eg, using the above example a (simplified) host-template would look like<br>
<br>define host{<br> name windows<br> hostgroup +windows<br> register 0<br>}<br><br><br>I actually then 'use' another host-template in the above, to set default options such as check_command.<br>
<br>Ritchie<br>