Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair


Info

This article provides details about errors with SNMP values that result in increased usage percentages.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.0.0P1

Table of Contents

Problem

A POE-enabled network interface shows an excessive usage percentage.
e.g. POE usage (6000W/1800W): : 333% (warn/crit at 90.0%/95.0%)

Reason

Some hardware vendors violate the SNMP RFC and output milliwatts instead of watts for pethMainPseConsumptionPower.

When looking at an SNMP walk of the affected device, it will become evident that the value in pethMainPseConsumptionPower (1.3.6.1.2.1.105.1.3.1.1.4.1) is not output in watts:

Code Block
languagebash
themeMidnight
OMD[mysite]:~$ grep .1.3.6.1.2.1.105.1.3.1.1. ~/var/check_mk/snmpwalks/my_device
.1.3.6.1.2.1.105.1.3.1.1.2.1 1800
.1.3.6.1.2.1.105.1.3.1.1.3.1 1
.1.3.6.1.2.1.105.1.3.1.1.4.1 6000

Checkmk then uses these values to calculate the percentages:

Code Block
languagebash
themeMidnight
6000/1800 → 333%

Those are then wrong, of course, because if your input data is faulty, the result of your calculation will also be faulty.

Solution

As the bug lies within the SNMP implementation of the affected device, the hardware vendor must fix this bug in the firmware.
Please open a ticket with the vendor and ask them to fix the bug.

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "ldap" , "ldaps" , "troubleshooting" , "snmp" ) and type = "page" and space = "KB"
labelsLDAP LDAPs

Page Properties
hiddentrue


Related issues