Linux – Installer le protocole SNMP
mai 26, 2016 10:14 Laissez vos commentairesInstallation du protocole snmp sur les postes clients :
Serveur de supervision : 192.168.1.200
Community : mycompany
Centos :
yum install net-snmp net-snmp-utils net-snmp-libs
nano /etc/snmp/snmpd.conf
# sec.name source community com2sec notConfigUser 192.168.1.200 mycompany com2sec notConfigUser 127.0.0.1 mycompany #view systemview included .1.3.6.1.2.1.1 #view systemview included .1.3.6.1.2.1.25.1.1 view systemview included .1.3.6.1.2.1 view systemview included .1.3.6.1.2.1.25.1
service snmpd restart chkconfig snmpd on
test :
snmpwalk -v2c 172.17.1.2 -c mycompany
Debian :
apt-get install snmpd snmp
nano /etc/snmp/snmpd.conf
rocommunity mycompany 127.0.0.1 rocommunity mycompany 192.168.1.200 #agentAddress udp:127.0.0.1:161 agentAddress udp:161
Classés dans :Linux
Cet article a été écrit par admin