Weathermap hoverover graph 2 hour timescale

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
9Nails
Posts: 42
Joined: Thu Nov 20, 2008 4:32 pm

Weathermap hoverover graph 2 hour timescale

Post by 9Nails »

Hello, I've been using WeatherMap for about 6 years now to monitor network bandwidth between school routers. It's a terrific tool and I really appreciate how I can get a glimpse of the network utilization by checking the links between devices.

Recently we've added even more user devices to our network so monitoring is important. I'm providing 100 Mbps links between 18 schools, and 250 Mbps links between 8 schools, with 2 Gbps total throughput at my Internet link. My network provides connectivity for 120 servers, 450 Cisco switches, 400 PC Desktop computers, 700 MacBook Pro's for teachers, in excess of 4,000 cell phones connected via Wifi, 750 wireless access points, and 16,000 Chromebooks for students.

It's our Internet link which I'm wanting to watch like a hawk. So, here comes my question: When I mouse over a link, I typically see the timescale written as such: 12:00 18:00 00:00 06:00... which is to say that I see a very wide timescale. I'm interested in the details for the past 2 hours. So I was wondering if you knew of a way which I could dynamically design my hover graph to show the previous 2 hours. Beyond those 2 hours things have changed so much that depth of history isn't as important to me on the hover graph.

I've included a screen shot of the graph of which I'm referring to.

TL:DR - How can I modify the hover over graphs to reflect 2 hours of past activity?

I'm using WeatherMap 0.97c, on Cacti 0.8.8f on CentOS.
Attachments
Link hover over graph shows a very wide timescale. I'm wishing to shrink the times to the past 2 hours.
Link hover over graph shows a very wide timescale. I'm wishing to shrink the times to the past 2 hours.
Hover.png (33.13 KiB) Viewed 1840 times
User avatar
XTech
Cacti User
Posts: 59
Joined: Sat May 26, 2012 9:25 pm

Re: Weathermap hoverover graph 2 hour timescale

Post by XTech »

Hello.
I think you should play with rra settings - try to change default TimeSpan value to 7200. But I haven't tested this for side effects, so try this on test cacti installation.
Another way - in OVERLIBGRAPH string you can set graph_start and graph_end variables, but to set them, you should know unixtime values for current time-2 hours and current time respectively.

Code: Select all

/cacti/graph_image.php?local_graph_id=16&rra_id=0&graph_start=1442286063&graph_end=1442300463
Attachments
RRAs.png
RRAs.png (48.82 KiB) Viewed 1697 times
9Nails
Posts: 42
Joined: Thu Nov 20, 2008 4:32 pm

Re: Weathermap hoverover graph 2 hour timescale

Post by 9Nails »

Hi Xtech - thank you for this suggestion. I changed the timespan of my Hourly RRA and found the corresponding graph at:

Code: Select all

/cacti/graph_image.php?local_graph_id=16&rra_id=5&graph_start=1442286063&graph_end=1442300463
I swear before that wasn't there! I tried rra_id=0, =1, =2... I guess I kept noticing that the timespan grew so distant that I didn't try up to 5 before. So this is working the way that I would like it to! Thanks again!

:D
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests