SNMP Setup
Appearance
macOS
in Terminal:<syntaxhighlight lang="zsh"> sudo nano /etc/snmp/snmpd.conf </syntaxhighlight>search (control + w) for "rocommunity".
Change the line<syntaxhighlight lang="zsh">
rocommunity public default .1.3.6.1.2.1.1.4
</syntaxhighlight>to<syntaxhighlight lang="zsh">
- rocommunity public default .1.3.6.1.2.1.1.4
rocommunity public 10.1.0.0/16 </syntaxhighlight>save (control + o)
close nano (control + x)
Start the SNMP Daemon<syntaxhighlight lang="zsh">
sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
</syntaxhighlight>