Enable and Configure SNMP – OS X

On the flip side to my recent post – Install and enable SNMP – Windows – I thought it would only be fair to do a similar article for OS X.  Being that I am a massive Apple Fan boy 🙂

From a new terminal window launch the following command:

sudo snmpconf -g basic_setup

When prompted, enter your administrator password, and follow the on screen prompts to configure SNMP depending on your requirements. Once you have completed the configuration launch the following command from the terminal window

sudo  launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

That’s it, all being well you should now have SNMP enabled on your OS X machine.

SNMP is a standard TCP/IP protocol for network management. Network administrators use SNMP to monitor and map network availability, performance, and error rates.

Mike Hudson

Mike Hudson is a Infrastructure Analyst living and working in Kingston Upon Hull. With extensive experience in Microsoft and Apple technologies, ranging from desktop OS’s to Server OS’s and hardware. By day working as part of an infrastructure team, and by night ridding the world of IT issues through blog posts..

  • Pingback: Cacti, monitoring, SNMP, Linux and OSX | P3r3s' Notes()

  • // turn off snmp

    sudo launchctl unload -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

  • // turn off snmp

    sudo launchctl unload -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

  • marika

    Are there any mac firewall port openings required?

  • marika

    Is there anything specific for mavericks? or will this procedure work ok?

  • Adam Fuller

    In Mavericks, on the server I had to change the key Disabled value for in the plist file from True to False to enable SNMP on the server. Then re-start.

%d bloggers like this: