Device Summary ports down incorrect

I’m currently having an issue where the ports flagged as Down on the Device Summary widget is incorrect (https://imgur.com/ejp9rNi). When clicking on the number of ports flagged as down, the ports list page shows 0 results (https://imgur.com/NkemXN5)

I’ve found 2 similar threads where this issue occurred but unfortunately they haven’t lead me to a fix:

Having this port down count incorrect makes it hard to quickly see if something is wrong. Unfortunately, I can’t pinpoint when exactly this began but it was sometime in the last month. Currently running the most current LibreNMS version, too.

Output of ./validate.php:

-bash-4.2$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.59-43-g3629db9
DB Schema | 2019_12_17_151314_add_invert_map_to_alert_rules (154)
PHP       | 7.2.19
MySQL     | 5.5.60-MariaDB
RRDTool   | 1.4.8
SNMP      | NET-SNMP 5.7.2
====================================

[OK]    Composer Version: 1.9.2
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct

Output of ./daily.sh:

-bash-4.2$ ./daily.sh
Updating to latest codebase                        OK
Updating Composer packages                         OK
Updating SQL-Schema                                OK
Updating submodules                                OK
Cleaning up DB                                     OK
Fetching notifications                             OK
Caching PeeringDB data                             OK

Any help is appreciated. Thank you.

The downed ports not showing themselves turned out to be channels on some PRI interfaces polling as “dormant” because they had no active call on them. Once I ignored alerting on the channels, the down port count returned to 0.

1 Like