The process below can be completed quickly and does not interrupt system functionality.
Start by Opening the Terminal App
Launch a new Terminal window on your Mac to begin.
Create a Backup of the Existing SNMP Config
sudo mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig
Keeping a backup allows you to restore the original configuration at any time.
Create a Fresh SNMP Configuration File
sudo nano /etc/snmp/snmpd.confAdd the following lines:
com2sec mynetwork <NETWORK/CIDR> public
rocommunity public default .1
Replace <NETWORK/CIDR> with the subnet where your Hudu Radar collector resides.
Replace public with a custom community string if preferred.
Press CTRL + X to save and exit the nano editor.
Activate the SNMP Service
sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
The SNMP daemon must be loaded for your Mac to respond to SNMP polls.
Applying Future Configuration Changes
sudo launchctl unload /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
Reloading ensures your updated configuration is applied correctly.
Final Notes
If you used a community string other than public or private, be sure to add it in Hudu Radar under your SNMP credentials.
A unique community string improves security and helps with device identification.