summaryrefslogtreecommitdiffstats
path: root/etc/inc/rrd.inc
Commit message (Collapse)AuthorAgeFilesLines
* Move main pfSense content to src/Renato Botelho2015-08-251-989/+0
|
* Replace php calls to php-cgi, binary is not being renamed anymoreRenato Botelho2015-08-201-1/+1
|
* Code spacingPhil Davis2015-06-151-1/+1
| | | | | | | 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 bits and pieces from etcPhil Davis2015-05-311-1/+1
|
* Only restore rrd.tgz where platform is appropriate, or RAM disk beingChris Buechler2015-04-081-1/+1
| | | | used, otherwise you're restoring a probably old backup file. Ticket #4531
* Code style etc in r sPhil Davis2015-03-031-53/+59
|
* Fix lineup of copyright linesPhil Davis2015-01-011-23/+24
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Correctly delete xml file after restore and conversion to rrdPhil Davis2014-11-291-1/+1
| | | | When doing "Generating RRD graphs" at bootup, the data is restored from /cf/conf/rrd.tgz into xml format files in /var/db/rrd. Those xml files are then convert to rrd files. After that, the xml files should be deleted - but the xml file path was not quite right, so they were not being deleted. This fixes it.
* Correct some logic and remove temporary filesErmal LUÇI2014-11-281-1/+2
|
* Make restore one by one to help ↵Ermal LUÇI2014-11-281-8/+12
| | | | https://forum.pfsense.org/index.php?topic=84693.0
* Put the safety belts for rrds on its proper location. No need to create /tmp ↵Ermal LUÇI2014-11-271-0/+13
| | | | and change permissions on these paths
* Rather than set the g['booting'] on globals provide a function to test for ↵Ermal LUÇI2014-11-261-17/+17
| | | | that doing the right checks
* Update rrd.incnagyrobi2014-05-281-2/+2
| | | fixed NTPd graphs resetting when service restarts or reconfigured (thanks charliem https://forum.pfsense.org/index.php?topic=76620.msg422811#msg422811)
* Add the missing global $gN0YB2014-02-201-0/+1
|
* Fix gateway quality RRD to have the correct granularity and be consistent ↵N0YB2014-02-191-0/+27
| | | | | | | | | with the pfSense graphs set. Create gateway quality RRD with settings suitable for pfSense graph set, since apinger uses default step (300) and other settings that are not so good/consistent with the pfSense graphs set. Originally Submitted as Pull Request #672. Resubmitting to Master.
* Update rrd.incnagyrobi2014-02-181-1/+1
| | | corrected path
* Update rrd.incnagyrobi2014-02-181-0/+54
| | | Add NTP graphing to RRD
* Use unlink_if_exists or @unlink to avoid PHP errors when file doesn't existRenato Botelho2014-02-041-2/+1
|
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-2/+2
| | | | exec() calls by php functions like symlink, copy, unlink, mkdir
* Fix CP stats generation for concurrent users. Fixes #3225jim-p2013-09-231-2/+2
|
* Update rrd.incN0YB2013-07-231-1/+1
| | | | | Fix this error php: rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: expected 4 data source readings (got 5) from N:U:U:U:U:U'
* 3652 days worth is a too much. Scale it back to more reasonable 1.25 x ↵N0YB2013-07-191-26/+26
| | | | maximum used data (2284 days).
* Add an RRD graph for MBUFs under system. Tweaks welcome.jim-p2013-07-161-0/+39
|
* Fix the RRD RRA’s to collect the correct amount of data for the Previous ↵N0YB2013-07-021-92/+92
| | | | | | | | | | | Period view for each resolution. Applied when RRD's are created. RRA:AVERAGE:0.5:1:1200 = 20 hours of 1 minute data RRA:AVERAGE:0.5:5:720 = 2.5 days of 5 minute data RRA:AVERAGE:0.5:60:1860 = 2.5 months of 1 hour data RRA:AVERAGE:0.5:1440:3652 = 10 years of 1 day data
* Fix #3049, set $config as global to it can be readRenato Botelho2013-06-181-1/+1
|
* Fixes #2979Renato Botelho2013-05-291-3/+3
| | | | | | | . Change max value for traffic and packets graphs to 20GigE . Bump config version to 9.6 . Write a config upgrade function to tune current rrd files to the new max value
* Sprinkle some unset to reduce footprintErmal2013-04-121-9/+12
|
* Add the ability for full installs to optionally use RAM disks for /tmp and ↵jim-p2013-03-111-3/+5
| | | | | | /var, and to allow selecting a size for /tmp and /var RAM disks on both Full installs and NanoBSD. I think I caught most of the edge cases for transitioning into and out of RAM disk mode, and preserving data across reboots as is done on NanoBSD (RRD, DHCP leases, pkg/pbi info).
* Adjust RRD captive portal graphs for CP zonesRenato Botelho2013-02-061-65/+85
| | | | | | | | | - Create RRD configs per zone - Add tabs to see graphs per zone - Migrate existing rrd files to default cpZone - While I'm here, call unset() for $rrdcreate and $rrdupdatesh Resolves #2655
* Fix indent and whitespacesRenato Botelho2013-02-061-9/+9
|
* Avoid killing apinger's rrdtool processes on kill_traffic_collector(). It ↵Renato Botelho2013-02-011-2/+6
| | | | helps a problem reported on comment of ticket #1399
* Escape the shell variablesmos2012-06-021-1/+1
|
* Correct the rrd update commandsmos2012-05-211-2/+2
|
* Add 3G statistics for Huawei modems, split the Cellular stats out to per ↵smos2012-05-211-28/+26
| | | | interface instead of global.
* log_error if rrdtool restore calls failDarren Embry2012-05-171-1/+7
|
* add -f to 'rrdtool restore' callDarren Embry2012-05-171-1/+1
|
* Delete any existing /var/db/rrd/*.rrd files before restoring from the XMLPhil Davis2012-04-231-0/+3
|
* Feature #2123 Backup RRD files using the xml dump and restore from RRD toolsDarren Embry2012-04-121-11/+28
| | | | http://redmine.pfsense.org/issues/2123
* Merge remote-tracking branch 'upstream/master'jim-p2011-07-121-8/+8
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/interfaces.inc etc/inc/services.inc etc/inc/xmlrpc_client.inc usr/local/www/fbegin.inc usr/local/www/services_dhcp.php
| * Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-05-251-1/+1
| |\
| * \ Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-05-231-35/+0
| |\ \
| * \ \ Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-04-041-2/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/shaper.inc
| * \ \ \ Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-311-3/+3
| |\ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-20/+57
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/priv.defs.inc etc/inc/shaper.inc etc/inc/system.inc
| * \ \ \ \ \ Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-6/+13
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/auth.inc etc/inc/config.lib.inc etc/inc/filter.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc etc/inc/priv.defs.inc etc/inc/services.inc etc/inc/shaper.inc etc/inc/voucher.inc etc/inc/vpn.inc usr/local/www/fbegin.inc
| * \ \ \ \ \ \ Merge branch 'master' into incVinicius Coque2011-01-281-1/+78
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/captiveportal.inc etc/inc/config.console.inc etc/inc/config.lib.inc etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/ipsec.inc etc/inc/pkg-utils.inc etc/inc/shaper.inc etc/inc/system.inc etc/inc/voucher.inc
| * | | | | | | | Fix quotes to use %N$X on gettext callsRenato Botelho2010-10-011-5/+5
| | | | | | | | |
| * | | | | | | | Fix gettext calls with printf to permit change strings orderRenato Botelho2010-08-301-5/+5
| | | | | | | | |
| * | | | | | | | Merge remote branch 'mainline/master' into incRenato Botelho2010-08-301-1/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc
| * | | | | | | | | Implement gettext() calls on rrd.incCarlos Eduardo Ramos2010-08-171-8/+8
| | | | | | | | | |
OpenPOWER on IntegriCloud