Saturday, 5 December 2009

Enabling SNMP in Mac OS X 10.6 (Snow Leopard)

Under Snow Leopard there is a slight change to the way services are enabled.
-w       Overrides the Disabled key and sets it to false. In previous versions, this
         option would modify the configuration file. Now the state of the Disabled key
         is stored elsewhere on-disk.

So, to enable the SNMP daemon correctly:
$ sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

2 comments:

  1. are you by chance using intermapper? When I run the command in terminal, it says 'Already loaded'..... how do i configure it further?

    ReplyDelete
  2. No, I'm not running Intermapper.You will need to unload it, configure it by editing the plist file and then reload it again.

    ReplyDelete