how to detect truenas scale using snmp

SImon Smith

Cadet
Joined
Sep 29, 2016
Messages
9
Hi All,

im trying to work out the best way of our monitoring (LibreNMS) detecting TrueNAS Scale ?

currently it detects the sysObjectID correctly and then detects if TrueNAS or FreeNAS is set inside the 'sysDescr'
Code:
discovery:
    -
        sysObjectID:
            - .1.3.6.1.4.1.8072.3.2.8
            - .1.3.6.1.4.1.50536.3
        sysDescr:
            - FreeNAS
            - TrueNAS


but for some reason in the latest 22.02 RELEASE of scale its not displaying much in the 'sysDescr'

Code:
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-On' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysUpTime.0' 'SNMPv2-MIB::sysName.0'] 
.*.*.0 = 22.02.0. Hardware: x86_64 Intel(R) Celeron(R) CPU G1610T @ 2.30GHz. Software: Linux 5.10.93+truenas (revision #1 SMP Fri Feb 18 14:37:37 UTC 2022)
.*.*.0 = .*.4.1.50536.3.1
.*.*.0 = 9669467
.*.*.0 = freenas.local


i understand that Scale is now Ubuntu based instead of FreeBSD based

but is the a bug with the SNMP for SCALE and it SHOULD be displaying 'TrueNAS' somewhere in the 'sysDescr' like in version of CORE ?

Regards

Simon
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Go ahead and "report a bug".....
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
See that thing at the top of the screen that says "Report a Bug"? That's sufficient.
 
Top