Getting dbm info from Cisco devices

I have an ASR1004 and a WS-C3850-12XS. They both show the OS as IOX-XE. The ASR shows me dbm for interfaces under the Health tab. The 3850 does not. I am unsure where to begin in figuring out why. Can someone get me pointed in the right direction?

3850 is IOS-XE? Dont have any but I think they are IOS.

Try running ./poller.php -H hostname -m sensors/dbm -d and see what the output is, pastebin here if you want feedback.

Any particular section? Otherwise it’s going to take me a while to redact things.

They can run IOS XE or newer IOSes like Denali, and they react differently. Let see the pastebin.

https://pastebin.com/Sy3xu7gf

I am starting to wonder if the 3850 simply does not report the power level over snmp.

Different version of IOS seems to be reporting.

Cisco IOS-XE 16.3.6 (UNIVERSALK9) works.

No way it is a cisco bug :wink:

Um, I don’t see any modules being run in that debug output. Have you disabled all modules?

Nope.

What command did you use to generate the debug output?

EDIT: nevermind, you are on the release version of LibreNMS aren’t you.

Run this: ./poller.php -H hostname -m sensors -d

https://pastebin.com/PRnh4YLP

The log shows two sensors working:

SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQnte -M /opt/librenms/mibs:/opt/librenms/mibs/cisco udp:HOSTNAME:161 .1.3.6.1.4.1.9.9.91.1.1.1.1.4.1079 .1.3.6.1.4.1.9.9.91.1.1.1.1.4.1080]
.*.*.*.1.4.1079 = -2
.*.*.*.1.4.1080 = -40
 
Checking (snmp) dbm Te1/0/12 - Te1/0/12 Transmit Power ...
Checking (snmp) dbm Te1/0/12 - Te1/0/12 Receive Power ...
-0.2
-4

Also, your install is stuck on a weird version. You may want to check that.

show int te1/0/12 trans reports as follows:

Tx Power -2.4
Rx Power -1.8

What’s weird about my version?

Usually it is not just a git hash.

LibreNMS | 1.41-75-gf9525714f

I had just dug into that. Clicking on the link and taking me to the release notes kind of clued me in that I was out of date too. Apparently something happened in April and I’m looking into things.

I fixed that and I’m on 1.42 now.

I seem to be experiencing the same problem on the following 3850’s:

WS-C3850-24XS Cisco IOS-XE 03.07.05E (UNIVERSALK9)
WS-C3850-24P Cisco IOS-XE 03.07.05E (UNIVERSALK9)
WS-C3850-24P-S Cisco IOS-XE CAT3K_CAA-UNIVERSALK9-M 16.6.3 (Everest)

Is it still working for you on IOS-XE 16.3.6 ?

The above ios versions do not report SFP DOM values on entSensorType, thus never finding the sensors. Altough the sensors are found on entPhysicalClass.

Not all Cisco SFPs report DOM data.

Example: GLC-SX-MM doesn’t; GLC-SX-MMD does. Both are otherwise identical short reach 1G SFPs.