OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: iorx on February 12, 2023, 01:22:09 PM

Title: SNMP detection LibreNMS and missing firewall graphs compared to pfSense
Post by: iorx on February 12, 2023, 01:22:09 PM
Hi and KUDOS to all awesome forum members!

Maybe this should go into the Libre community forum, but I give it a shoot here first.

LibreNMS have hade some trouble identifying OPNsense as a firewall since a couple of version back. The SNMP response makes it identify it as FreeBSD and not OPNsense.
This can be fixed by adding "sysDescr OPNsense Firewall" to snmpd.conf though.
Doing the above sysDescr LibreNMS nicely show as an OPNsense icon/device.

Now for the real question.
What I noticed is that pfSense looks a bit different inventoried and what I'm missing here is the /Device/Graphs/Firewall, which shows up for a pfSense device, with lots of use full information.

The first part what OPNsense answers in SNMP, could this be fixed so a default install is identified as OPNsense? A modification of net-snmpd package or a fix in OPNsense?

Second part. The /Device/Graphs/Firewall missing, is this a LibreNMS or a OPNsense task to fix? I suspect it's within the device specification/polling template in LibreNMS, my amateur guess.

Brgs,
Title: Re: SNMP detection LibreNMS and missing firewall graphs compared to pfSense
Post by: iorx on February 15, 2023, 09:40:25 PM
Anyone out there? Isn't this even a little bit related to OPNsense, as the SNMP SysDescr at least?

Brgs,
Title: Re: SNMP detection LibreNMS and missing firewall graphs compared to pfSense
Post by: Patrick M. Hausen on February 15, 2023, 10:07:22 PM
Yes, but possibly nobody else uses LibreNMS? I tried it like I do with many open source network management tools but found I prefer Observium.
Title: Re: SNMP detection LibreNMS and missing firewall graphs compared to pfSense
Post by: tiermutter on February 16, 2023, 07:40:50 AM
My Sense is shown like this... guess there is a little bug in version information, but .1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110 shows "OPNsense 23.1".

(https://forum.opnsense.org/index.php?action=dlattach;topic=32444.0;attach=25867)

It looks like pf metrics are no longer supported by netSNMP:
https://forum.opnsense.org/index.php?topic=19753.0