- Cara Install
# cd /usr/ports/net-mgmnt/net-snmp
# make install clean - Konfigurasi AUTO START
edit /etc/rc.conf and add the following line:
#/etc/rc.conf
snmpd_enable=”YES” - Konfigurasi SNMP
edit /usr/local/share/snmp/snmpd.conf and add the following:syslocation home # replace home with the name you would like to use
syscontact me@here.com # put in the systems admin e-mail address
rocommunity public # replace with the read only name you would like to use
rwcommunity private # change this to the writable password you would like to use
master yesStart the SNMP daemon# /usr/local/etc/rc.d/snmpd.sh start
# service snmpd restartAt this point, you up and running with a very basic snmp configuration. There’s a handy utility called snmpconf that can be run to help you generate the snmp.conf (optional) and snmpd.conf files. This will give you more options and help tighten up security.Now, you should be able to snmpwalk your host using the following: snmpwalk -v1 -c public 127.0.0.1 - Sumber Link
https://musaamin.web.id/