Template graphs start and end times.

padrino121

23-05-2005 11:44:39

I was hoping to use template graphs to apply more views to my devices for certain time periods during high load so they can be used as reference. I've successfully duplicated and edited the template graphs however when using the "start time" and "end time" feature things don't get rendered right.

I initially tried the date format that works for the monitors themselves (e.g 05/20/05 1825) however it throws an error in Apache with an invalid RPN expression. I decided to convert them to UNIX Epoch in the hopes it would clean them up. It takes Epoch and looks to even render just that data however it doesn't change the X axis for the correct time. For example the intial view will still show today's graph even though the start and end time for all of the items was set to a few days ago. If I check the history graphs I will see the spike I'm looking for a few days back.

How can I get the inital view to use the time entered for the min and max on the X axis?

Anything I can try would be appreciated.

silfreed

23-05-2005 12:21:40

This isn't a feature that NetMRG currently has. The behavior you experienced is intentional; see our workday highlighting tutorial for an explaination.

-Doug

padrino121

23-05-2005 12:50:31

[quote38a54b92b1="silfreed"]This isn't a feature that NetMRG currently has. The behavior you experienced is intentional; see our workday highlighting tutorial for an explaination.

-Doug[/quote38a54b92b1]

Thanks for the pointer to the tutorial. I misunderstood the point of the start and end time options. I might hack on it today to see if I can get it to render differently because it should be be a setting for the RRD generation and possible with the data I already have.

Thoughts?

silfreed

23-05-2005 12:56:40

We do have an "advanced" view that will let you "zoom in" on data by limiting the min and max ranges over a timeperiod; You could bookmark this link, but we don't have a way (currently) to make this a default view.

-Doug

padrino121

24-05-2005 13:45:39

[quote36dd081b83="silfreed"]We do have an "advanced" view that will let you "zoom in" on data by limiting the min and max ranges over a timeperiod; You could bookmark this link, but we don't have a way (currently) to make this a default view.

-Doug[/quote36dd081b83]

I've been using that for the graphs themselves but I notice the template graphs don't have that option. Are you referring to an "advanced" view for the template graphs or the monitor graphs?

silfreed

24-05-2005 14:19:27

For the template graphs; you'll have to click on the graph itself to see this option.

-Doug

balleman

24-05-2005 14:25:17

Right, templates themselves do not have the option, but instances of a template applied to a sub-device do.

padrino121

24-05-2005 14:37:40

[quote8d9bd3f72f="balleman"]Right, templates themselves do not have the option, but instances of a template applied to a sub-device do.[/quote8d9bd3f72f]

Thanks..

I saw that and it's part of the way there. I'm currently adding the ability to do it for a whole set, I'll be submitting the patch when I'm done. Given all fo the work NetMRG has done already the code is very straightforward and it doesn't look like it will be too much work.