SNMP Setup
macOS
[edit]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>
Windows 10
[edit]You can install SNMP via the Settings panel. Go to Apps -> Optional features -> Add an optional feature -> View features.
To install the SNMP service using PowerShell, run the command below:<syntaxhighlight lang="powershell"> Add-WindowsCapability -Online -Name SNMP.Client~~~~0.0.1.0 </syntaxhighlight>