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

loop over mulitple rrd files in directory

I need to iterate through all .rrd files inside a given directory and do fetch data inside each rrd database and do some actions and export them into single csv file in python script! How can this be done in a efficient way? it's ok to advice me…
Swe Zin Phyoe
  • 149
  • 1
  • 2
  • 11
1
vote
1 answer

Cacti graphs showing empty data though rrd files are getting generated

rrd files are getting generated through cron job. I have not configured snmp and i configured the same in graph management. So, there is no need to configure snmp on unix server (localhost).
vijay
  • 87
  • 2
  • 8
1
vote
0 answers

Cacti, snmp error

When adding device to "Devices" I get "snmp error". Cacti can't properly connect to device though proper (I think) configuration (i attached png with config). When I debug on router I can see that security level in sent packet is "noauth" and there…
pgrzeda
  • 31
  • 4
1
vote
1 answer

RRDTool and projects that use it (cacti etc) - HOWTO, storage, backup etc

I want to create an application similar to cacti. I would like to store time-series data in a MySQL database (that is rotated on schedule). Where does cacti (nagios, zenoss) store polled data? a) in a MySQL database b) in a RRD database c) both? …
clyfe
  • 23,695
  • 8
  • 85
  • 109
1
vote
1 answer

How to create (upload/download) graph for devices connected to router/switch using Cacti?

I am trying to create the graph for the ONU (client end) devices connected to the Optical Line Terminal(OLT) . The graph for OLT(upstream) can be created but Im stuck on creating graphs for every devices connected to OLT.
sherpaurgen
  • 3,028
  • 6
  • 32
  • 45
1
vote
1 answer

cacti default port

I used apt-get to install cacti on my ubuntu 10.04 box. It said it installed correctly, but I'm not sure what port its listening on.
rahrahruby
  • 673
  • 4
  • 11
  • 28
1
vote
1 answer

Automatically download Cacti Weathermap at regular intervals

I was looking for a way to automatically download the weathermap image from the Cacti Weathermap plugin at regular intervals. There does not seem to be an easy way to do this listed anywhere on the internet using only Windows, so I thought I'd a)…
Gostega
  • 429
  • 1
  • 5
  • 14
1
vote
2 answers

How to integrate freeipa with cacti?

I have a cacti and a freeipa server running fine. i want a user of cacti that is created from freeipa. i'm having a real pain. how to do it ? any step by step procedure or link can help
Arup Barua
  • 51
  • 1
  • 2
  • 7
1
vote
1 answer

How to view RRD graph data

What I am trying to do is get alerts when my bandwidth goes above a limit. I am using Cacti to graph my bandwidth usage, but I currently get no alerts if my usage goes up. So I think the best way to do this would be to write a script to check the…
user4990003
1
vote
1 answer

Cacti Thresholds to Send SNMP Trap

I recently started working with Cacti and Nagios on Ubuntu and I have limited knowledge of them. Currently Cacti sends an email when a threshold is changed. I would like to also have this threshold send an SNMP alert, in addition to the current…
Vajira Lasantha
  • 2,435
  • 3
  • 23
  • 39
1
vote
2 answers

cacti graph php curcl issues third party script

hope you can help... We have cacti setup and running perfectly, we want to give cacti graphs to our clients, so we got a script to do so. However its failing to pull in the graphs. The script is setup and talking to our cacti, but we are not getting…
Dediport
  • 21
  • 5
1
vote
1 answer

How to use RRDTool/Cacti to count "user activities" in apache access logs?

Goal I wish to use RRDTool to count logical "user activity" from our web application's apache/tomcat access logs. Specifically we want to count, for a period, occurrences of several url patterns. Example We have two applications (call them 'foo'…
user331465
  • 2,984
  • 13
  • 47
  • 77
1
vote
4 answers

Why is Cacti showing an empty graph, even though the rrd file is created?

I have developed my own SNMP service, and i want to plot a graph of an OID provided. So, i have created a graph in Cacti. -) It is showing device up. -) It is creating rrd file. (RRDTool says OK). -) Showing the graph, but it's empty. But when I…
Divya mohan Singh
  • 485
  • 2
  • 7
  • 18
1
vote
2 answers

how would you retrieve cacti data remotely

I have a cacti instance that polls many servers. I have a different analytic platform where I need to get the data to this platfrom from cacti. Has anybody done something like this? Is it possible to retrieve cacti data remotely via web service…
user1471980
  • 10,127
  • 48
  • 136
  • 235
1
vote
1 answer

Cacti graphs are not showing any data

I am cacti graphs to measure the performance of metrics in ubuntu. I am not able to see any graphs not blank graphs . So as a debugging measure , I went to the logger file to see the if the script what I am using is returning values or not. And yes…
user1907849
  • 960
  • 4
  • 19
  • 42