/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/) *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/) *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
vars.fping_address = "$address6$"
}
-object CheckCommand "passive" {
- import "dummy"
-
- vars.dummy_state = 3
- vars.dummy_text = "No Passive Check Result Received."
-}
-
object CheckCommand "tcp" {
import "ipv4-or-ipv6"
"-W" = {
value = "$disk_inode_wfree$"
description = "Exit with WARNING status if less than PERCENT of inode space is free"
+ order = -3
}
"-K" = {
value = "$disk_inode_cfree$"
description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
+ order = -3
}
"-p" = {
value = "$disk_partitions$"
"-A" = {
set_if = "$disk_all$"
description = "Explicitly select all paths. This is equivalent to -R .*"
+ order = 1
}
"-R" = {
value = "$disk_eregi_path$"
vars.disk_wfree = "20%"
vars.disk_cfree = "10%"
vars.disk_megabytes = true
- vars.disk_exclude_type = [ "none", "tmpfs", "sysfs", "proc", "configfs", "devtmpfs", "devfs", "mtmfs", "tracefs", "cgroup", "fuse.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fdescfs" ]
+ vars.disk_exclude_type = [
+ "none",
+ "tmpfs",
+ "sysfs",
+ "proc",
+ "configfs",
+ "devtmpfs",
+ "devfs",
+ "mtmfs",
+ "tracefs",
+ "cgroup",
+ "fuse.gvfsd-fuse",
+ "fuse.gvfs-fuse-daemon",
+ "fdescfs",
+ "overlay",
+ "nsfs"
+ ]
}
object CheckCommand "disk_smb" {
set_if = "$by_ssh_ipv6$"
description = "Use IPv6 only"
}
+ "-E" = {
+ value = "$by_ssh_skip_stderr$"
+ description = "Ignore all or (if specified) first n lines on STDERR [optional]"
+ }
}
vars.by_ssh_address = "$check_address$"