Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
System Health Graphs - problem and a question
« previous
next »
Print
Pages: [
1
]
Author
Topic: System Health Graphs - problem and a question (Read 8103 times)
phoenix
Hero Member
Posts: 545
Karma: 58
System Health Graphs - problem and a question
«
on:
September 30, 2015, 08:07:02 am »
Well done on the latest update, the System Health Graphs are looking good.
I don't see anything on the Traffic Graphs no matter which period I choose (all interfaces are chosen), anything possibly causing this that I can look at?
[edit]The Traffic Graphs depend on me selecting an interface (duh!) although they are already 'ticked' in the drop down, I think it might be useful to have a default graph selected (WAN, perhaps) so there's no confusion about whether the graphs are working or not.
The question I have is about the Zoom Level (time periods) you can select, they seem rather strange - the periods shown are 20hrs, 60hrs, 76 days & 75 days. I'm guessing those ranges are not intentional, or are they?
«
Last Edit: September 30, 2015, 08:13:52 am by phoenix
»
Logged
Regards
Bill
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: System Health Graphs - problem and a question
«
Reply #1 on:
September 30, 2015, 08:16:58 am »
Morning Bill,
yeah, I was just gonna ask if you selected the right graph. I agree on switching the default to something more meaningful.
The periods are intentional and in line with the old RRD graph windows, with the exception that they don't expand past the data that you have (that's why the 76/75 days are capped). Only thing odd is that the last period is shorter. Maybe Jos knows more.
Cheers,
Franco
Logged
phoenix
Hero Member
Posts: 545
Karma: 58
Re: System Health Graphs - problem and a question
«
Reply #2 on:
September 30, 2015, 08:23:49 am »
Good morning, franco.
It's probably too early in the morning for me. I saw the interfaces were all 'ticked' and just assumed there should be data showing. Perhaps it might also be better if you decide to set a default to uncheck the ones that aren't being graphed. The current setting of them all being ticked seems counter intuitive to me.
Ah, that explains the time periods - I've never really looked at the RRD graphs as I use my own monitoring tools for that.
Logged
Regards
Bill
jschellevis
Administrator
Full Member
Posts: 156
Karma: 37
Re: System Health Graphs - problem and a question
«
Reply #3 on:
September 30, 2015, 08:24:48 am »
Hi Bill,
Thanks for your comments, let me explain how it works...
System Health does not depend on anything than an rrd file.
It lists all the files in your /var/db/rrd/ and generates a menu from it.
Then each graph/page is created by extracting the data from the rrd file, that is where the periods come form as those are the recording periods in the chosen rrd files.. so they can be different for each rrd.
To make sure your browser does not get overloaded a subset of data is generated and averages are calculated for them, the period that is used in the average is shown above the graph.
Now you can zoom in by selecting a period under the graph.. just click and drag over the smaller graph.
If more detailed period is available then new averages will be calculated and shown.
So everything is dynamic and only a representation of the original (but reinterpreted) data.
It is also possible to add some more information to the graph such as title and y-axis name, there is an xml file on the system to do so, but again system health is not depending on it.. only the rrd file is needed.. thats the real beauty of it all.
Jos
«
Last Edit: September 30, 2015, 08:58:50 am by jschellevis
»
Logged
jschellevis
Administrator
Full Member
Posts: 156
Karma: 37
Re: System Health Graphs - problem and a question
«
Reply #4 on:
September 30, 2015, 08:27:29 am »
Oh and one more thing...
as for browsers, there is a huge difference in speed for drawing an svg graph, here is the list from best to worst that i tested:
chrome - very fast
safari - reasonable
firefox - slow
Logged
phoenix
Hero Member
Posts: 545
Karma: 58
Re: System Health Graphs - problem and a question
«
Reply #5 on:
September 30, 2015, 08:49:07 am »
Thank you both for the speedy feedback.
I don't find the SVG graphs too bad in FF but displaying it more than doubles my OPNsense CPU usage from about 2-5% to 11%. The information on the OPNsense GUI is great for a quick look if I happen to be making any changes to it but more detailed information is better provided another server.
«
Last Edit: September 30, 2015, 11:05:56 am by phoenix
»
Logged
Regards
Bill
jschellevis
Administrator
Full Member
Posts: 156
Karma: 37
Re: System Health Graphs - problem and a question
«
Reply #6 on:
September 30, 2015, 08:55:33 am »
Bill, you are welcome
Thank you for the feedback!
«
Last Edit: September 30, 2015, 08:58:28 am by jschellevis
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
System Health Graphs - problem and a question