> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Marc Powell > Sent: Tuesday, February 28, 2006 11:47 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] RE: Service Definitions > > > > > -----Original Message----- > > From: Ryan Wilcox [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 28, 2006 11:29 AM > > To: Marc Powell; nagios-users@lists.sourceforge.net > > Subject: Service Definitions
[chop] > > define service { > > service_description PING > > is_volatile 0 > > check_command check_ping!100.0,20%!500.0,60% > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > check_period 24x7 > > notification_interval 24 > > notification_period 24x7 > > hostgroup_name NetworkDevices > > notification_options w,c,r > > contact_groups Admins > > } > > Yes, it's listed as a 'template trick' -- > > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service > > "All Hosts: If you want to create identical services that are assigned > to all hosts that are defined in your configuration files, you can use a > wildcard in the host_name directive as follows: > > define service{ > host_name * > service_description SOMESERVICE > other service directives ... > } Sorry, copied the wrong example out. You'll see it on the template tricks page though ;) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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