- Open a terminal on a Mac running OS X Sierra.Enter the following command:
sudo -i
- Enter the following command:
nano /etc/snmp/snmpd.conf
- Scroll down to:
com2sec local localhost COMMUNITY
com2sec mynetwork NETWORK/24 COMMUNITY
- Replace with:
com2sec local localhost private
com2sec mynetwork NETWORK/24 public
- Scroll down to:
rocommunity public default .1.3.6.1.2.1.1.4
- Replace with:
rocommunity public default .1
- Scroll down to:
#rwcommunity private
- Replace with:
rwcommunity private
- Press y.
- Press Enter.
- Enter the following in the terminal:
launchctl load -w /System/Library/LaunchDaemons/snmp.snmpd.plist