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

ERROR: opening '/usr/share/cacti/rra/localhost_cpu_system_14.rrd': No such file or directory

I use cacti to monitor my system linux centos, i monitored memory , load average but the graph of cpu usage is empty and i can't show it. Please help me
kawther
  • 184
  • 2
  • 3
  • 16
0
votes
1 answer

EdgeRouter count connected users on wireless interface

I've searched a while for something that can count connected users on wireless interface in Edgerouter Lite and I can't find anything about this in documentation. I'm wondering if someone hit this problem so far ? I also using also cacti if someone…
Carca
  • 564
  • 1
  • 6
  • 16
0
votes
1 answer

Percona cacti template is not possible to recognize installed cacti on my system

I have deployed latest cacti from source on my system. It is running OK but when I install percona-cacti-templates. I see an error dependency: warning: percona-cacti-templates-1.1.4-1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a:…
Luke Nguyen
  • 217
  • 2
  • 9
0
votes
2 answers

How to modify cacti GUI to call a script independent of the protocols like SNMP or WMI?

I want to fetch data to cacti gui(any monitoring tool GUI) from a database table which is at remote database(MYSQL) server without using any agent or protocol like SNMP or WMI, So please suggest me the way to implement this.I am totally a newbie in…
RICKY
  • 1
  • 3
0
votes
0 answers

Php phpchartdir530 dll not found

I have a problem about php on centos. When I want to run php script I have problem like that below, # php removespikes.php -R=/var/www/html/cacti-0.8.8a/rra/gyt_traffic_in.rrd PHP Warning: PHP Startup: Unable to load dynamic library …
desscartes
  • 23
  • 8
0
votes
1 answer

How to know which RRD file is being written to?

I am a newbie to Cacti, so please excuse my naivity here. I would like to gather the SNMP data collected via the data template 'Interface Highspeed Statistics' (interface_highspeed.xml, as defined in $CACTI_HOME/resources/snmp_queries). I can click…
trupsster
  • 23
  • 5
0
votes
1 answer

Monitoring tomcat using percona cacti

I am trying to monitor a tomcat application using percona cacti graphs. The application works using jconsole from windows. The host is centos 6.6 64 bit and i have installed ant. When i try to run the example given by percona it does not work for…
shorif2000
  • 2,582
  • 12
  • 65
  • 137
0
votes
1 answer

Cacti SNMP - Getting "value: U" although there is a value available

I've followed the guide on the following forum to get postfix logs graphed in cacti: http://forums.cacti.net/viewtopic.php?f=12&t=6657 (See the fifth post) The installation steps on the post is as follows: 1) Configure SNMP agent on Mail server and…
Kevin
  • 321
  • 4
  • 21
0
votes
0 answers

Install php on windows server2008r2

I am going to install cacti on windows server 2008R2,but at the first i should install PHP I downloaded VC11 x64 Non-THread Safe and I done all of the instructions in cacti's site…
samantha
  • 1
  • 5
0
votes
1 answer

Cacti: Graph value returns 0 on SNMP Generic OID Template

I can get the value from: snmpwalk -v2c -c desscrt% 192.168.120.39 1.3.6.1.4.1.311.1.7.3.1.13 SNMPv2-SMI::enterprises.311.1.7.3.1.13.0 = Counter32: 47 I try to generate graph with: SNMP - Generic OID Template with OID…
desscartes
  • 23
  • 8
0
votes
1 answer

SQL Syntax Error from bash script

I have a script that essentially creates Devices, graphs, and trees as well as attempts to create a user for Cacti graphing software. I receive the below SQL error when attempting to run the shell script. However copying and pasting the exact same…
Amorenn
  • 1
  • 1
0
votes
0 answers

snmptt MySQL error: Unable to connect to database

I have searched all google links without a result: I'm using snmptt to store incoming traps in database. I get this message in snmpttsystem.log file: Tue Jul 1 11:15:56 2014 MySQL error: Unable to connect to database: Can't connect to MySQL…
rramiii
  • 1,156
  • 6
  • 15
  • 29
0
votes
1 answer

create output for cacti using perl

I have some trouble making the right script for cacti using perl. This is the output of the data I can get: Pac max phase 1: 2150W Pac max phase 2: 0W Pac max phase 3: 0W Energy Production: EToday: 7.282kWh ETotal: 1113.263kWh …
Martijn
  • 3
  • 2
0
votes
2 answers

Device status unknown in the cacti application

I am trying to plot the graphs in cacti, but I am getting status as 'unknown' under device section , I dont know how to even debug this.What is the reason for this?
user1907849
  • 960
  • 4
  • 19
  • 42
0
votes
1 answer

How do I get crontab to work with this script?

located at File System -> tmp/crontab.iRppRO I've got this 1 * * * * /bin/bash ./usr/share/cacti/cli/cacti_moto_script.sh and here's my script, which works fine when I run in terminal. It's located at /usr/share/cacti/cli/cacti_moto_script.sh and…
GarrettVW
  • 11
  • 2