View Full Version : Graphs with corrupted lines
Zabbix gives ma graphs with corrupted lines, see this screenshot (http://gallery.johankooijman.com/main.php/d/2647-1/zabbix_graphs.gif) .
This is a screenshot of a screen I created, but also graphs from latest data gives the same broken output. But, when I change the timeframe to "last 6 hours", the graphs looks fine.
Wolfgang
20-04-2005, 20:47
The screen looks like as they were no data collected in between.
Can you check "plain text" view or have a look in the sql db?
The screen looks like as they were no data collected in between.
Can you check "plain text" view or have a look in the sql db?
Thanks for your response. There is definitely data.
JupiterCh
27-04-2005, 20:50
I have also noticed the corrupted graph lines that you're referring to. In certain instances, I've experienced broken lines (only pieces of the line appear) or no line at all. Most of these instances have shown up when displaying graphs within an hourly range. When I display a graph with a wider range (3 or 6 hours), the graph appears correctly. This happens in both the Latest Data section and in the Graphs section.
1 hour period: No line
2 hour period: Horribly broken line
3 hour period: Slightly broken line
4+ hour period: Everything looks good
There is data in the database, and the summary of the host (the graph key) even displays the min, max, and last values correctly. There just appears to be something wrong in the graphing logic.
I'm using:
Zabbix 1.1 Alpha 7
php-4.2.2-17.2
php-mysql-4.2.2-17.2
MySQL-server-4.0.16-0
Linux version 2.4.20-20.9smp (Red Hat Linux 3.2.2-5)
If no data exists for a period longer than 4*<item delay>, then no line is displayed. I think it makes sense.
JupiterCh
05-05-2005, 00:16
There is a continuous stream of data, so I don't think your diagnosis is correct. There is definitely a problem, and other users are reporting it as well. There doesn't appear to be a way to upload images or data to the forum, but I can e-mail you the data if that helps. It appears that there's a problem with the graph rendering process.
Well, it makes sense to me.
For example, the default reporting period is 5 seconds for eth0 incoming data. So if Zabbix receives no data for 20 seconds, it marks the data invalid. I changed all items with an interval less than 30 seconds to 30 seconds, now my charts are pretty nice.
JupiterCh
19-05-2005, 01:59
Due to a hard drive failure, I was forced to reinstall Zabbix and all dependencies (MySQL, PHP, etc). After the fresh install, the graphing errors had disappeared. I don't know if this was due to a change in the underlying packages such as 'gd' or if it had something to do with a fresh database. (Previously I had used the upgrade scripts to go from 1.0 to 1.1alpha7.) Whatever the reason, the problem is no longer reproducible in my installation.