Add a check command for check_hpjd

refs #6225
This commit is contained in:
Gunnar Beutner 2015-02-02 10:57:21 +01:00
parent 1bff5eb706
commit 8d551fa99f
2 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -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"