Blank OSPF "Ports" listing when viewing OSPF device details

Tags: #<Tag:0x00007f3b8998de08>

I have nothing listed under “Ports” when viewing details on any of my OSPF Devices. The Areas and Neighbors listings show up just fine tho.
My only OSPF devices are all Juniper SRX 1500 running JunOS 18.4R3-S2 so have nothing else to compare with, and not sure if this issue might be something juniper or version specific. Anyone else running ospf on Juni SRX and have working OSPF Ports listing?
Heres a screenshot of what I’m seeing:

  • Steps to reproduce an issue.
    Go to Routing > OSPF Devices
    Click on any OSPF device
    Click on the + icon to show full details. No Ports listed.

  • The output of ./validate.php
    netnms01:/opt/librenms# ./validate.php

    Component Version
    LibreNMS 1.65.1
    DB Schema 2020_06_23_00522_alter_availability_perc_column (170)
    PHP 7.2.24-0ubuntu0.18.04.6
    Python 3.6.9
    MySQL 10.1.44-MariaDB-0ubuntu0.18.04.1
    RRDTool 1.7.0
    SNMP NET-SNMP 5.7.3

    ====================================

    [OK] Composer Version: 1.10.9
    [OK] Dependencies up-to-date.
    [OK] Database connection successful
    [OK] Database schema correct
    [WARN] Your local git contains modified files, this could prevent automatic updates.
    [FIX]:
    You can fix this with ./scripts/github-remove
    Modified Files:
    rrd/.gitignore

Turns out this was a self-inflicted issue. The OSPF ports were not showing up because we had previously disabled l2vlan interfaces in config.php:

$config[‘bad_iftype’][] = “l2vlan”;

OSPF runs on vlan subinterfaces on our SRX so these ports were simply not in the Libre DB to list under the OSPF Ports.