Move 'runing_kernel' check command to plugins-contrib 'operating system' section

fixes #9175
This commit is contained in:
Michael Friedrich 2015-04-25 13:42:04 +02:00
parent d6f41a2e53
commit 74d75c5d2a
3 changed files with 14 additions and 16 deletions

View File

@ -614,14 +614,6 @@ procs_command | **Optional.** Only scan for exact matches of COMMAND (wit
procs_nokthreads | **Optional.** Only scan for non kernel threads. Defaults to false.
## <a id="plugin-check-command-running-kernel"></a> running_kernel
Check command object for the `check_running_kernel` plugin
provided by the `nagios-plugins-contrib` package on Debian.
The `running_kernel` check command does not support any vars.
## <a id="plugin-check-command-simap"></a> simap
Check command object for the `check_simap` plugin.
@ -1547,6 +1539,14 @@ mem_cache | **Optional.** If set to true plugin will count cache as free memo
mem_warning | **Required.** Specifiy the warning threshold as number interpreted as percent.
mem_critical | **Required.** Specifiy the critical threshold as number interpreted as percent.
## <a id="plugin-contrib-command-running-kernel"></a> running_kernel
Check command object for the `check_running_kernel` plugin
provided by the `nagios-plugins-contrib` package on Debian.
The `running_kernel` check command does not support any vars.
## <a id="plugins-contrib-virtualization"></a> Virtualization
This category includes all plugins for various virtualization technologies.

View File

@ -1313,11 +1313,3 @@ object CheckCommand "ldap" {
vars.ldap_timeout = 10s
vars.ldap_verbose = false
}
/* Contrib plugins */
object CheckCommand "running_kernel" {
import "plugin-check-command"
command = [ "sudo", PluginDir + "/check_running_kernel" ]
}

View File

@ -50,3 +50,9 @@ object CheckCommand "mem" {
vars.mem_cache = false
}
object CheckCommand "running_kernel" {
import "plugin-check-command"
command = [ "sudo", PluginDir + "/check_running_kernel" ]
}