SNMP
2 minute read.
Last Modified 2023-11-30 10:15 ESTSNMP (Simple Network Management Protocol) monitors network-attached devices for conditions that warrant administrative attention. TrueNAS uses Net-SNMP to provide SNMP. To configure SNMP, go to System Settings > Services page, find SNMP, and click the edit.
See SNMP Service Screen for setting information.
Port UDP 161 listens for SNMP requests when starting the SNMP service.
Available Management Information Bases (MIBs) are located in
To check the directory on your system, go to System Settings > Shell to access the TrueNAS CLI and enter storage filesystem listdir path="/usr/local/share/snmp/mibs"
. For more information, see storage filesystem listdir
.
To read the MIB file, download a copy to a shared dataset. Enter storage filesystem get path="/usr/local/share/snmp/mibs/FILENAME.ext" > PATH/FILENAME.ext
, where FILENAME.ext is the MIB file and PATH is the path to a dataset with a share configured (SMB, NFD, or iSCSI). For more information, see storage filesystem get
.
Log in to the share to access the copy.