Public domain
# cd /usr/ports/net-mgmt/net-snmp
# make install clean && rehash
# chmod 444 /usr/local/etc/rc.d/snmptrapd
# snmpconf -i
  1:  snmpd.conf
    1:  System Information Setup
      1:  The [typically physical] location of the system.
      2:  The contact information for the administrator.
      finished
    2:  Access Control Setup
      3:  a SNMPv1/SNMPv2c read-only access community name
        The community name to add read-only access for: 
        The hostname or network address to accept this community name from [RETURN for all]: 
        finished
    finished
  quit
# vi /etc/rc.conf
    snmpd_enable="YES"
    snmpd_flags="-a"
    snmpd_pidfile="/var/run/snmpd.pid"
    snmpd_conffile="/usr/local/share/snmp/snmpd.conf"
# /usr/local/etc/rc.d/snmpd start
BY: Pejman Moghadam 
TAG: snmp 
DATE: 2008-06-05 15:59:36