Graphs Missing Data periodically (Gaps in Graphs)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Graphs Missing Data periodically (Gaps in Graphs)

Post by rcaston »

All my graphs seem to have periods where no data was returned, so all my graphs have blanks/gaps in the graphs.

is there a reason why this would occur?

Attached is a picture of my graphs. notice the whitespace gaps between the nice green data :)
Attachments
graph
graph
graph.gif (11.04 KiB) Viewed 5561 times
Guest

the same problem

Post by Guest »

I have the same problem.

I use cacti 0.8.6 final version, rrdtool 1.0.49 and fedora core 1.
On a fresh install, the first 36 rrd files works fine but after that none of the next ones get updated as usual. In fact they get updated once or twice every 4 or 5 hours.
I added a new device ( linux machine ) and the same problem occurs, including graphs for traffic, cpu usage, load average or memory usage.

I also noticed that when I turn the poller logging level to DEBUG, the rrdfiles get updated fine. After I turn to LOW, the problem reapears.

In the log files there is nothing wrong, but when I have the detailed log everything works fine, only when I don't have it something is wrong.

I use cmd.php with only 1 concurrent process - in fact, every settings are on default.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Goto Devices and check your host availability numbers, are your hosts timing out. If so, you should increase your SNMP timeouts for those hosts. If you are using ICMP or UDP ping, you should also increase that timeout and also the retry count in Settings->Poller

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?
Guest

Post by Guest »

It's not a problem regarding host availability. In my case, I monitor a cisco router with many interfaces. Some of them are working fine ( the ones that are in the first 36 rrd files ), the last ones are having problems. So on the same device, some graphs are ok some are not. And then, any new device I added have the same problem.

The same cisco router I monitor with cacti 0.8.5a just fine. ( at the same time )
And also with a beta version of 0.8.6 weren't any problems. This happened as soon as I installed the final version of 0.8.6

The curious thing is that as soon as I turn on DEBUG, everything starts working fine.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This is wierd. Will have to refer to Ian. Question: What was the date of your last beta application?

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?
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Timeouts... i dunno..

Post by rcaston »

I'm not sure how to tell if cacti is timing out?

But I can tell you that i get these gaps even the graphs of the cacti server itself, (localhost) ...

so the idea of it being network related seems impossible?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

rcaston,

Have logging turned to LOW. Then you should receive lines in the Cactilog that indicate "SYSTEM STATS:" with an execution time. If that execution time exceeds 256 seconds, the poller process will end and if all your RRD's have not been updated, then there is a problem.

Therefore, turn logging to LOW and track. Keep me posted.

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?
Guest

Post by Guest »

It is something with the logging level.

I left the logging level on DEBUG for a few hours and eveything worked fine. I just switch from DEBUG to HIGH and the last created rrd files don't get updated anymore.

I didn't notice any other problems ( like poller process taking too long ).
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

ack..

Post by rcaston »

the only logfile i seem to be making is 'rrd.log' in cacti/log ..

can you explain two things to me:

one, how to make cacti log correctly (i've been unable to find it in the docs)

two, how and where to change the log level itself.
pdvorak
Posts: 6
Joined: Tue Sep 14, 2004 11:58 am

Post by pdvorak »

I am also experiencing the exact same issue (see http://forums.cacti.net/viewtopic.php?t=4801).

When I turned on debug mode, all my rrd's are being updated correctly, and I am using cmd.php with 10 processes.
eh

debug?

Post by eh »

how do you turn on debug mode in cmd.php? how do you turn it on with cactid ?
pdvorak
Posts: 6
Joined: Tue Sep 14, 2004 11:58 am

Post by pdvorak »

Under the General Tab for Configuration-> Settings, there is a drop down list for Poller Logging level.

NOTE: this will vastly increase the amount of logging you are doing, and the log file will grow rapidly
rc

weird.

Post by rc »

...
BadKarma
Posts: 13
Joined: Mon Jun 21, 2004 7:36 am
Location: Londen - United Kingdom

Post by BadKarma »

Hi All,

I installed 0.8.6 today at a client of mine and im having the same problem with gaps in my graphs.
My guess was the problem was cactid related after switching to cmd.php and disabling alot of hosts the problem seems to have disapeared.
I also noticed that raising my log level seems to fix the problem.
The problem in my case can not be time related... when running the checks with cactid it takes about half a minute to complete. I also noticed that when running checks with cactid i get a lot of errors in the cacti.log like the following:
CACTID: Poller[0] Host[282] WARNING: Result from SNMP not valid. Partial Result: No Such Instanc...
When running the checks through cmd.php i don't seem to get these errors.

BadKarma
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

BadKarma,

What is your OS? Please post a response.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests