Monitoring of Supermicro motherboard X7DWU IPMI sensors.
The template supports IPMI Module/Board sensors (sensor type code 15h
), power
supplies sensors (sensor type code 08h
) and threshold based sensors (reading
type 01h
).
This template is part of RaBe's Zabbix template and helpers collection.
An external script is used for low-level discovery of the sensors (as Zabbix currently lacks LLD of IPMI sensors).
- Install the IPMI sensor discovery script.
- Import the IPMI Module Board Generic Sensors template.
- Import the IPMI Power Supply Generic Sensors template.
- Import the IPMI Threshold Sensors template.
- Import the
Template_IPMI_Supermicro_SSG-6048R-E1CR24N.xml
into your Zabbix server. - Add the template to your host (or stack template)
- Set the following user macros on your host or template (those are required
for the auto discovery to work)
{$HOST.IPMI.CONN}
IP address or domain name of your IPMI host{$HOST.IPMI.USER}
IPMI user{$HOST.IPMI.PASS}
IPMI password
- Add an IPMI interface to your host
- Configure the IPMI parameters of your host
- Check if new data arrives
IPMI template for Supermicro Motherboard X7DWU
The {$HOST.IPMI.CONN}
, {$HOST.IPMI.USER}
and {$HOST.IPMI.PASS}
macros have to be set according to your IPMI configuration.
{$HOST.IPMI.CONN}
(default: localhost){$HOST.IPMI.PASS}
(default: password){$HOST.IPMI.USER}
(default: admin)
Drive slot IPMI sensor discovery (ipmi-sensor-discovery.sh["{$HOST.IPMI.CONN}","{$HOST.IPMI.USER}","{$HOST.IPMI.PASS}", "{$IPMI_DRIVE_SLOT_SENSOR_TYPES}"]
)
Discovers drive slot IPMI sensors with the help of the external ipmi-sensor-discovery.sh script.
- Sensor $2 (
ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}]
)
IPMI discrete sensor prototype item for a drive slot (sensor type code 0Dh).
- Warning: Drive slote {#IPMI_SENSOR_NAME} predictive failure on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "Predictive Failure" (sensor specific offset 02h) state. The third least significant bit is 1 (VALUE & 100 = 100).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,4)}=4
- Information: Drive slot {#IPMI_SENSOR_NAME} consistency check in progress on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "Consistency Check / Parity Check in progress" (sensor specific offset 04h) state. The fifth least significant bit is 1 (VALUE & 10000 = 10000).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,16)}=16
- High: Drive slot {#IPMI_SENSOR_NAME} drive fault on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "Drive Fault" (sensor specific offset 01h) state. The second least significant bit = 1 (VALUE & 10 = 10).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,2)}=2
- High: Drive slot {#IPMI_SENSOR_NAME} has unknown status on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is not in "Drive Presence" (sensor specific offset 00h) nor in "Hot Spare" (sensor specific offset 03h) state. The least significant bit is not 1 (VALUE & 1 = 0) and he fourth least significant bit is not 1 (VALUE & 1000 = 0).This trigger serves as a safety catch-all for unknown states or IPMI implementation bugs.
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,1)}<>1 and {Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,8)}<>8
- Information: Drive slot {#IPMI_SENSOR_NAME} in critical array on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "In Critical Array" (sensor specific offset 05h) state. The sixth least significant bit is 1 (VALUE & 100000 = 100000).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,32)}=32
- Information: Drive slot {#IPMI_SENSOR_NAME} in failed array on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "In Failed Array" (sensor specific offset 06h) state. The seventh least significant bit is 1 (VALUE & 1000000 = 1000000).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,64)}=64
- Warning: Drive slot {#IPMI_SENSOR_NAME} rebuild aborted on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "Rebuild/Remap Aborted (was not completed normally)" (sensor specific offset 08h) state. The ninth least significant bit is 1 (VALUE & 100000000 = 100000000).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,256)}=256
- Information: Drive slot {#IPMI_SENSOR_NAME} rebuild in progress on {HOST.NAME}
The IPMI drive slot sensor (sensor type code 0Dh) is in "Rebuild/Remap in progress" (sensor specific offset 07h) state. The eighth least significant bit is 1 (VALUE & 10000000 = 10000000).
{Template IPMI Supermicro X7DWU:ipmi.discrete-sensor[drive-slot,{#IPMI_SENSOR_NAME}].band(#1,128)}=128
This template is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
Copyright (c) 2017 - 2019 Radio Bern RaBe