Hello everyone, i just started to use zabbix to graph some data collected from 2 linux servers. Here's what i did:
1. Both linux servers collect data and use zabbix_sender in a crontab script to "push" the collected data to my main zabbix server. Data gets to the main server every minute.
2. The zabbix server receives the data correctly. I am able to graph the data onto single graphs. Everything ok until now.
3. I created a new host called "aggregated host", which isn't connected to any real host (the host's IP address is left at default value "0.0.0.0"). This new host was created just to pack aggregated graphs and items together. (as explained here on this forum ---> https://www.zabbix.com/forum/showthread.php?t=15077).
4. I created two items on this "aggregated host" using the following steps (one for each server)
Description = Simple data
Type = Calculated
Key = simple_data_key
Formula = last("First_Server:system.simple_data")
Type of information = Numeric (float)
Update interval (in sec) = 5
5. I finally created a single graph on the "aggregated host" using both the items i just created in step 4. Data gets graphed well on the "aggregated host" graph. But....
6. I created a screen with 3 graphs. The first two graphs of the single servers and the "aggregated host" graph.
7. I noticed that the data is not aligned. The last values "arrive" later on the "aggregated host" graph. I'd like the "last" values to be the same on all graphs. I'd like them to be aligned.
So my question is, is this a normal behaviour? How can i manage the "last" data to be aligned on all graphs???
Thanks a lot!
1. Both linux servers collect data and use zabbix_sender in a crontab script to "push" the collected data to my main zabbix server. Data gets to the main server every minute.
2. The zabbix server receives the data correctly. I am able to graph the data onto single graphs. Everything ok until now.
3. I created a new host called "aggregated host", which isn't connected to any real host (the host's IP address is left at default value "0.0.0.0"). This new host was created just to pack aggregated graphs and items together. (as explained here on this forum ---> https://www.zabbix.com/forum/showthread.php?t=15077).
4. I created two items on this "aggregated host" using the following steps (one for each server)
Description = Simple data
Type = Calculated
Key = simple_data_key
Formula = last("First_Server:system.simple_data")
Type of information = Numeric (float)
Update interval (in sec) = 5
5. I finally created a single graph on the "aggregated host" using both the items i just created in step 4. Data gets graphed well on the "aggregated host" graph. But....
6. I created a screen with 3 graphs. The first two graphs of the single servers and the "aggregated host" graph.
7. I noticed that the data is not aligned. The last values "arrive" later on the "aggregated host" graph. I'd like the "last" values to be the same on all graphs. I'd like them to be aligned.
So my question is, is this a normal behaviour? How can i manage the "last" data to be aligned on all graphs???
Thanks a lot!