On Aug 6, 2009, at 8:37 AM, Simon Kainz wrote: > Hi list! > > I'm currently somehow confused, so please help me. > > I have several fileservers, which all have the same 4 service checks. > Is it now possible to create a template specifying my 4 service checks > and then applying it to my file servers ? Like a single "use" > statement > for 4 services to be applies on on host.
Not a template, no, but you can assign a service to a hostgroup in a service{} definition (hostgroup_name) and members of that hostgroup inherit the service. If the 4 services were assigned to the 'fileservers' hostgroup and your fileservers were members of that hostgroup, they would inherit all 4 service checks. This was introduced in 3.x http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null