![]() |
cacti problem - graphs have huge gaps
Hi all,
I have cacti on our server (CentOS, ISP Config) but graphics have huge gaps. Do you have any idea why this is happening? Thanks Nuno http://img84.imageshack.us/img84/287...magephpvn2.png http://img218.imageshack.us/img218/7...age1phpds9.png |
Any errors in your logs? Was your server running all the time, or was it down sometimes?
|
server is running all the time, as for the logs, I'm not quite sure which log to look at :S
|
Check all the log files in the /var/log directory.
|
Hi,
There was a table in mysql from cacti that was blocked, fixed now, but I still have the same problem. I can't find errors when looking at /var/log/cron for this period of time: Code:
Feb 5 14:50:01 server crond[19961]: (cacti) CMD (php /var/www/cacti/poller.php &>/dev/null)http://img225.imageshack.us/img225/7...magephpjv1.png I am not able to find any other kind of errors that could be related to this. Other logs: audit.log Code:
type=CRED_ACQ msg=audit(1201584001.590:145265): user pid=6368 uid=0 auid=4294967295 msg='PAM: setcred acct="cacti" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' |
You can try to run this command:
Code:
php /var/www/cacti/poller.php |
Hi,
no output as root, the following as cacti user: sh-3.1$ php /var/www/cacti/poller.php ERROR: opening '/var/www/cacti/rra/localhost_mem_free_18.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_mem_cache_17.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_load_5min_15.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_cpu_user_12.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_cpu_system_11.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_cpu_nice_10.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_load_15min_14.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_16.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_load_1min_13.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_hdd_free_8.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_proc_7.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_load_1min_5.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_mem_swap_4.rrd': Permission denied ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_3.rrd': Permission denied 02/06/2008 09:34:20 PM - SYSTEM STATS: Time:1.1170 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:14 after changing permissions no errors on both, I'll wait to see the results and report here again root: OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 02/06/2008 09:42:31 PM - SYSTEM STATS: Time:1.1193 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:14 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 output after changing permissions: root: no output cacti: no output |
It all works now, tks!
|
| All times are GMT +2. The time now is 23:50. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.