View Single Post
Tuổi 20-05-2014, 04:54 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Hướng dẫn cài đặt SNMP on Debian/Ubuntu, install SNMP on Debian/Ubuntu
Hướng dẫn cài đặt SNMP on Debian/Ubuntu, install SNMP on Debian/Ubuntu



SNMP


1. Cài đặt

#apt-get install snmpd

2. Cấu hình

#mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org


Tạo file mới và điền thông tin cấu hình SNMP


[root@dull ~]# vi /etc/snmp/snmpd.conf

Trích dẫn:
rocommunity public
syslocation "Viettel DataCenter"
syscontact info@quantrinet.com



# /etc/default/snmpd

Rào dòng sau lại #

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -p /var/run/snmpd.pid'


Add thêm dòng sau vào



SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid -c /etc/snmp/snmpd.conf'



Restart lại dịch vụ

#/etc/init.d/snmpd restart

#chkconfig snmpd on


Tham khảo

http://help.logicmonitor.com/monitor...-debianubuntu/

  Trả lời ngay kèm theo trích dẫn này