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

Backup mysql database

mysqldump -u root -p databasename > databasename.sql If you are using plesk, replace root...

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...

Improve ProFTPD performance

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

Clear postfix mail queue

Show QueuePostqueue -pDelete mail to/from mailboxpostqueue -p | tail -n +2 | awk 'BEGIN { RS = ""...

Setting pasv ports in PureFTP

  The PureFTP config file is here.... root@web-linux-cpanel [~]# grep -i passive...