PDA

View Full Version : Rolling Time Period


selin
16-08-2005, 16:55
Alexei - thank you for creating Zabbix! It is truly a wonderful tool for keeping tabs on a server room...(grin)...

After using the product for several days and reading many of the forums, I have a suggestion which I am not certain if someone has already made.

In creating the graphs, is it possible to have a graph which spans days? In other words, if I select a 6 hour graph, and set the hour to 2, the graph would then plot from 2am on the 2nd day back to 8pm on the 1st day.

Oftentimes, the issues I run into occur on either side of midnight. While I can certainly look at two graphs, it would be easier to simply select a 6-hour graph and look at the entire time range on the one.

If Zabbix already does this, can someone tell me how to accomplish it?

Again, thank you for your time and effort related to this product.

mconigliaro
16-08-2005, 17:19
i agree that the maximum 6 hour time period is too short. id love to have the ability to look at an entire day/week/month in one graph.

note: this is possible right now by manually changing the timestamp parameters in the url for a graph. it would just be nicer if the option was available in the dropdown list.

Nate Bell
17-08-2005, 16:36
I think Alexei said he was planning on adding the Graphs UI to the graphs of your Latest Values in a future release. Thanks for the tip about editing the url though. That sure is easier than defining a new graph just to see more than 6 hours.

Nate

selin
18-08-2005, 03:02
Can anyone say - "hour=24&period=86400"?

(grin)

After thinking about it a bit, I know that most of the values collected by Zabbix...at least on the UNIX/Linux side, can be gotten fairly easily (a la /proc). I've developed a couple of perl scripts which report back the specific NIC utilization, so it would not be a stretch to collect the data into a MySQL database (or Berkeley db) and then when the script is queried, have it calculate the values for the time period and then collect them into Zabbix.

elkor
18-08-2005, 14:52
I'm pretty sure that if you create a "graph" for this value in zabbix (via the graphs menu) you can do what you want to do with it. It's only in the latest values screen that you are limited to 6 hours. The graphs that are created (I usually use the value and the 5min avg) have a control bar that lets you browse and display all the stored values back to the discard time.

I WOULD like to see the resolution of the graphs > 24hrs increased a little bit though; there seems to be a big dropoff in the datapoints used to plot the graph once you cross that boundry and It would really be helpful to get nice detailed graphs for 7d and 30d periods!

selin
18-08-2005, 21:14
Thanks for the "heads-up!" After checking out the graphs, they provide everything I was looking for.

(slap to forehead)

It helps to read the documentation. IWIHRTFM (I wish I had read that fine manual...)