git-svn-id: svn://192.168.202.10@2888 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
apply Service "mysql" {
|
||||
import "service-1minhigh"
|
||||
check_command = "mysql-stdchk"
|
||||
assign where host.vars.servertype == "database" && host.vars.dbtype == "master"
|
||||
}
|
||||
|
||||
apply Service "mysql" {
|
||||
import "service-1minhigh"
|
||||
check_command = "mysql-slavechk"
|
||||
assign where host.vars.servertype == "database" && host.vars.dbtype == "slave"
|
||||
}
|
||||
|
||||
apply Service "mysql" {
|
||||
import "service-1minhigh"
|
||||
check_command = "mysql-slavechk"
|
||||
assign where host.vars.dbslave == "1"
|
||||
}
|
||||
|
||||
apply Service "mysql" {
|
||||
import "service-1minhigh"
|
||||
check_command = "mysql-stdchk"
|
||||
assign where host.vars.dbmaster == "1"
|
||||
}
|
||||
|
||||
apply Service "mysql" {
|
||||
import "service-1minhigh"
|
||||
check_command = "mysql-slavechk"
|
||||
assign where host.vars.servertype == "sips"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user