Install SNMP (Centos)

Centos6
yum -y install snmp

Centos7
yum install net-snmp net-snmp-utils

rename the file:

/etc/snmp/snmpd.conf  to /etc/snmp/snmpd.old

create a new file (r/w 0600 rights if done through winscp):

/etc/snmp/snmpd.conf

add this text:

rocommunity netmonro
syslocation KCom DC
syscontact team@intrahost.co.uk

 

restart snmp
Centos6
service snmpd restart

Centos7
systemctl start snmpd
systemctl enable snmpd

 

and add the IP address to the monitored-by-nagios rules group on the firewall

Was this answer helpful?

 Print this Article

Also Read

Apache - Address already in use: make_sock: could not bind to address

Apache - Address already in use: make_sock: could not bind to address This error message can be...

Slow ssh authentication

Problem: ssh login takes up to 30 seconds. Solution: It is likely to be a Reverse DNS issue....

Improve ProFTPD performance

A quick fix to fix connectivity or slow connection issues when using ProFTPD is to edit some of...

FTP uploads have wrong permissions

When files are created in a folder via FTP, the permisions are not set to those of the folder....

Run .cgi outside cgi-bin directory

By default runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from...