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
2
votes
1 answer

Script runned by crontab will no produce data

Using Cacti, I'm trying to run the following command: php poller.php > test.cfg As expected I'm getting the following output : root@SLINUX01:[/usr/local/cacti]$tail -f test.cfg Waiting on 1 of 1 pollers. Waiting on 1 of 1 pollers. Waiting on 1 of 1…
Nicolas Frbezar
  • 497
  • 1
  • 5
  • 24
2
votes
1 answer

JBoss Monitoring with Cacti

If there is anyone out there who has experience with monitoring JBoss with Cacti, I need help! I used this template posted on the Cacti forums. It has 3 template graphs, and 2 of those graphs are working really well. For some reason though, the…
zohair
  • 2,369
  • 10
  • 35
  • 41
2
votes
3 answers

Cacti 0.8.8a / CentOS 6.4 / ERROR: opening '/usr/share/cacti/rra/*.rrd': No such file or directory

I've just installed Cacti 0.8.8a from EPEL repo of CentOS 6.4. Everything is fine except the graphs do not show up. I checked the log of httpd then I see: ERROR: opening '/usr/share/cacti/rra/localhost_mem_buffers_3.rrd': No such file or…
tungns
  • 21
  • 1
  • 1
  • 6
2
votes
1 answer

Cacti graph not showing properly

Hoping to reach all of you Cacti experts right there. I have tried posting the same issue on the Cacti forums website, but after nearly a week had no answer. Hoping to have more luck here. I'm pretty new to Cacti, and in the past days I've worked my…
Diferdin
  • 1,252
  • 1
  • 14
  • 30
2
votes
0 answers

cacti on ubuntu 12.04 does not show images, rrdtool says nothing

I've tried to instal cacti via apt-get and from sources, and i get the same result - when viewing the graph - there is no images... done few things : chowning of rra and log folders, fixed crontab issue (crontab -u {apache user} instead of default…
Kir
  • 21
  • 3
2
votes
3 answers

CentOS use SNMP to show interface useage

I have an SNMP monitoring box and want to monitor interface utilisation on a clustered database server. I'm trying to work out the correct OID to monitor - I just need SNMP to return the total interface throughput at a given time. The SNMP box is…
btongeorge
  • 421
  • 2
  • 12
  • 23
1
vote
1 answer

php include_once not working in cacti on archlinux box

I had cacti installed on my ArchLinux box but I don't know after upgrading my system php include_once() has stopped working and it doesn't include files any more. However if I replace include_once() with include() things start working again, but…
Imran Imtiaz
  • 65
  • 1
  • 7
1
vote
1 answer

which monitoring system would you prefer: nagios, zabbix, cacti

We have a web system like this: 10 servers with files and one front server which serves the web. We need to see the whole picture of what's going on with them. What monitoring system would you recommend: Nagios, Zabbix, Cacti or maybe something…
max bugaenko
  • 159
  • 1
  • 13
1
vote
0 answers

proper cacti installation

I was trying to set up cacti for my ubuntu 10.10 server. Problem is that there is no images in cacti when accessed. Uploaded, set up database but there is error if I launch pull.php from ssh: ERROR: creating…
Martynas
  • 43
  • 4
1
vote
0 answers

Adding 2 values in a Batch PHP file

Below code works great with getting only a bunch IP address and add it to Cacti --description='".$dev."' --ip='".$dev."', now I want to add bunch of IP with their description in cacti forexample(--description='".$hostname."' --ip='".$dev."'). I am…
Sara Daniel
  • 165
  • 1
  • 13
1
vote
0 answers

How can compute Bandwidth for Caches SRAM with benchmarks simulation?

please , which equation can be used to find the total bandwidth for cache L2 SRAM with Benchmark running by gem5 simulation , we have BW(read+write ) for SRAM from Destiny tools , but how can compute the BW with running benchmarks ?
1
vote
0 answers

./graph_rules.sh: line 86: 2: unbound variable - Can't make this work

I'm a totaly begginer when it comes with bash scripting, I'm still learning the first steps. Now trying to export an graph rule o cacti with this script, but for some reason it gives me a variable error.. Here is the code source:…
Jhonatan M
  • 31
  • 2
1
vote
0 answers

Using APC's PowerNet MIB to plot custom sensors in smokeping or cacti

(This problem is not about using custom MIB files with pysnmp.) I want to monitor some UPSs and ACs that provide SNMP status using APC's PowerNet MIB. I have chosen the OIDs to monitor. Now I need to configure preferably smokeping but possibly…
user174626
  • 13
  • 3
1
vote
0 answers

Cacti - Poller stopped after data source template changed - Old but gold

I'm new here and this is my first post :) I will try to explain, sorry ahead about my grammar We moved to GPDR few months ago, and my job is to fix all the graph which Stopped working, we notice it was due to a change in data-source, in this case it…
Xantuz
  • 11
  • 2
1
vote
1 answer

Cacti - ERROR: RPN final stack size != 1 with 4 Graphs

I use Cacti and rrdxport to get the sum of 2 Graphs and it is working fine. rrdtool xport --start now-5min --end now-5min DEF:out1=sbc1_fs_call_five_min_do_137.rrd:fs_call_five_min_do:LAST…
Sven
  • 13
  • 2