new cacti install - no graphs are created
Moderators: Developers, Moderators
new cacti install - no graphs are created
Cacti seems to be running normally, but no graphs are being created.
RRDtool 1.0.50
cacti-0.8.6g
RRDtool 1.0.50
cacti-0.8.6g
- Attachments
-
- cacti-no-graphs.JPG (88.74 KiB) Viewed 2989 times
-
- cacti-seems-normal.JPG (103.29 KiB) Viewed 2989 times
Last edited by lorell on Wed Nov 23, 2005 3:56 pm, edited 1 time in total.
More Information
I turned on Graphing Debug Mode.
Here is more information:
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/pix_snmp_oid_46.rrd': No such file or directory
There is a /var/www/html/cacti/rra directory but it has nothing in it. I have chmod'ed that directory to 775 and have insured that cactiuser is the owner and apache is the group.
There are no files in the rra directory.
Here is more information:
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/pix_snmp_oid_46.rrd': No such file or directory
There is a /var/www/html/cacti/rra directory but it has nothing in it. I have chmod'ed that directory to 775 and have insured that cactiuser is the owner and apache is the group.
There are no files in the rra directory.
I went through these procedures to test my installation and I get a graph out of it.
http://www.cacti.net/downloads/docs/htm ... graph.html
That seems to work. No data in the graph yet, but the graph is there.
It did not create anything in the /var/www/html/cacti/rra directory, but I don't know that it was supposed to.
http://www.cacti.net/downloads/docs/htm ... graph.html
That seems to work. No data in the graph yet, but the graph is there.
It did not create anything in the /var/www/html/cacti/rra directory, but I don't know that it was supposed to.
Also, I get this error:
[root@mpc cacti]# /var/www/html/cacti/cmd.php
11/23/2005 02:37:54 PM - CMDPHP: Poller[0] Host[4] DS[45] WARNING: Result from SNMP not valid. Partial Result:
11/23/2005 02:37:54 PM - CMDPHP: Poller[0] Host[4] DS[46] WARNING: Result from SNMP not valid. Partial Result:
11/23/2005 02:37:54 PM - CMDPHP: Poller[0] Host[4] DS[47] WARNING: Result from SNMP not valid. Partial Result:
11/23/2005 02:37:56 PM - CMDPHP: Poller[0] Time: 1.6323 s, Theads: N/A, Hosts: 7
[root@mpc cacti]# /var/www/html/cacti/cmd.php
11/23/2005 02:37:54 PM - CMDPHP: Poller[0] Host[4] DS[45] WARNING: Result from SNMP not valid. Partial Result:
11/23/2005 02:37:54 PM - CMDPHP: Poller[0] Host[4] DS[46] WARNING: Result from SNMP not valid. Partial Result:
11/23/2005 02:37:54 PM - CMDPHP: Poller[0] Host[4] DS[47] WARNING: Result from SNMP not valid. Partial Result:
11/23/2005 02:37:56 PM - CMDPHP: Poller[0] Time: 1.6323 s, Theads: N/A, Hosts: 7
Debug for one of the data sources:
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/pix_traffic_in_36.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/pix_traffic_in_36.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
When I ran the following as root, rrdtool created the file as such:
This is pointing me towards a permissions issue.
When I run it as cactiuser, I get a permission denied error as such:/usr/bin/rrdtool create \
/var/www/html/cacti/rra/pix_traffic_in_36.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
[root@mpc rra]# pwd
/var/www/html/cacti/rra
[root@mpc rra]# ls -l
total 100
-rw-r--r-- 1 root root 94660 Nov 23 15:09 pix_traffic_in_36.rrd
[root@mpc rra]# su cactiuser
[cactiuser@mpc rra]$ /usr/bin/rrdtool create \
> /var/www/html/cacti/rra/pix_traffic_in_36.rrd \
> --step 300 \
> DS:traffic_in:COUNTER:600:0:100000000 \
> DS:traffic_out:COUNTER:600:0:100000000 \
> RRA:AVERAGE:0.5:1:600 \
> RRA:AVERAGE:0.5:6:700 \
> RRA:AVERAGE:0.5:24:775 \
> RRA:AVERAGE:0.5:288:797 \
> RRA:MAX:0.5:1:600 \
> RRA:MAX:0.5:6:700 \
> RRA:MAX:0.5:24:775 \
> RRA:MAX:0.5:288:797 \
>
ERROR: creating '/var/www/html/cacti/rra/pix_traffic_in_36.rrd': Permission denied
[cactiuser@mpc rra]$ /usr/bin/rrdtool
RRDtool 1.0.50 Copyright 1997-2004 by Tobias Oetiker <tobi@oetiker.ch>
Usage: rrdtool [options] command command_options
Valid commands: create, update, graph, dump, restore,
last, first, info, fetch, tune, resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
[cactiuser@mpc rra]$
This is pointing me towards a permissions issue.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please run poller.php from the command line and post your output.
Thanks,
TheWitness
Thanks,
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please open a shell window, change to the cacti directory and run "php poller.php" and post your results.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Here's the output from poller.php:
Looks like there are problems.[root@mpc bin]# /var/www/html/cacti/poller.php
OK u:0.00 s:0.00 r:0.16
OK u:0.00 s:0.01 r:0.16
ERROR: illegal attempt to update using time 1132782593 when last update time is 1132782593 (minimum one second step)
No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
11/23/2005 03:49:55 PM - SYSTEM STATS: Time:2.6795 Method:cmd.php Processes:1 Threads:N/A Hosts:8 HostsPerProcess:8 DataSources:29 RRDsProcessed:110
[root@mpc bin]# No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 0 in (none)
No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 0 in (none)
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
1) Please apply patches from the following location: http://www.cacti.net/downloads/patches/ ... re-patched
2) Please select the correct version of RRDtool from Settings->General.
3) Rerun the "php poller.php" when you other poller (cron) is not.
4) Post results.
TheWitness
2) Please select the correct version of RRDtool from Settings->General.
3) Rerun the "php poller.php" when you other poller (cron) is not.
4) Post results.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
1. Done.
2. Done. (Did not change.)
3. Done.
4. Results:
The graphs are all generated now. There is now data in them, so one of the following is at play:
1. Data sources are not properly configured.
2. More time needs to elapse and the data collection process will occur naturally.
3. Some thing else that I do not yet know.
2. Done. (Did not change.)
3. Done.
4. Results:
Thanks.[root@mpc cacti]# php poller.php
OK u:0.00 s:0.01 r:1.03
OK u:0.00 s:0.01 r:1.04
OK u:0.00 s:0.01 r:1.04
OK u:0.00 s:0.01 r:1.04
OK u:0.00 s:0.01 r:1.04
OK u:0.00 s:0.01 r:1.06
OK u:0.00 s:0.01 r:1.06
OK u:0.00 s:0.01 r:1.07
OK u:0.00 s:0.01 r:1.07
OK u:0.00 s:0.01 r:1.08
OK u:0.00 s:0.01 r:1.08
OK u:0.00 s:0.01 r:1.09
OK u:0.00 s:0.01 r:1.09
OK u:0.00 s:0.01 r:1.09
OK u:0.00 s:0.01 r:1.10
OK u:0.00 s:0.01 r:1.10
OK u:0.00 s:0.01 r:1.11
OK u:0.00 s:0.01 r:1.11
OK u:0.00 s:0.01 r:1.12
OK u:0.00 s:0.01 r:1.12
OK u:0.00 s:0.02 r:1.13
OK u:0.00 s:0.02 r:1.13
OK u:0.01 s:0.02 r:1.14
OK u:0.01 s:0.02 r:1.14
OK u:0.01 s:0.02 r:2.17
OK u:0.01 s:0.02 r:2.19
OK u:0.01 s:0.02 r:2.19
OK u:0.01 s:0.02 r:2.19
OK u:0.01 s:0.02 r:2.19
OK u:0.01 s:0.02 r:2.20
OK u:0.01 s:0.02 r:2.21
OK u:0.01 s:0.02 r:2.21
OK u:0.01 s:0.02 r:2.22
OK u:0.01 s:0.02 r:2.22
OK u:0.01 s:0.02 r:2.23
OK u:0.01 s:0.02 r:2.23
Content-type: text/html
X-Powered-By: PHP/4.3.9
11/23/2005 04:18:33 PM - SYSTEM STATS: Time:2.2808 Method:cmd.php Processes:1 Threads:N/A Hosts:8 HostsPerProcess:8 DataSources:29 RRDsProcessed:19
The graphs are all generated now. There is now data in them, so one of the following is at play:
1. Data sources are not properly configured.
2. More time needs to elapse and the data collection process will occur naturally.
3. Some thing else that I do not yet know.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Could be your cron is failing. Redirect output to a file and review it's contents. It could also be a permissions issue.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest