mirror of https://github.com/Icinga/icinga2.git
commit
acaafab055
|
@ -2227,6 +2227,39 @@ hpasm_privprotocol | **Optional.** The private protocol for SNMPv3 (des\|aes\|a
|
|||
hpasm_servertype | **Optional.** The type of the server: proliant (default) or bladesystem.
|
||||
hpasm_eval-nics | **Optional.** Check network interfaces (and groups). Try it and report me whyt you think about it. I need to build up some know how on this subject. If you get an error and think, it is not justified for your configuration, please tell me about it. (alwasy send the output of "snmpwalk -On .... 1.3.6.1.4.1.232" and a description how you setup your nics and why it is correct opposed to the plugins error message.
|
||||
|
||||
#### <a id="plugin-contrib-command-adaptec-raid"></a> adaptec-raid
|
||||
|
||||
The plugin [check_adaptec_raid](https://github.com/thomas-krenn/check_adaptec_raid) is a plugin to monitor Adaptec RAID controller through arcconf.
|
||||
|
||||
Custom attributes passed as [command parameters](3-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
--------------------------------|-----------------------------------------------------------------------
|
||||
adaptec_controller_number | **Required.** Controller number to monitor.
|
||||
arcconf_path | **Required.** Path to the `arcconf` binary, e.g. "/sbin/arcconf".
|
||||
|
||||
#### <a id="plugin-contrib-command-lsi-raid"></a> lsi-raid
|
||||
|
||||
The plugin [check_lsi_raid](https://github.com/thomas-krenn/check_lsi_raid) is a plugin to monitor MegaRAID RAID controller through storcli.
|
||||
|
||||
Custom attributes passed as [command parameters](3-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
--------------------------------|-----------------------------------------------------------------------
|
||||
lsi_controller_number | **Required.** Controller number to monitor.
|
||||
storcli_path | **Required.** Path to the `storcli` binary, e.g. "/usr/sbin/storcli".
|
||||
|
||||
#### <a id="plugin-contrib-command-smart-attributes"></a> smart-attributes
|
||||
|
||||
The plugin [check_smart_attributes](https://github.com/thomas-krenn/check_smart_attributes) is a plugin to monitor the SMART values of SSDs and HDDs.
|
||||
|
||||
Custom attributes passed as [command parameters](3-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
--------------------------------|-----------------------------------------------------------------------
|
||||
smart_attributes_config_path | **Required.** Path to the smart attributes config file (e.g. check_smartdb.json).
|
||||
smart_attributes_device | **Required.** Device name (e.g. /dev/sda) to monitor.
|
||||
|
||||
|
||||
### <a id="plugin-contrib-icingacli"></a> IcingaCLI
|
||||
|
||||
|
@ -2269,14 +2302,28 @@ ipmi_exclude_sensor_id | **Optional.** Exclude sensor matching ipmi_se
|
|||
ipmi_exclude_sensor | **Optional.** Exclude sensor based on IPMI sensor type. (Comma-separated)
|
||||
ipmi_exclude_sel | **Optional.** Exclude SEL entries of specific sensor types. (comma-separated list).
|
||||
ipmi_sensor_id | **Optional.** Include sensor matching ipmi_sensor_id.
|
||||
ipmi_protocal_lan_version | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
|
||||
ipmi_protocol_lan_version | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
|
||||
ipmi_number_of_active_fans | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned.
|
||||
ipmi_show_fru | **Optional.** Print the product serial number if it is available in the IPMI FRU data.
|
||||
ipmi_no_sel_checking | **Optional.** Turn off system event log checking via ipmi-sel.
|
||||
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
|
||||
|
||||
`ipmi-alive` allows you to create a ping check for the IPMI Interface.
|
||||
|
||||
Custom attributes passed as [command parameters](3-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
---------------------------------|-----------------------------------------------------------------------------------------------------
|
||||
ping_address | **Optional.** The address of the IPMI interface. Defaults to "$address$" if the IPMI interface's `address` attribute is set, "$address6$" otherwise.
|
||||
ping_wrta | **Optional.** The RTA warning threshold in milliseconds. Defaults to 5000.
|
||||
ping_wpl | **Optional.** The packet loss warning threshold in %. Defaults to 100.
|
||||
ping_crta | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
|
||||
ping_cpl | **Optional.** The packet loss critical threshold in %. Defaults to 100.
|
||||
ping_packets | **Optional.** The number of packets to send. Defaults to 1.
|
||||
ping_timeout | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
|
||||
|
||||
|
||||
### <a id="plugins-contrib-log-management"></a> Log Management
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
install(
|
||||
FILES databases.conf icingacli.conf ipmi.conf logmanagement.conf network-components.conf operating-system.conf virtualization.conf vmware.conf storage.conf web.conf hardware.conf network-services.conf metrics.conf
|
||||
FILES databases.conf hardware.conf icingacli.conf ipmi.conf logmanagement.conf metrics.conf network-components.conf network-services.conf operating-system.conf raid-controller.conf smart-attributes.conf storage.conf virtualization.conf vmware.conf web.conf
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/icinga2/include/plugins-contrib.d
|
||||
)
|
||||
|
|
|
@ -76,7 +76,7 @@ object CheckCommand "ipmi-sensor" {
|
|||
description = "Turn off system event log checking via ipmi-sel"
|
||||
}
|
||||
"-D" = {
|
||||
value = "$ipmi_protocal_lan_version$"
|
||||
value = "$ipmi_protocol_lan_version$"
|
||||
description = "Change the protocol LAN version (default: LAN_2_0)"
|
||||
}
|
||||
"-fc" = {
|
||||
|
@ -102,5 +102,23 @@ object CheckCommand "ipmi-sensor" {
|
|||
}
|
||||
|
||||
vars.ipmi_address = "$check_address$"
|
||||
vars.ipmi_protocal_lan_version = "LAN_2_0"
|
||||
vars.ipmi_protocol_lan_version = "LAN_2_0"
|
||||
}
|
||||
|
||||
/*
|
||||
* Icinga2 CheckCommand definition for an IPMI interface ping check
|
||||
*/
|
||||
|
||||
template CheckCommand "ipmi-alive-common" {
|
||||
vars.ping_wrta = 5000.0
|
||||
vars.ping_wpl = 100
|
||||
|
||||
vars.ping_crta = 5000.0
|
||||
vars.ping_cpl = 100
|
||||
|
||||
vars.ping_packets = 1
|
||||
}
|
||||
object CheckCommand "ipmi-alive" {
|
||||
import "ping"
|
||||
import "ipmi-alive-common"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* Icinga2 CheckCommand definitions to monitor RAID controller from Adaptec and Broadcom using
|
||||
* the Adaptec RAID Monitoring Plugin and the LSI RAID Monitoring Plugin
|
||||
*/
|
||||
|
||||
object CheckCommand "adaptec-raid" {
|
||||
import "plugin-check-command"
|
||||
|
||||
command = [ PluginDir + "/check_adaptec_raid" ]
|
||||
|
||||
arguments = {
|
||||
"-C" = {
|
||||
required = true
|
||||
value = "$adaptec_controller_number$"
|
||||
description = "Insert the controller number to be checked."
|
||||
}
|
||||
"-p" = {
|
||||
required = true
|
||||
value = "$arcconf_path$"
|
||||
description = "Insert the path to arcconf (e.g. /sbin/arcconf)."
|
||||
}
|
||||
}
|
||||
|
||||
vars.arcconf_path = "/sbin/arcconf"
|
||||
}
|
||||
|
||||
object CheckCommand "lsi-raid" {
|
||||
import "plugin-check-command"
|
||||
|
||||
command = [ PluginDir + "/check_lsi_raid" ]
|
||||
|
||||
arguments = {
|
||||
"-C" = {
|
||||
required = true
|
||||
value = "$lsi_controller_number$"
|
||||
description = "Insert the controller number to be checked."
|
||||
}
|
||||
"-p" = {
|
||||
required = true
|
||||
value = "$storcli_path$"
|
||||
description = "Insert the path to storcli (e.g. /usr/sbin/storcli)."
|
||||
}
|
||||
}
|
||||
|
||||
vars.storcli_path = "/usr/sbin/storcli"
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Icinga2 CheckCommand definition for the SMART Attributes Monitoring Plugin
|
||||
*/
|
||||
|
||||
object CheckCommand "smart-attributes" {
|
||||
import "plugin-check-command"
|
||||
|
||||
command = [ PluginDir + "/check_smart_attributes" ]
|
||||
|
||||
arguments = {
|
||||
"-dbj" = {
|
||||
required = true
|
||||
value = "$smart_attributes_config_path$"
|
||||
description = "Path to the smart attributes config file (e.g. check_smartdb.json)"
|
||||
}
|
||||
"-d" = {
|
||||
required = true
|
||||
value = "$smart_attributes_device$"
|
||||
description = "Insert the device name (e.g. /dev/sda) to monitor"
|
||||
}
|
||||
}
|
||||
|
||||
vars.smart_attributes_config_path = SysconfDir + "/icinga2/plugins-config/check_smartdb.json"
|
||||
}
|
Loading…
Reference in New Issue