You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yzl 93958d0fb0
zabbix6.0
1 year ago
..
README.md zabbix6.0 1 year ago
template_server_chassis_ipmi.yaml zabbix6.0 1 year ago

README.md

Chassis by IPMI

Overview

Template for monitoring servers with BMC over IPMI that work without any external scripts. All metrics are collected at once, thanks to Zabbix's bulk data collection. It collects metrics by polling BMC remotely using an IPMI agent.

###Known Issues

  • Description: If the BMC has a sensor with an empty threshold value, we get the LLD error "Cannot create trigger...".

Requirements

Zabbix version: 7.0 and higher.

Tested versions

This template has been tested on:

  • HP iLO, DELL DRAC, IBM RSA

Configuration

Zabbix should be configured according to the instructions in the Templates out of the box section.

Setup

You can set {$IPMI.USER} and {$IPMI.PASSWORD} macros in the template for using on the host level.

Macros used

Name Description Default
{$IPMI.USER}

This macro is used for access to BMC. It can be overridden on the host or linked template level.

{$IPMI.PASSWORD}

This macro is used for access to BMC. It can be overridden on the host or linked template level.

{$IPMI.SENSOR_TYPE.MATCHES}

This macro is used in sensors discovery. It can be overridden on the host or linked template level.

.*
{$IPMI.SENSOR_TYPE.NOT_MATCHES}

This macro is used in sensors discovery. It can be overridden on the host or linked template level.

invalid

Items

Name Description Type Key and additional info
IPMI: Get IPMI sensors

The master item that receives all sensors with values for LLD and dependent elements from BMC.

IPMI agent ipmi.get

LLD rule Discrete sensors discovery

Name Description Type Key and additional info
Discrete sensors discovery

Discovery of the discrete IPMI sensors.

Dependent item ipmi.discrete.discovery

Item prototypes for Discrete sensors discovery

Name Description Type Key and additional info
IPMI: {#SENSOR_ID}

It is a state of the discrete IPMI sensor.

Dependent item ipmi.state_text[{#SENSOR_ID}]

Preprocessing

  • JSON Path: $.[?(@.id=='{#SENSOR_ID}')].state.text.first()

  • Discard unchanged with heartbeat: 1d

Trigger prototypes for Discrete sensors discovery

Name Description Expression Severity Dependencies and additional info
IPMI: {#SENSOR_ID} value has changed

The trigger is informing about changes in a state of the discrete IPMI sensor. A problem generated by this trigger can be manually closed.

last(/Chassis by IPMI/ipmi.state_text[{#SENSOR_ID}],#1)<>last(/Chassis by IPMI/ipmi.state_text[{#SENSOR_ID}],#2) Info Manual close: Yes

LLD rule Threshold sensors discovery

Name Description Type Key and additional info
Threshold sensors discovery

Discovery of the threshold IPMI sensors.

Dependent item ipmi.sensors.discovery

Item prototypes for Threshold sensors discovery

Name Description Type Key and additional info
IPMI: {#SENSOR_ID}, {#SENSOR_UNIT}

It is a state of the threshold IPMI sensor.

Dependent item ipmi.value[{#SENSOR_ID}]

Preprocessing

  • JSON Path: $.[?(@.id=='{#SENSOR_ID}')].value.first()

  • Discard unchanged with heartbeat: 1h

Trigger prototypes for Threshold sensors discovery

Name Description Expression Severity Dependencies and additional info
IPMI: {#SENSOR_ID} value is below non-critical low

The trigger is informing that a value less than the lower non-critical threshold has been reached.

min(/Chassis by IPMI/ipmi.value[{#SENSOR_ID}],5m)<{#SENSOR_LO_WARN} Warning Depends on:
  • IPMI: {#SENSOR_ID} value is below critical low
  • IPMI: {#SENSOR_ID} value is below non-recoverable low
IPMI: {#SENSOR_ID} value is below critical low

The trigger is informing that a value less than the lower critical threshold has been reached.

min(/Chassis by IPMI/ipmi.value[{#SENSOR_ID}],5m)<{#SENSOR_LO_CRIT} High Depends on:
  • IPMI: {#SENSOR_ID} value is below non-recoverable low
IPMI: {#SENSOR_ID} value is below non-recoverable low

The trigger is informing that a value less than the lower non-recoverable threshold has been reached.

min(/Chassis by IPMI/ipmi.value[{#SENSOR_ID}],5m)<{#SENSOR_LO_DISAST} Disaster
IPMI: {#SENSOR_ID} value is above non-critical high

The trigger is informing that a value higher than the upper non-critical threshold has been reached.

min(/Chassis by IPMI/ipmi.value[{#SENSOR_ID}],5m)>{#SENSOR_HI_WARN} Warning Depends on:
  • IPMI: {#SENSOR_ID} value is above critical high
  • IPMI: {#SENSOR_ID} value is above non-recoverable high
IPMI: {#SENSOR_ID} value is above critical high

The trigger is informing that a value higher than the upper critical threshold has been reached.

min(/Chassis by IPMI/ipmi.value[{#SENSOR_ID}],5m)>{#SENSOR_HI_CRIT} High Depends on:
  • IPMI: {#SENSOR_ID} value is above non-recoverable high
IPMI: {#SENSOR_ID} value is above non-recoverable high

The trigger is informing that a value higher than the upper non-recoverable threshold has been reached.

min(/Chassis by IPMI/ipmi.value[{#SENSOR_ID}],5m)>{#SENSOR_HI_DISAST} Disaster

Feedback

Please report any issues with the template at https://support.zabbix.com

You can also provide feedback, discuss the template, or ask for help at ZABBIX forums