How To Setup Net-SNMP in Solaris 10

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

How to Setup Net-SNMP in Solaris 10.

From SysAdminWiki
Jump to: navigation, search

Procedure

1. Grab the latest netsnmp package from SunFreeware.com. 2. Create a symbolic link for perl. By default the snmpconf looks for it in sbin:

ln -s /usr/bin/perl /usr/local/sbin/perl

3. Run the snmpconf utility which is located in /usr/sfw/bin/. 4. Run through the wizard and copy the resulting snmpd.conf file to /usr/local/share/snmp. Note: If you ran snmpconf with the -i option you do not need to do this step. 5. I find it best to link /etc/snmp/snmpd.conf to the /usr/local/share/snmp/snmpd.conf file where thats where it is located on all my linux systems and I tend to try to edit that file out of habit:

ln -s /usr/local/share/snmp/snmpd.conf /etc/snmp/snmp.conf

6. Have a look at the /etc/snmp/snmpd.conf file and add any extra options. 7. Start the daemon:

/usr/local/sbin/snmpd -c /etc/snmp/snmpd.conf

You might also like