Aug 15 2007

SNMP on Solaris 10

I’ve been doing installs of Solaris 10 and then needing to set them up with SNMP. The first thing I noticed is that the system is running snmpd and not snmpdx. There is still an init.d file for snmpdx, init.snmpdx, and configuration files, so at first this confused me. After looking around the web, I found that Solaris 10 is moving to using snmpd (Net-SNMP) instead of the solstice version.

Finding that information out, I was able to determine that the configuration files for snmpd are located in /etc/sma/snmp/. To setup snmpd information, just modify the snmpd.conf and everything will work.

You can start and stop it form /etc/init.d/init.sma and it is started from /etc/rc3.d/S82initsma.

3 Comments

  • By mike, 2/17/2009 @ 2:38 AM

    We work with a variety of system types including Solaris – but we use Solaris much less than Linux. In any case it’s great to have your info source out here.

  • By Steve, 2/8/2011 @ 11:25 AM

    James,
    I have been trying hard to follow all the instructions on installing SNMP for Solaris OS10 on a Sun Server x4150. So far no go.. We are using Whats Up Gold. A question if I may? Do I have to remove the snmpdx and any associated files? If so how? Can you clarify the last sentence please You can start and stop it form /etc/init.d/init.sma and it is started from /etc/rc3.d/S82initsma.
    Thanks,
    Steve

  • By James, 2/15/2011 @ 10:40 AM

    Steve,
    It’s been a long time since I have been playing with Solaris 10. I’m pretty sure you should not have to remove snmpdx. init.sma is actually symlinked to /etc/rc3.d/S82initsma, and that is how it is started by the system, opposed to the svcadm system for specifying boot services. Due note though, that there have been a lot of patches / updates since I wrote this and really focused on a system, so they might have moved it into that system now.

Other Links to this Post

RSS feed for comments on this post. TrackBack URI

Leave a comment