I have a sonicwall appliance and it’s working fine for network, memory and cpu monitoring. I’d like to have a history of the ssl vpn licenses in use. I’m using the latest ‘daily’ librenms and standard config files. I see there is a sonicwall os defined, which explains why I’m seeing the stats I have:
As sonicwall is already detected, you have to create the includes/definitions/discovery/sonicwall.yaml and for what you want, I guess it will be a Health sensor of type Unit
I moved the CPU discovery from includes/definitions/discovery/sonicwall.yaml to LibreNMS/OS/Sonicwall.php because some logic was needed, but I don’t think that’s relative to your use case.
I’m guessing you need to alter the if statement referenced to include your device. I added that logic because I don’t have a lot of knowledge of all the hardware Sonicwall has and if they all share the same capabilities.