In my previous post, “Set Up A Cacti Monitoring Server in Minutes with this GoGrid Community Server Image”, I showed how to use a Community GSI to quickly and easily set up a monitoring server on GoGrid running Cacti. In this second part of the Cacti GoGrid Community GSI blog series, I would like to walk you through how I connected my Cacti server up to an Ubuntu server (a node in my Glusterfs file storage array). First we will review the objectives we are looking to achieve and then dive into each one.
- Confirm private network configuration on both Cacti server and Ubuntu server, and test connectivity.
- Enable SNMP server and configure SNMP rocommunity string on Ubuntu servers.
- Establish SNMP agent listening IP address
- Create “Device” in Cacti console and confirm SNMP connectivity to Ubuntu server
- Create Graphs – CPU usage, Load Average, Memory Usage, PING Latency, Processes, Eth0 Traffic, Eth1 Traffic
- Repeat process for other Ubuntu servers in your network.
Confirm private network configuration on both Cacti server and Ubuntu server, and test connectivity
On GoGrid, you have the ability to network your servers together over a private network allocated to your account. (Note: all private networking within GoGrid is free.) We need to take advantage of this secure communication method to allow your Cacti server SNMP access to your servers. I recommend you use the private network IP range that is specified in your account – under the “List” tab then “Network”.