mirror of https://github.com/Icinga/icinga2.git
parent
c9f175790f
commit
e62ade5034
|
@ -857,48 +857,48 @@ object CheckCommand "disk" {
|
|||
}
|
||||
|
||||
object CheckCommand "disk_smb" {
|
||||
import "plugin-check-command"
|
||||
import "plugin-check-command"
|
||||
|
||||
command = [ PluginDir + "/check_disk_smb" ]
|
||||
command = [ PluginDir + "/check_disk_smb" ]
|
||||
|
||||
arguments = {
|
||||
"-H" = {
|
||||
value = "$disk_smb_hostname$"
|
||||
description = "NetBIOS name of the server."
|
||||
}
|
||||
"-s" = {
|
||||
value = "$disk_smb_share$"
|
||||
description = "Share name to be tested."
|
||||
}
|
||||
"-W" = {
|
||||
value = "$disk_smb_workgroup$"
|
||||
description = "Workgroup or Domain used (Defaults to 'WORKGROUP' if omitted)."
|
||||
}
|
||||
"-a" = {
|
||||
value = "$disk_smb_address$"
|
||||
description = "IP-address of HOST (only necessary if HOST is in another network)."
|
||||
}
|
||||
"-u" = {
|
||||
value = "$disk_smb_username$"
|
||||
description = "Username to log in to server. (Defaults to 'guest' if omitted)."
|
||||
}
|
||||
"-p" = {
|
||||
value = "$disk_smb_password$"
|
||||
description = "Password to log in to server. (Defaults to an empty password if omitted)."
|
||||
}
|
||||
"-w" = {
|
||||
value = "$disk_smb_wused$"
|
||||
description = "Percent of used space at which a warning will be generated (Default: 85%)."
|
||||
}
|
||||
"-c" = {
|
||||
value = "$disk_smb_cused$"
|
||||
description = "Percent of used space at which a critical will be generated (Defaults: 95%)"
|
||||
}
|
||||
"-P" = {
|
||||
value = "$disk_smb_port$"
|
||||
description = "Port to be used to connect to. Some Windows boxes use 139, others 445 (Defaults to smbclient default if omitted)."
|
||||
}
|
||||
}
|
||||
arguments = {
|
||||
"-H" = {
|
||||
value = "$disk_smb_hostname$"
|
||||
description = "NetBIOS name of the server."
|
||||
}
|
||||
"-s" = {
|
||||
value = "$disk_smb_share$"
|
||||
description = "Share name to be tested."
|
||||
}
|
||||
"-W" = {
|
||||
value = "$disk_smb_workgroup$"
|
||||
description = "Workgroup or Domain used (Defaults to 'WORKGROUP' if omitted)."
|
||||
}
|
||||
"-a" = {
|
||||
value = "$disk_smb_address$"
|
||||
description = "IP-address of HOST (only necessary if HOST is in another network)."
|
||||
}
|
||||
"-u" = {
|
||||
value = "$disk_smb_username$"
|
||||
description = "Username to log in to server. (Defaults to 'guest' if omitted)."
|
||||
}
|
||||
"-p" = {
|
||||
value = "$disk_smb_password$"
|
||||
description = "Password to log in to server. (Defaults to an empty password if omitted)."
|
||||
}
|
||||
"-w" = {
|
||||
value = "$disk_smb_wused$"
|
||||
description = "Percent of used space at which a warning will be generated (Default: 85%)."
|
||||
}
|
||||
"-c" = {
|
||||
value = "$disk_smb_cused$"
|
||||
description = "Percent of used space at which a critical will be generated (Defaults: 95%)"
|
||||
}
|
||||
"-P" = {
|
||||
value = "$disk_smb_port$"
|
||||
description = "Port to be used to connect to. Some Windows boxes use 139, others 445 (Defaults to smbclient default if omitted)."
|
||||
}
|
||||
}
|
||||
|
||||
vars.disk_smb_wused = "85%"
|
||||
vars.disk_smb_cused = "95%"
|
||||
|
@ -1514,8 +1514,8 @@ object CheckCommand "icmp" {
|
|||
}
|
||||
|
||||
object CheckCommand "ldap" {
|
||||
import "plugin-check-command"
|
||||
import "ipv4-or-ipv6"
|
||||
import "plugin-check-command"
|
||||
import "ipv4-or-ipv6"
|
||||
|
||||
command = [ PluginDir + "/check_ldap" ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue