- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI need to enable snmp on my MBP running mac os 10.5 as it part of a network that is being monitored by 'The Dude'. So far I have taken the following steps:
1. Edited the /private/etc/hostconfig file and changed the line
SNMPSERVER=-YES-
and restarted the computer (help on just restarting the snmp daemon would also be welcomed)
I have tried the command ps -ax | grep snmpd and there is an entry
however, to my monitoring tool (the dude) snmp tab shows no entries.
As an aside all the Windows machines worked fine by installing the snmp component from control panel leading to much derision of macs so, I need help to try and restore the mac reputation in my office!
Any help greatly appreciated
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Michael_MCDSTPosted on 2009-03-20 at 05:48:47ID: 23938769
Basic setup of SNMP on OS X 10.5 or server: [if you have an xserve snmp is already on]
[client is not the same; Server only in 10.2] Log in as Root. This is easier so you can edit the hidden files you need to. If you know how to use the sudo command and a unix text editor, feel free. Use the Go -> Go to Folder command and enter /etc. In the list of files, find hostconfig and open it. Under the header # Services, add SNMPSERVER=-YES- below the list of other services, and save the file. Now open Terminal window and type or paste snmpconf -g basic_setup (you must be root user or use sudo command). Enter man snmpconf first to read about this command if you wish. Follow the instructions onscreen to set up the basics. This can get very detailed and you can run it again after you read more on SNMP and understand what to enter better. When you finish, I would restart ... but if you know how to use the CLI to start the process or restart the SNMP process, you can do that instead.
Now you can use SNMP commands from a UNIX terminal on any Mac and get info about the Mac you just set up.
For the Newbie, SNMP is Simple Network Management Protocol, which is used in some cases to manage a PC and more so on the Mac-end to monitor machines. You can get a verity of information like running processes, CPU usage, temperatures and lots more. The information you get depends on two things. Your hardware can supply the information to the system and the MIB (Management Information Base) files installed in your system. All Mac OS X installs include some form of SNMP; you just have to turn it on and use it. For more information, go to www.net-snmp.com
and
www.dartware.com/net-snmp.