Service Definitions

Ryan Wilcox rwilcox at mobitrac.com
Tue Feb 28 18:28:54 CET 2006


running 2.0 stable... i notice in the documentation "host_name" is a
required directive, yet the below config seems to be working in our
environment.

my objective is to define a service for multiple groups (hostgroup_name)
rather than individual hosts. is this the right approach?


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
}


-------------------------------------------------------
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 at 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





More information about the Users mailing list