[MAC] SNMP load on boot in OSX 10.5.x

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bello Offline
Junior Member
Posts: 20
Joined: Mar 2009
Reputation: 0
Location: Vancouver
Post: #1
i am a bit of data whore when it comes to monitoring the computers on my network, so my new htpc was not going to be an exception to this. after following Apple's support article on this i found that snmpd was not actually loading on boot.

[INDENT]- http://support.apple.com/kb/TA20884?viewlocale=en_US[/INDENT]


i spent some time looking through the startup objects and found one gotcha, so i thought i would share the steps i followed to get this all working.

1. open /etc/hostconfig with your favourite text editor and change SNMPSERVER=-NO- to SNMPSERVER=-YES-

2. *optional* amend /etc/snmp/snmpd.conf to suite your environment

3. open /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist with your favourite text editor and update "<key>Disabled</key> <true/>" to "<key>Disabled</key> <false/>"

4. lastly launch the snmp daemon (can also reboot at this point to test).
[INDENT]# sudo launchctl load org.net-snmp.snmpd.plist[/INDENT]


happy monitoring Smile
find quote