Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I currently have Nagios installation for monitoring various systems (mainly Linux). I would like to implement some graphing tool for historical data (CPU, memory, disk usage, web server QPS etc). I've tried Nagiosgrpah however it's not reliable and very limited.

I would like to try Cacti but I'm not sure what's the recommenced/secure way to pull the data from the remote servers. Is there some agent that needs to be installed on the monitored machine?

I've came across other tools like Ganglia and Graphite.

Could you recommend any of these tools in my case?

Regards

share|improve this question
    
What kind of data? What kind of servers? –  jftuga Jul 18 '12 at 15:17
    
Server performance in general (CPU, memory, network bandwidth, disk usage). KVM virtual guests - CentOS. –  HTF Jul 18 '12 at 15:20

3 Answers 3

up vote 3 down vote accepted

Cacti is capable of pulling data through a variety of means.

Using the most popular templates (and most templates in general) provide the statistic data via SNMP or SSH.

So to address your inquiry more directly: Cacti doesn't really require any special 'cacti daemon' to be run on a host to be monitored;

I use it to monitor apache, MySQL, generic Snmp oids, Cisco equipment, etc.

share|improve this answer
    
So if I would like to use SSH - do I have to maintain SSH tunnel for this purpose? Is there a way to configure encryption for SNMP? –  HTF Jul 18 '12 at 15:23
1  
You don't need to maintain a tunnel. Scripts can connect and disconnect at intervals. Snmp v3 supports encryption –  thinice Jul 18 '12 at 16:53

Have you heard of Munin?

I find Munin to be easy to install and setup. And generally has better interface and feel to it. Prettier graphs in other words :)

http://munin-monitoring.org/

You have to configure server and node to make it work.

share|improve this answer
    
Yes, I've heard however Percona has a few plug-ins for Cacti that would be quite useful for me (MySQL, Nginx) - percona.com/doc/percona-monitoring-plugins/index.html –  HTF Jul 18 '12 at 15:25
1  
@HTF same for munin, you have many plugins... and writing plugins is also very easy. Mysql is included nginx plugin is available on the net. –  Sandro Dzneladze Jul 18 '12 at 16:48
    
That's great. Do you know if there is any encryption between server and nodes? –  HTF Jul 18 '12 at 17:11
    
While Munin is very, very easy to install - it's really turn-key in that respect - once you have it, extending it to multiple hosts or more monitors is far from trivial. Cacti has exactly that part automated to a high degree :) –  adaptr Jul 19 '12 at 8:19

Cacti is based on MRTG, which uses SNMP to query (mainly) networking equipment.

Wile it now includes a dozen different data-gathering methods (and dozens more can be added manually), it performs very well with SNMP data, and is really built around handling and displaying SNMP data.

There are few devices that do not offer some sort of SNMP output - consumer devices included.

Only very cheap switches or routers tend to omit such basic networking tools.

You can gather and plot thousands of data points with absolutely minimal resources (single CPU, 1GB memory, few GB for the graphs and database) and it works fine on a VM, too :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.