Browse Source

Added service_mdstat.conf

master
Jonny007-MKD 3 years ago
parent
commit
755c3519df
  1. 10
      service_mdstat.conf

10
service_mdstat.conf

@ -0,0 +1,10 @@
apply Service "mdstat-" for (name => opts in host.vars.mdstat) {
import "generic-service"
check_command = "mdstat"
vars.mdstat_name = name
for (k => v in opts) {
vars["mdstat_" + k] = v
}
}
Loading…
Cancel
Save