summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_img.php
Commit message (Collapse)AuthorAgeFilesLines
* Code spacingPhil Davis2015-06-151-17/+17
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style WWW Status RRDPhil Davis2015-05-151-134/+128
|
* Add some curlies in status_rrd_graph_imgPhil Davis2015-05-141-3/+5
| | | | These "if data" tests look like they should apply to all 4 lines below them. After sorting out this real-looking issue, I can mess with the rest of the formatting...
* Remove pre-check and post-check from Cache-ControlJose Luis Duran2015-04-141-2/+2
| | | | | | | If both `post-check` and `pre-check` are specified and set to `0`, both are entirely ignored: http://blogs.msdn.com/b/ieinternals/archive/2009/07/20/using-post_2d00_check-and-pre_2d00_check-cache-directives.aspx
* Combine Cache-Control header in one lineJose Luis Duran2015-04-141-12/+10
| | | | | | | | | | | | | Sorted by RFC 2616: Section 14.9.1 `no-cache` Section 14.9.2 `no-store` Section 14.9.4 `must-revalidate` Combined into one line with IE's `pre-check` and `post-check`. However, when both set to `0`, both are entirely ignored: http://blogs.msdn.com/b/ieinternals/archive/2009/07/20/using-post_2d00_check-and-pre_2d00_check-cache-directives.aspx
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Remove also . and / from graphRenato Botelho2014-06-191-1/+1
|
* Remove more backticksRenato Botelho2014-06-191-2/+2
|
* Fix status_rrd_graph_img.php and also improve it:Renato Botelho2014-06-191-36/+37
| | | | | | | | - Remove escapeshellarg that broke command line - Only remove dangerous chars to avoid command injection - Replace all `hostname` calls by php_uname('n') - Replace all `date` calls by strftime() - Add $_gb to collect possibly garbage from exec return
* Make sure variables are escaped, also replace exec calls to run rm by ↵Renato Botelho2014-06-171-4/+4
| | | | unlink_if_exists()
* Remove useless code, variable is set again on next lineRenato Botelho2014-06-171-3/+0
|
* Merge pull request #935 from nagyrobi/patch-9Ermal Luçi2014-02-191-0/+47
|\ | | | | Update status_rrd_graph_img.php
| * Update status_rrd_graph_img.phpnagyrobi2014-02-181-0/+47
| | | | | | Add NTP graph drawing
* | Dodgy-looking stuff in graph calculationsPhil Davis2014-02-181-5/+5
|/ | | I noticed that the graphs in this post - https://forum.pfsense.org/index.php/topic,72794.0.html - had numbers for in-block and out-block that had similar numbers to in-pass and out-pass. That seemed hard to believe. Found these calculations that look wrong.
* Clarify that the graph is for mbuf clustersjim-p2013-08-051-1/+1
|
* 3652 days worth is a too much. Scale it back to more reasonable 1.25 x ↵N0YB2013-07-191-1/+1
| | | | maximum used data (2284 days).
* Use default RRD colors that are a little more visually distinct. Add some ↵jim-p2013-07-181-20/+54
| | | | better comments/labels to make it easier for people to help customize and tweak the colors. Suggestions welcome.
* This is not a percentagejim-p2013-07-171-1/+1
|
* Use some easier to distinguish colors for mbuf graphjim-p2013-07-161-1/+1
|
* Add an RRD graph for MBUFs under system. Tweaks welcome.jim-p2013-07-161-0/+45
|
* RRD Specify RRA and ResolutionN0YB2013-07-021-67/+77
| | | | | Don't leave it up to RRD Tool to select the RRA and resolution to use. Specify the RRA and resolution to use per the graph havg value.
* Adjust archives array values to match sizes for average calculation.N0YB2013-07-021-5/+5
|
* Archive start is “now” minus archive length. Not “end” minus ↵N0YB2013-07-021-1/+1
| | | | archive length. Sometimes "end" is not "now".
* Set global $g to use right themeRenato Botelho2013-02-141-0/+2
|
* Stack the queue graphs. Fixes #2692Warren Baker2013-01-101-2/+2
|
* In the case that no bandwidth limits are configured for queues but PRIQ is ↵Warren Baker2013-01-091-1/+4
| | | | been used then rather set a default otherwise a value of 0 is used in the CDEFs for RRD
* Add 3G statistics for Huawei modems, split the Cellular stats out to per ↵smos2012-05-211-13/+6
| | | | interface instead of global.
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-1/+1
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* Merge remote branch 'upstream/master'jim-p2011-06-011-2/+3
|\ | | | | | | | | | | | | | | | | | | Conflicts: conf.default/config.xml etc/inc/filter.inc etc/inc/globals.inc etc/inc/pfsense-utils.inc etc/inc/upgrade_config.inc usr/local/www/interfaces.php
| * Remove decimals from cumulative users graph.Warren Baker2011-05-261-2/+3
| |
* | Increase the minimum time between generating images from 5 to 15 seconds to ↵Seth Mos2011-05-261-1/+1
| | | | | | | | prevent DoS the firewall.
* | Fix packet graph label alignmentSeth Mos2011-05-261-1/+1
| |
* | Fix the graph label alignmentSeth Mos2011-05-261-1/+2
| |
* | Merge remote branch 'upstream/master'jim-p2011-05-191-31/+11
|\ \ | |/
| * Use base 1000 on user graphs and display cumulative of Total users logged in ↵Warren Baker2011-05-161-31/+11
| | | | | | | | over the 'x' period.
* | Merge remote branch 'upstream/master'Seth Mos2011-05-031-20/+24
|\ \ | |/ | | | | | | Conflicts: usr/local/www/status_rrd_graph_img.php
| * Set default colors explicity, the theme can then override them. This ↵jim-p2011-05-021-19/+22
| | | | | | | | prevents missing colors in themes from crashing the graphs.
| * If the rrd multiplier is negative, use 5% for out instead of 95% for the ↵jim-p2011-05-021-1/+2
| | | | | | | | 95th percentile line.
* | Merge remote branch 'upstream/master'Seth Mos2011-04-121-37/+38
|\ \ | |/ | | | | | | | | Conflicts: etc/inc/filter.inc usr/local/www/themes/the_wall/rrdcolors.inc.php
| * Try again to fix the calculation for out bits 95th percentile. (Works for me)jim-p2011-03-311-1/+2
| |
| * Apparently rrdtool VDEF functions can't take a multiplier, only CDEF. Fixes ↵jim-p2011-03-301-1/+1
| | | | | | | | traffic graphs.
| * Add missing color, add multiplier to calculus for inverting linesmos2011-03-301-1/+1
| |
| * Fix spamd rrd graph command.jim-p2011-03-291-36/+36
| |
* | Merge remote branch 'upstream/master'Seth Mos2011-03-241-0/+22
|\ \ | |/ | | | | | | | | Conflicts: etc/inc/rrd.inc usr/local/www/interfaces.php
| * Add Total number of CP users graphWarren Baker2011-03-171-0/+22
| |
* | Fix merge conflictScott Ullrich2011-03-161-1/+1
|\ \ | |/
| * Fix ticket #1354smos2011-03-161-1/+1
| |
* | Unbreak the rrd graph img pageSeth Mos2011-03-091-12/+1
| |
OpenPOWER on IntegriCloud