<!DOCTYPE html> <html> <head> </head> <body> <p>Installare l'SNMP ed opzionalmente anche le utilities<br /><br /><strong>#yum -y install net-snmp net-snmp-utils</strong><br /><br />Rinominare il file di default di configurazione<br /><br /><strong>#mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig</strong><br /><br />Editare un nuovo file:<br /><br /><strong>#vi /etc/snmp/snmpd.conf</strong> <br /><br />oppure copiarlo da un altro server (allego la configurazione)<br /><br />E' necessario anche ridurre il log:<br /><br /><strong>#vi /etc/sysconfig/snmpd</strong><br />OPTIONS="-LS0-5d -Lf /dev/null -p /var/run/snmpd.pid"<br /><br />Riavviare il servizio ed impostarlo in auto-start al boot:<br /><br />#<strong>chkconfig snmpd on</strong><br /><br /><strong>#service snmpd restart</strong><br /><br />NOTA: Ricordarsi di aprire le porte UDP 161 sul firewall CSF altrimenti non funziona<br /><br /></p> </body> </html>
Subscribe
0 Comments
Oldest