Questions tagged [cacti]

Cacti is an open source, web-based graphing tool, written in PHP, using RRD as storage, and RRDtool for graphing. It allows to poll services at intervals and graph resulting data, such as CPU load, network bandwidth ulitization, temperature data and others, usually, using data from SNMP OID's.

Courtesy Wikipedia, Cacti (Software):

Cacti is an open source, web-based graphing tool designed as a frontend to RRDtool's data storage and graphing functionality. Cacti allows a user to poll services at predetermined intervals and graph the resulting data. It is generally used to graph time-series data of metrics such as CPU load and network bandwidth utilization. A common usage is to monitor network traffic by polling a network switch or router interface via SNMP.

The frontend is written in PHP; it can handle multiple users, each with their own graph sets, so it is sometimes used by web hosting providers (especially dedicated server, virtual private server, and colocation providers) to display bandwidth statistics for their customers. It can be used to configure the data collection itself, allowing certain setups to be monitored without any manual configuration of RRDtool. Cacti can be extended to monitor any source via shell scripts and executables.

Cacti can use one of two backends - "cmd.php" a PHP script suitable for smaller installations or "spine" (formerly cactid) a C-based poller which can scale to thousands of hosts.

A large and quite active community has formed around the Cacti forums and Plugin Sites providing valuable scripts, templates, advice on writing plugins and documentation.


Useful links

118 questions
1
vote
1 answer

Cacti CentOS Issues

So I'm running CentOS 6.5 and I'm trying to install and configure Cacti. I keep running into the same issue repeatedly. Setup MySQL Server for Cacti mysqladmin -u root password STRONGPASSWORD1 After executing this step I receive: mysqladmin:…
GarrettVW
  • 11
  • 2
1
vote
3 answers

How to use external data with CACTI

I am using some perl and bash scripts to create rrd files for some other application. My simple query is, can I use cacti to make graphs using that rrd files. Note: I am able to create graphs using rrd tool.
Space
  • 7,049
  • 6
  • 49
  • 68
1
vote
1 answer

Snmpget returns noSuchName but snmpwalk works, not a instance number issue

I recently hooked up an APC battery backup to one of my servers, I installed the powerchute agent on the server and have verified that I can remotely access the agent and the APC through the agent. I am trying to get my Cacti install to retrieve my…
Jereme
  • 630
  • 6
  • 18
1
vote
1 answer

CDEF Function to find % value in Cacti

I am trying to figure out how to find the % based on two data sources from an RRD graph. Below is the code used to create the graph (generated by Cacti) /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start=1256445701 \ --end=1256532101…
Littlejon
  • 1,066
  • 9
  • 24
1
vote
1 answer

Is it possible to create an snmp "proxy" agent?

I have a situation when I have three computers A, B, C. Computer A and B are on routable networks and can communicate with each other (different subnets). Computer C is not routable but is on the same subnet as B. I want to monitor computer C from…
1
vote
1 answer

Cacti Migration

I try to migrate Cacti from a server A to a server B. Both are on Debian 6 and this is the same version of Cacti (0.8.7g) I follow these steps : Backup cacti db on server A Disable Cacti cron on server A and B Backup all rra (for i in find -name…
Thomas K
  • 1,067
  • 1
  • 15
  • 35
1
vote
0 answers

Import RRD files into cacti

I have rrd files collected from different hosts. Would like to import rrd files into a cacti instance. I followed what is described here http://docs.cacti.net/manual:087:8_rrdtool.05_external_rrds to generate graphs from RRD files. How to update…
Vjy
  • 2,106
  • 3
  • 22
  • 34
1
vote
1 answer

Nagiosgraph rrd files not created(maybe because of map file)

I'm having a problem with Nagiosgraph. I have created a nagios check which monitors the traffic on a server/workstation through SNMP and the output of the check is a long string that looks like this: OK - traffmon…
primero
  • 591
  • 1
  • 6
  • 17
1
vote
1 answer

ant Failed to retrieve RMIServer stub NameNotFoundException jmxrmi

I have alfresco 4.0d installed and I am trying to set up monitoring using cacti. I have got the template from percona. When i try to run the following command I get an error. I used the jar file as mentioned in the percona link from the tomcat/lib…
shorif2000
  • 2,582
  • 12
  • 65
  • 137
0
votes
1 answer

Error when executing Cacti poller.php

I have installed Cacti, and when I run poller.php, it gives me following error: sh: /rrdtool: No such file or directory I have tracked it to the following bit of code: $command = '/usr/bin/rrdtool' . " - "; $rrd_struc["fd"] = popen($command,…
spacemonkey
  • 19,664
  • 14
  • 42
  • 62
0
votes
1 answer

How to monitor remote servers using Cacti without SSH tunnels?

Nagios uses NRPE plugin to monitor remote processes. So you need to open only one port on the remote machine. For Cacti, you need to open all the required ports so the shell scripts can retrieve data. Or we can use SSH tunneling. Is there a NRPE…
user244333
0
votes
1 answer

Cacti reports kilorows as a Mysql Sort

In my cacti installation, the graph that reports on mysql sorts has a value kiloRows. What does this value mean? I can't seem to find anything on it anywhere.
Chris Henry
  • 11,914
  • 3
  • 30
  • 31
0
votes
1 answer

Cacti memory graph not showing correct graph value?

Kindly help. I am stuck. Graph are getting spikes ..but the value is not showing correctly although SNMP get the value correctly.Please throw some light.
unixbhaskar
  • 129
  • 2
  • 3
  • 12
0
votes
1 answer

cacti: Display how much % one data source item has of an other datasource item

I want to create a graph template in which it is displayed how much percentage a data source item has of another data source item. I assumed I'd need to use CDEF functions for that and according to that question CDEF Function to find % value in…
Marenz
  • 2,722
  • 3
  • 20
  • 19
0
votes
1 answer

Php app hangs session. Webserver restart fixes it.

Running cacti on CentOS 5.6. Every so often the browser hangs indefinitely (throbber spinning, no activity). The only (quick) way out (for the session) is restarting the webserver (kill the browser login again is actually longer in my setup). All…
Alien Life Form
  • 1,884
  • 1
  • 19
  • 27