diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 45d703146..83dc89421 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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. +#### 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. ### Log Management diff --git a/itl/plugins-contrib.d/ipmi.conf b/itl/plugins-contrib.d/ipmi.conf index f2b47d9f7..925ce3802 100644 --- a/itl/plugins-contrib.d/ipmi.conf +++ b/itl/plugins-contrib.d/ipmi.conf @@ -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" + } +}