mirror of https://github.com/Icinga/icinga2.git
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:
parent
92149fc570
commit
ad0d8d2b9e
|
@ -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_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.
|
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
|
### <a id="plugins-contrib-log-management"></a> Log Management
|
||||||
|
|
|
@ -104,3 +104,20 @@ object CheckCommand "ipmi-sensor" {
|
||||||
vars.ipmi_address = "$check_address$"
|
vars.ipmi_address = "$check_address$"
|
||||||
vars.ipmi_protocal_lan_version = "LAN_2_0"
|
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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue