Hello Everyone,
im doing mine internship in a datacenter nearby.
As intern i have got mine own project to work on.
We want to monitor inline current meters from Eaton (EILB13) and we already making use of LibreNMS to monitor some servers. so i looked it up and i saw that is was possible to intergrate the current meters in LibreNMS.
After i made a test environment and added the current meter i found out that is was everything i want to monitor so i tried to make my own YAML file for the discovery and so far everything i want to monitor shows up except the Current and the load.
Does anyone know what im doing wrong?
Here is the YAML file i currently have:
mib: PDU-MIB:EATON-EPDU-MIB
modules:
os:
hardware:
- EATON-EPDU-MIB::partNumber.0
- PDU-MIB::objectName.0
hardware_template: "{{ EATON-EPDU-MIB::partNumber.0 }} {{ PDU-MIB::objectName.0 }}"
serial:
- EATON-EPDU-MIB::serialNumber.0
- PDU-MIB::serialNumber.0
version:
- EATON-EPDU-MIB::firmwareVersion.0
- PDU-MIB::firmwareVersion.0
sensors:
#works correctly
frequency:
data:
- oid: inputTable
value: inputFrequency
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.1.1.3.{{ $index }}"
divisor: 10
index: "inputFrequency.{{ $index}}"
descr: "Frequency"
#works correctly
voltage:
data:
- oid: inputVoltageTable
value: inputVoltage
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.2.1.3.{{ $index }}"
divisor: 1000
descr: "Current Voltage"
index: "inputVoltage.{{ $index }}"
low_warn_limit: inputVoltageThLowerWarning
low_limit: inputVoltageThLowerCritical
warn_limit: inputVoltageThUpperWarning
high_limit: inputVoltageThUpperCritical
#works correctly
power:
data:
- oid: inputPowerTable
value: inputWatts
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.4.1.4.{{ $index }}"
multiplier: 1
index: "inputWatts.{{ $index }}"
descr: "Current Power Usage"
#works correctly
power_consumed:
data:
- oid: inputTotalPowerTable
value: inputTotalWh
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.5.1.5.{{ $index }}"
divisor: 1000
index: "inputTotalWh.{{ $index }}"
descr: "Total Wh used since reset"
#works correctly
power_factor:
data:
- oid: inputTotalPowerTable
value: inputTotalPowerFactor
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.5.1.7.{{ $index }}"
divisor: 1000
index: "inputTotalPowerFactor.{{ $index }}"
descr: "Powerfactor"
#doesnt show up
load:
data:
- oid: inputCurrentTable
value: inputCurrentPercentLoad
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.3.1.11.{{ $index }}"
multiplier: 1
index: "inputCurrentPercentLoad.{{ $index }}"
descr: "load"
#doesnt show up
current:
data:
- oid: inputCurrentTable
value: inputCurrent
num_oid: ".1.3.6.1.4.1.534.6.6.7.3.3.1.4.{{ $index}}"
divisor: 1000
descr: "Current"
index: "inputCurrent.{{ $index}}"
low_warn_limit: inputCurrentThLowerWarning
low_limit: inputCurrentThLowerCritical
warn_limit: inputCurrentThUpperWarning
high_limit: inputCurrentThUpperCritical
Output of discovery module sensors:
#### Load disco module sensors ####
Caching data: os sensors
ENTITY-SENSOR: Caching OIDs: entPhysicalDescr
Airflow:
Current: .
Charge:
Dbm:
Fanspeed:
Frequency: Cur 50, Low: null, Low Warn: null, Warn: null, High: null
.
Humidity:
Load:
Loss:
Power: Cur 12, Low: null, Low Warn: null, Warn: null, High: null
.
Power_consumed: Cur 0.302, Low: null, Low Warn: null, Warn: null, High: null
.
Power_factor: Cur 0.404, Low: null, Low Warn: null, Warn: null, High: null
.
Runtime:
Signal:
State:
Count:
Temperature:
Tv_signal:
Bitrate:
Voltage: Cur 231.51, Low: 180, Low Warn: 190, Warn: 255, High: 265
.
Snr:
Pressure:
Cooling:
Delay:
Quality_factor:
Chromatic_dispersion:
Ber:
Eer:
Waterflow:
Percent:
If anyone can help me out, i would really appreciate that!