check_nmap.sh/service_nmap.conf

14 lines
219 B
Plaintext
Raw Normal View History

2020-02-28 21:42:40 +01:00
apply Service "nmap" {
import "generic-service"
check_command = "nmap"
check_interval = 24h
retry_interval = 2h
for (k => v in host.vars.nmap) {
vars["nmap_" + k] = v
}
assign where host.vars.nmap != null
}