OIDs for SNMP Monitoring Disk Space

Joined
Apr 24, 2022
Messages
2
I have TrueNAS 12.0 and use Auvik to monitor our systems.

Auvik is giving the incorrect value for disk utilization and that means they have the wrong OIDs. I was hoping I could get some help finding the correct OIDs but iXsystems support doesn't know their own product. So I am asking the community if anyone has any idea where I can find the OIDs for Desk space utilization. Thank you!

The Mibs are:
HOST-RESOURCES-MIB::hrStorageAllocationUnits.13
HOST-RESOURCES-MIB::hrStorageSize.13
HOST-RESOURCES-MIB::hrStorageUsed.13
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
So, clarify this for us. You're a TrueNAS Enterprise customer and they wouldn't give you the OID's?

Or you're a free product "customer" and didn't understand that their support is only for the paid customers?
 
Joined
Apr 24, 2022
Messages
2
So, clarify this for us. You're a TrueNAS Enterprise customer and they wouldn't give you the OID's?

Or you're a free product "customer" and didn't understand that their support is only for the paid customers?
I am a TrueNAS Enterprise Customer and they don't even know where to get the OIDs. I am a paying customer.

I have a Silver level contract that expires 2026-01-14
 
Last edited by a moderator:

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I'm not entirely certain what you need. I'm not an SNMP guy; I think it's a terrible protocol, just better than all the even horribler alternatives.

The MIB files over at /usr/local/share/snmp/mibs such as FREENAS-MIB.txt may be a starting point.

You could also try to file a Jira ticket ("Report a Bug") at the top to see if you can prod any of the developers. SNMP is a bit of a niche thing but it looks like they want to support it. That may not always translate into support knowing what SNMP is.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
@connor.johnson, @jgreco pointed you to the correct MIB. Most storage MIBs don't understand ZFS. In your case, you want:

.iso.org.dod.internet.private.enterprises.freeNas.zfs.zpool.zpoolTable.zpoolEntry.zpoolAllocationUnits (.1.3.6.1.4.1.50536.1.1.1.1.3)
.iso.org.dod.internet.private.enterprises.freeNas.zfs.zpool.zpoolTable.zpoolEntry.zpoolSize (.1.3.6.1.4.1.50536.1.1.1.1.4)
.iso.org.dod.internet.private.enterprises.freeNas.zfs.zpool.zpoolTable.zpoolEntry.zpoolUsed (.1.3.6.1.4.1.50536.1.1.1.1.5)
 
Top