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