SonicWall Gen 7 - missing CPU graph / data

doeas anyone can help how to get CPU data for SonicWall Gen 7 firewall (in my case it is NSa 2700).
All others is working fine.

I don’t have any such devices, but some places to maybe start:

Do you have other sonicwall devices with working CPU graphs to compare against?
Can you post the discovery debug via pastebin? Device → 3 dots top right → Capture …

Looking at the code, it’s trying to get the CPU using:



(get the result of and add . to the end of it)

What happens when you manually snmpwalk those OIDs?


Can you post the discovery debug via pastebin? → pastebin


snmpwalk -v2c -c community sonicwall_host .
iso. = Gauge32: 43

snmpwalk -v2c -c community sonicwall_host .
joint-iso-ccitt.1.3.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

snmpwalk -v2c -c community sonicwall_host
iso. = OID: iso.

I think these models have incomplete support and need more work.

In the debug, it’s hitting the bottom block (line 837):

SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Ovq' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sonicwall' 'udp:HOSTNAME:161' '.']

So what do you get from . - presuming nothing relevant?

You’re getting what looks like valid data on . but the code as it’s written won’t use that as it expects the sysObjectID to be . in LibreNMS/OS/Sonicwall.php

Will need others to tell us if they see this on their devices also and what other models do, would potentially need the logic to be altered in the code to account for it. For example in your case, checking the logic to match for . -or- . would get it working.

I suspect from this, that the device doesn’t play by the original rules: Sonicwall Gen 7 OS - #3 by SegaMegaDave

The PR which responds to the above mentions CPU is not covered: Add Sonicwall OS 7 by edgetho007 · Pull Request #12997 · librenms/librenms · GitHub

So what do you get from . - presuming nothing relevant?

snmpwalk -v2c -c SNMPSTRING
iso. = No Such Object available on this agent at this OID


new firmware release and now I can see CPU usage, but only as aggregate.
Is it possible to split it for every processor?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.