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
27
votes
4 answers

apache server reached MaxClients setting, consider raising the MaxClients setting

I am running centos 5.5 with 768mb ram. i keep getting server reached MaxClients setting, consider raising the MaxClients setting in the logs also apache runs really slow. when i look at cacti graphs it shows the server is not even using all the…
shorif2000
  • 2,582
  • 12
  • 65
  • 137
12
votes
3 answers

MAMP : dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library

I'm trying to run cacti on my Mac running OS X 10.9.3. I'm using MAMP 3.0.5. In the cacti control panel, I've got the following error message : dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from:…
user3810064
  • 121
  • 1
  • 1
  • 4
11
votes
2 answers

Is it possible to use Cacti to monitor MySQL on Amazon's RDS?

I noticed that the instructions to setup cacti with mysql mention granting SUPER priveleges: Create a MySQL user with the SUPER and PROCESS privileges on each server you want to monitor However, it looks like using the Relational Database Service…
Hortitude
  • 13,638
  • 16
  • 58
  • 72
7
votes
11 answers

Server monitoring and alerting software?

What software does everyone use to monitor hardware? I know about nagios and cacti, but does anyone use any other software?
DealOrNoDeal
6
votes
1 answer

Cacti on pgsql in Laravel

Description I have a laravel app, that I am trying to integrate that with Cacti : is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Steps I've downloaded it, and place it in…
code-8
  • 54,650
  • 106
  • 352
  • 604
4
votes
1 answer

How to multiple post PHP form onload for autologin cacti?

I have html and javascript code like this.
4
votes
2 answers

Is it possible to have SNMP Agent without MIB’s support?

hii, i am working on SNMP from last few days,i have develope a small application(SNMP Agent) which * Run on 161 port. * Have a tree structured OID support. * Respond to all Get,GetNext,Set Pdu Request types. * Tested with some SNMP Managers(free…
Divya mohan Singh
  • 485
  • 2
  • 7
  • 18
4
votes
2 answers

Creating and updating RRDs from Perl script and graph in Cacti

I'm slightly new to Perl, definitely new to RRDs, and I have a Perl script that runs some webservice tests and also retrieves lines from garbage collection logs. The script does other tasks as well but I only need to have a graph related to those…
MrTunaDeluxe
  • 152
  • 5
  • 20
3
votes
1 answer

Enable Cacti to monitor JMX

How do I configure CACTI to monitor values comming from JMX?
Brig
  • 10,211
  • 12
  • 47
  • 71
3
votes
2 answers

Cacti extend snmp by a custom script

I have created a graph on Cacti about time to access to a specific page on our infrastructure with cacti and net-snmp. I have extended the capability with adding two new lines in file /etc/snmp/snmpd.conf : extend stat_page1…
3
votes
1 answer

printing number of snmpwalk results

Were trying to make a script on a Ubuntu server that reads the number of results from an snmpwalk command, and then sending it to Cacti for graphing. Since none of us have any kind of programming knowledge and from what we have tried, we havent…
user24695
  • 33
  • 2
2
votes
1 answer

Captured output of command on remote host (SSH via Cron) is blank

Below is a script which logs into a remote host (a Cisco IOS-XR router) and runs a single command via SSH. The idea is to grab the result of the command (an integer) so that it can be graphed by Cacti. Cacti runs this script every 5 minutes when it…
jwbensley
  • 10,534
  • 19
  • 75
  • 93
2
votes
1 answer

Get /extract the real data from Cacti database

I use Cacti to monitor my network devices and it works. But I have some trouble when I try to get data without graph (stored to text). So I tried to make my own SNMP monitoring app with a traffic formula: (Data(now)-Data(now-1)*8/time…
sidzaky
  • 57
  • 6
2
votes
1 answer

Is it possible to access the Cacti RRD database over the network

is it possible to access the Cacti RRD (Round Robin Database) from a different machine over the network? We want to be able to create our own custom graphs by querying the Cacti RRD database (e.g. given a router hostname, give me the bandwidth…
Miguel Sevilla
  • 466
  • 3
  • 11
2
votes
2 answers

Grouping servers in grafana/prometheus

I would like to group database servers in grafana dashboards e.g, servers belonging to the same cluster, db-pxc, end up looking like this: DB-PXC -Disk_Performance -db-pxc-1 -db-pxc-2 -db-pxc-3 ... -Disk_Space…
The Georgia
  • 1,005
  • 7
  • 23
  • 59
1
2 3 4 5 6 7 8