mirror of https://github.com/Icinga/icinga2.git
parent
1bff5eb706
commit
8d551fa99f
|
@ -615,7 +615,19 @@ Check command for the `check_apt` plugin.
|
|||
|
||||
The `apt` check command does not support any vars.
|
||||
|
||||
### <a id="plugin-check-command-hpjd"></a> hpjd
|
||||
|
||||
Check command object for the `check_hpjd` plugin.
|
||||
|
||||
Custom Attributes:
|
||||
|
||||
Name | Description
|
||||
----------------|--------------
|
||||
hpjd_address | **Optional.** The host's address. Defaults to "$address$".
|
||||
hpjd_port | **Optional.** The host's SNMP port. Defaults to 161.
|
||||
hpjd_community | **Optional.** The SNMP community. Defaults to "public".
|
||||
|
||||
#
|
||||
### <a id="plugin-check-command-running-kernel"></a> running_kernel
|
||||
|
||||
Check command object for the `check_running_kernel` plugin
|
||||
|
|
|
@ -885,6 +885,20 @@ object CheckCommand "nrpe" {
|
|||
timeout = 5m
|
||||
}
|
||||
|
||||
object CheckCommand "hpjd" {
|
||||
import "plugin-check-command"
|
||||
|
||||
command = [ PluginDir + "/check_hpjd" ]
|
||||
|
||||
arguments = {
|
||||
"-H" = "$hpjd_address$"
|
||||
"-C" = "$hpjd_community$"
|
||||
"-p" = "$hpjd_port$"
|
||||
}
|
||||
|
||||
vars.hpjd_address = "$address$"
|
||||
}
|
||||
|
||||
/* Contrib plugins */
|
||||
object CheckCommand "running_kernel" {
|
||||
import "plugin-check-command"
|
||||
|
|
Loading…
Reference in New Issue