Compare commits
No commits in common. "bla" and "main" have entirely different histories.
1 changed files with 1 additions and 9 deletions
|
@ -2,7 +2,7 @@ object CheckCommand "nmap" {
|
||||||
import "ipv4-or-ipv6"
|
import "ipv4-or-ipv6"
|
||||||
|
|
||||||
command = [ "/home/nagios/check_nmap.sh/check_nmap.sh" ]
|
command = [ "/home/nagios/check_nmap.sh/check_nmap.sh" ]
|
||||||
timeout = 24h
|
timeout = 12h
|
||||||
|
|
||||||
arguments = {
|
arguments = {
|
||||||
"--host" = {
|
"--host" = {
|
||||||
|
@ -19,14 +19,6 @@ object CheckCommand "nmap" {
|
||||||
description = "String with ports in nmap format"
|
description = "String with ports in nmap format"
|
||||||
repeat_key = true
|
repeat_key = true
|
||||||
}
|
}
|
||||||
"--ipv4" = {
|
|
||||||
set_if = "$nmap_ipv4$"
|
|
||||||
description = "Use IPv4 for scanning"
|
|
||||||
}
|
|
||||||
"--ipv6" = {
|
|
||||||
set_if = "$nmap_ipv6$"
|
|
||||||
description = "Use IPv6 for scanning"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.nmap_host = "$check_address$"
|
vars.nmap_host = "$check_address$"
|
||||||
|
|
Loading…
Reference in a new issue