Cacti on CentOS

Do the following steps to prepare your Dedicated or cloud server for Cacti monitoring software:
Required software(s)
You need to install the following software on RHEL / Fedora / CentOS Linux:
MySQL Server : Store cacti data.
NET-SNMP server - SNMP (Simple Network Management Protocol) is a protocol used for network management.
PHP with net-snmp module - Access SNMP data using PHP.
Apache / lighttpd / ngnix webserver : Web server to display graphs created with PHP and RRDTOOL.

Checking Your Dedicated Server for a DDOS Attack

You can use the following commands on a Linux server to determine if your dedicated server is being DDOS attacked.

# netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort –n

This command will show you the list of IP’s which have logged in is maximum number of connections to your server.

Read More