How to link several checks to one service?

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Fri Aug 5 17:22:47 CEST 2005


Hello Nagios gurus,

can I link several check_commands to one service?

I don't know quite how to combine servicegroup, service, and
command definitions elegantly


I know this is quite distorted, but I hope you can gather what I
want to achieve


e.g.

define servicegroup {
	servicegroup_name		silly_appl
	members			SILLY1,...,SILLYN
}

define service {
	use				generic-service	# only to
inherit vanilla service settings
	service_descriptions	silly_appl-oracle-check
	servicegroups		silly_appl
	...
}
	
define service {
	service_description	SILLY1
	...
}

 .
 .
 .

define service {
	service_description	SILLYN
	...
}


define command {
	command_name	check-tns
	command_line	check-nrpe-ora-tns!$SERVICEDESC$
}

define command {
	command_name	check-db
	command_line	check-nrpe-ora-db!$SERVICEDESC$
}

define command {
	command_name	check-login
	command_line	check-nrpe-ora-db!$SERVICEDESC$
}


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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