Centos – Activer le client SNMP

instalation of service

yum install -y net-snmp-utils

I’m careful so I do a backup of the snmpd config file.

mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak

Create a new config file.

echo rocommunity public>/etc/snmp/snmpd.conf

Restart the snmpd service for enable change

/etc/init.d/snmpd start

How to test

snmpwalk -v 1 -c public -O e 127.0.0.1

 

Pour marque-pages : Permalien.

Les commentaires sont fermés.