3

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

HTF
  • 3,148
  • 14
  • 52
  • 82

3 Answers3

3

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.

thinice
  • 4,716
  • 21
  • 38
  • 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
1

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.

  • Yes, I've heard however Percona has a few plug-ins for Cacti that would be quite useful for me (MySQL, Nginx) - http://www.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. –  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 08:19
1

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 :)

adaptr
  • 16,576
  • 23
  • 34