Overview

    To do that, you may use a combination of:

    • dependent low-level discovery rule and item prototypes

    Configuration

    Master item

    Create an IPMI item using the following key:

    Set the type of information to “Text” for possibly big JSON data.

    Dependent LLD rule

    6 Discovery of IPMI sensors - 图2

    As master item select the item we created.

    In the “LLD macros” tab define a custom macro with the corresponding JSONPath:

    Dependent item prototype

    Create an item prototype with “Dependent item” type in this LLD rule. As master item for this prototype select the item we created.

    • Name: IPMI value for sensor {#SENSOR_ID}

    As type of information, Numeric (unsigned).

    In the item prototype “Preprocessing” tab select JSONPath and use the following JSONPath expression as parameter:

    When discovery starts, one item per each IPMI sensor will be created. This item will return the integer value of the given sensor.