Broken Graph (minutes cuts)

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kslt
Cacti User
Posts: 85
Joined: Tue Aug 02, 2005 4:12 am

Broken Graph (minutes cuts)

Post by kslt »

Hello

i have a problem with cacti (after few month of non-problem working).
all of my graph have a cuts, like no connectivity at that moment. but i checked it up and it was ok, also poller running every 30 sec, so it's also ok..
anybody knows?
Attachments
1.JPG
1.JPG (17.75 KiB) Viewed 2293 times
2.JPG
2.JPG (21.11 KiB) Viewed 2292 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please provide details about installation:

Cacti version
cmd.php/cactid
patches applied
data source breakdown: scripts, snmp, ss
php version
mysql version, etc....

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?
kslt
Cacti User
Posts: 85
Joined: Tue Aug 02, 2005 4:12 am

Post by kslt »

hello there,

my cacti is 0.8.6d with no patches installed,
data source of the graph it's snmp (snmpget),
run on linux redhat 9, with php 4.3.9 and mySql 4.1.10a.
nonfat
Posts: 1
Joined: Thu Sep 22, 2005 12:49 am

Post by nonfat »

it seems i also have the same question
and i follow the F&Q to "php poller.php"
the linux turn back
--------------------------------------------------------------
sh-3.00$ php /var/www/cacti/poller.php
OK u:0.00 s:0.04 r:0.06
OK u:0.00 s:0.04 r:0.06
OK u:0.00 s:0.04 r:0.07
OK u:0.00 s:0.04 r:0.07
OK u:0.00 s:0.04 r:0.07
OK u:0.00 s:0.04 r:0.08
ERROR: illegal attempt to update using time 1127412603 when last update time is 1127412603 (minimum one second step)
No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 0 in (none)
Content-type: text/html
X-Powered-By: PHP/4.3.9

09/22/2005 02:10:24 PM - SYSTEM STATS: Time:2.4233 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:18
sh-3.00$ 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)
------------------------------------------------

but there are also *.rdd in the folder
-------------------------
sh-3.00$ pwd
/var/www/cacti/rra
sh-3.00$ ls
200_hdd_total_10.rrd 200_hdd_total_16.rrd 200_users_8.rrd
200_hdd_total_11.rrd 200_hdd_total_17.rrd localhost_load_1min_5.rrd
200_hdd_total_12.rrd 200_hdd_total_18.rrd localhost_mem_buffers_3.rrd
200_hdd_total_13.rrd 200_proc_9.rrd localhost_mem_swap_4.rrd
200_hdd_total_14.rrd 200_traffic_in_20.rrd localhost_proc_7.rrd
200_hdd_total_15.rrd 200_traffic_in_21.rrd localhost_users_6.rrd
--------------------------------------

after that it seems the graph is turn right
i am linux enterprise V4 update 1
monitor win2003
Version 0.8.6g
mysql 4.1.10a
PHP Version 4.3.9
kingaru
Cacti User
Posts: 54
Joined: Wed Mar 09, 2005 6:35 am

Re: Broken Graph (minutes cuts)

Post by kingaru »

Check size of your log file.I had the same issue when my log file got size ~1Gig or so ...

Igor

P.S to the developer it would be nice to have feature that would auto limit size of the log file


kslt wrote:Hello

i have a problem with cacti (after few month of non-problem working).
all of my graph have a cuts, like no connectivity at that moment. but i checked it up and it was ok, also poller running every 30 sec, so it's also ok..
anybody knows?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What about "logrotate"ing the cacti log? Myself, I decided to clean the log every midnight ...
Reinhard
kslt
Cacti User
Posts: 85
Joined: Tue Aug 02, 2005 4:12 am

Post by kslt »

Inposible :(

that's the point, that i can clean them up .. them what i need ..

Also tried today to clean up the cacti.log, but it doesn't help :(
_easyrider_
Posts: 6
Joined: Fri Mar 11, 2005 2:45 pm

Post by _easyrider_ »

I have the same problem as you have.. Would be nice if somebody knew an solution.

By the way, sorry if my english is a little bit bad :-?
JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Post by JJX »

any solution for this???
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try the following and post the results, if this is not working:

Code: Select all

cd <your path to cacti>/log
ls -l
cat > nothing
<----- at this point, hit CTRL-C
ls -l
cp nothing > cacti.log
ls -l
If this works, enter the "cp" line into your crontab to run around midnight.
hth
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests