14 lines
346 B
Plaintext
14 lines
346 B
Plaintext
apply Service "raid" {
|
|
import "service-5minlow"
|
|
check_command = "snmp-raid-stat"
|
|
assign where host.address != "127.0.0.1" && host.vars.raid == "1"
|
|
}
|
|
|
|
apply Service "raid2" {
|
|
import "service-5minlow"
|
|
check_command = "snmp-raid-stat"
|
|
vars.raid_device = "raid-md1"
|
|
assign where host.address != "127.0.0.1" && host.vars.raid2 == "1"
|
|
}
|
|
|