Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
![]() |
18dc7deea6 |
1 changed files with 9 additions and 1 deletions
|
@ -2,7 +2,7 @@ object CheckCommand "nmap" {
|
|||
import "ipv4-or-ipv6"
|
||||
|
||||
command = [ "/home/nagios/check_nmap.sh/check_nmap.sh" ]
|
||||
timeout = 12h
|
||||
timeout = 24h
|
||||
|
||||
arguments = {
|
||||
"--host" = {
|
||||
|
@ -19,6 +19,14 @@ object CheckCommand "nmap" {
|
|||
description = "String with ports in nmap format"
|
||||
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$"
|
||||
|
|
Loading…
Reference in a new issue