ITL: Add an IPMI Interface PING check for an IPMI host

refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
Thomas Niedermeier 2017-02-21 13:26:11 +01:00 committed by Michael Friedrich
parent 92149fc570
commit ad0d8d2b9e
2 changed files with 23 additions and 0 deletions

View File

@ -2276,7 +2276,13 @@ ipmi_no_sel_checking | **Optional.** Turn off system event log check
ipmi_verbose | **Optional.** Be Verbose multi line output, also with additional details for warnings.
ipmi_debug | **Optional.** Be Verbose debugging output, followed by normal multi line output.
#### <a id="plugin-contrib-command-ipmi-alive"></a> ipmi-alive
With the plugin `ipmi-alive` you can assign a PING check for the IPMI Interface.
Name | Description
---------------------------------|-----------------------------------------------------------------------------------------------------
ipmi_address | **Required.** Specifies the remote host (IPMI device) to check.
### <a id="plugins-contrib-log-management"></a> Log Management

View File

@ -104,3 +104,20 @@ object CheckCommand "ipmi-sensor" {
vars.ipmi_address = "$check_address$"
vars.ipmi_protocal_lan_version = "LAN_2_0"
}
/*
* Icinga2 CheckCommand definition for an IPMI interface ping check
*/
object CheckCommand "ipmi-alive" {
import "plugin-check-command"
command = [ PluginDir + "/check_ping" ]
arguments = {
"-H" = "$ipmi_address$"
"-w" = "5000,100%"
"-c" = "5000,100%"
"-p" = "1"
}
}