How can we help?

How to enable SNMP on Mac OSX

Follow

These steps don’t require a system restart and are non-service affecting.  

  1. Open a new terminal window.
  2. Create a backup of the default SNMP configuration file:
sudo mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig
  1. Create and edit a new SNMP configuration file:
sudo nano /etc/snmp/snmpd.conf

Enter the following in the new configuration file:

com2sec mynetwork <NETWORK/CIDR> public
rocommunity public default .1

Replace <NETWORK/CIDR> with the network address and CIDR mask of the subnet your Auvik collector resides on. Replace the community string “public” with another string if that’s your preference.

Press CTRL-X to save the configuration file and exit the nano editor.

  1. Enable the SNMP daemon:
sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

Note: If you later change the SNMP settings on your Mac, you’ll need to run the following two commands instead of the launchctl command above:

sudo launchctl unload /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
  1. If you used a community string other than public or private, add it to Auvik by following these steps.
Have more questions? Submit a request

Comments

Powered by Zendesk