Install and configure snmp1, cd/usr/ports/net-mgmt/net-snmp/2、makeclean3、makedeinstall4、makeinstallTk-804.028_502.tar.gz doesn & amp; #39; tseemtoexistin/usr/ports/distfiles/in freebsd.
Install and configure snmp 1, cd/usr/ports/net-mgmt/net-snmp/2, make clean3, make deinstall4, make installTk-804.028_502.tar.gz doesn't seem to exist in/usr under freebsd /ports/distfiles /. handle the error: Download the tk-804.028_502.tar.gz installation package through the link address displayed by ftp, and copy it to the specified directory.
Under/usr/ports/distfiles/, install make insall again. 5. make clean www.2cto.com 6. enter the system startup Directory:/etc/rc. add the following information to the conf file: snmpd_enable = "YES" snmpd_flags = "-a" snmpd_pidfile = "/var/run/snmpd. pid "snmptrapd_enable =" YES "snmptrapd_flags ="-a-p/var/run/snmptrapd. pid "7. create a new file named snmpd. conf, add the following information: com2sec notConfigUser default quanshi group notConfigGroup v1 notConfigUsergroup notConfigGroup v2c notConfigUserview systemview included. 1.3.6.1.2.1.1view systemview added. 1.3.6.1.2.1.25.1.1access notConfigGroup "" any noauth exact all none noneview all attached ded. 1 80 syslocation Unknown (edit/etc/snmp/snmpd. conf) syscontact Root (Configure/etc/snmp. local. conf) pass. 1.3.6.1.4.1.4413.4.1/usr/bin/ucd5820stat 8. copy the file: cp-r/root/snmpd. conf/usr/local/share/snmp/9,/usr/local/etc/rc. d/snmpd start10, check and Port: ps aux | grep snmp socket | grep snmp
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.