Commit Graph
261 Commits
Author SHA1 Message Date
Jimmy Conner c2bc81f01e 1) Remove RRDtool 1.0 support
2) Consolidate Graph and XPort functions
3) Reorganize Graph function to make more modular
4) Leave XPort wrapper function for backward compatibility
5) Turn fetch cache into a static

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7639 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 19:56:09 +00:00
Jeff Pasnak 6e9f636abf #0002492 - Standardize mysql syntax - final pass
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7621 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-28 21:09:38 +00:00
Jimmy Conner 6a2312ec94 - When editing a tree, use overflow to keep GUI manageable.
- Enhance lib/ping.php error checking
- Clean out some more dos2unix issue
- Add some comments to lib/rrd.php
- Add some additional checks in cdef.php
- Major simplification of Graph Settings page.  Add more Dynamic views 
to keep it simple.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7583 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-20 02:20:47 +00:00
Jimmy Conner ac6d6929cc Remove some unnecessary ending PHP closing tags
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7571 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 03:02:03 +00:00
Andreas Braun c3c0000349 -fix boost and dsstats poller bottom hooks
-minor bug fixes

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7567 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-16 05:52:10 +00:00
Jimmy Conner eeaf9aabaa Fix for undefined function boost_fetch_cache_check
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7560 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-12 04:12:18 +00:00
Andreas Braun af69e37e7b - merge DSSTATS, Boost and Settings to the mainstream
- Enhancement of breadcrumbs to include Tree information in Ajax response.
- Removing all double quotes from 'include' files for performance.
- Some cleanups in cdef.php
- Enhancement of 'Send Test Email' to use Dialog jQuery plugin
- Fixed (finally) the last remaining issues with re-sizable columns
- Some CSS cleanup
- Fix main tabs not highlighting
- Add consistent help screens to CLI and pollers relative to versions and copyright years (now a constant)

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7551 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-08 19:52:37 +00:00
Andreas Braun a59aedace8 add latest changes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7535 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-03 16:34:51 +00:00
Jimmy Conner 8836c77890 Slight addition to bug #2455. We corrected the SQL Inject, now we force one of the default font sizes if its not a numeric value.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7460 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-08-18 14:37:42 +00:00
Jimmy Conner 301dccf54e -bug#0002455: Incomplete and incorrect input parsing leads to remote code execution and SQL injection attack scenarios
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7454 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-06-28 05:43:01 +00:00
Tony Roman 07b60899b0 bug#0002405: SQL injection in graph_xport.php
- Fixed form input validation problems
 - Fixed rrd export and graph shell escape issues


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7439 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 22:52:10 +00:00
Tony Roman 65be30ffe0 Update copyright to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Reinhard Scheck 6e4c2de288 fix COMMENT handling, even in case COMMENT is empty, with or without HR and with variable substitution
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7418 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-08-13 19:32:49 +00:00
Tony Roman f3baeacefe Properly escape all user input for consumption by rrdtool
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7393 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-22 02:12:13 +00:00
Tony Roman ce40281901 Update copyright to 2013 for 0.8.8
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
Reinhard Scheck 5c339aa9e4 0002208: Graphs with CDEFs fail to generate
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7110 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-04-10 15:51:46 +00:00
Reinhard Scheck 33b5b83730 -bug#0002156: CDEF strings are not escaped before passed to rrdtool command
better solution to CDEF escaping only; so less side-effects
fixed missing escaping for ds_names as well

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7053 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-03-10 10:19:34 +00:00
Reinhard Scheck 4edac1f14f 0002156: CDEF strings are not escaped before passed to rrdtool command
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7038 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-03-09 15:30:39 +00:00
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Tony Roman 2d039dd7db Merge PIA into 0.8.7 branch
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7006 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 01:14:45 +00:00
Tony Roman d399d3e920 fix issue with title variable replacement failing when no host is associated with graph
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6939 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-11-22 15:35:45 +00:00
Larry Adams eddb5b5130 -bug#0001963: "total in" and "total out" are always 0
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6912 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-11-13 16:33:36 +00:00
Larry Adams 0d3d839ff9 -bug#0002066: Graph without host id Notice: Undefined variable: host_id
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6848 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-10-09 01:34:05 +00:00
Larry Adams c910c005ca Properly support ifHighSpeed patch
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6837 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-10-09 00:57:05 +00:00
Reinhard Scheck 7faaa04c57 in case e.g. ifSpeed resolves to 0, rrdcreate breaks
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6783 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-09-17 15:00:00 +00:00
Reinhard Scheck 0a15d6b5ee fix handling of |query_*| in rrd substitutions and fix using "U" as an rrd_maximum
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6778 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-09-13 18:26:51 +00:00
Tony Roman 8a3d9de064 Fixed issues with Cacti rrdtool fetch function failing to work correctly when NaN values are present
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6363 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-04-26 02:30:08 +00:00
Tony Roman e85f26a9b0 Update rrd lib to correctly support default arguments.
We do not need to pass rrdtool pipe as a reference because all
resources(popen) are already references.

This still needs to be tested on php 4.x

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6331 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-25 02:16:56 +00:00
Tony Roman 171202e94e Revert change in revision 5828 that changed the required arguments of functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6319 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-21 01:30:54 +00:00
Larry Adams be74895e64 -feature#0001952: Ability to use input field of a script in graph title
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6315 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-20 19:39:19 +00:00
Reinhard Scheck 27d167d72f fix several initialization issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6302 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-11 20:00:00 +00:00
Reinhard Scheck 8d51dcd274 -feature#0001667: Get values of |host_*| variables in graph elements from data source
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6300 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-10 20:33:05 +00:00
Reinhard Scheck 74902a2356 0001626: Cacti does not pass currency symbols ($) used in labels/gprint strings to rrdtool during graph generation.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6284 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-04 20:29:16 +00:00
Larry Adams 9df0bbb3be -bug#0001867: rrdtool_funcion_fetch() wrong regex with some locales
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6250 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-28 21:42:42 +00:00
Larry Adams 93af782dfe -bug#0001847: graph export is broken
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6248 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-28 21:19:26 +00:00
Tony Roman 9acba795fe Update copyright to 2011
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6233 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:44:05 +00:00
Reinhard Scheck 9c44040884 0001768: error drawing traffic graphs
+ formatting issue

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6203 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:26:41 +00:00
Reinhard Scheck 9d2a164909 -bug#0001568: Cacti currently gives a lot of warnings of deprecated functions on PHP 5.3
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6200 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:03:25 +00:00
Reinhard Scheck 6756b32541 0001768: error drawing traffic graphs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6199 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 18:38:16 +00:00
Tony Roman 6dd39a03ee More XSS issues fixed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6041 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-07-07 17:49:25 +00:00
Reinhard Scheck c93d793ba7 -bug#0001756: Alternate font styles don't work
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5983 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-07 15:47:30 +00:00
Reinhard Scheck 078a919d3c Use windows-aware escapeshellarg
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5974 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-03 21:01:59 +00:00
Reinhard Scheck f135bcf708 allow empty upper/lower limit even without autoscale
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5839 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-03 18:07:53 +00:00
Larry Adams 8a2e8b71cb QA: PHP4 compatibility. Holding back from main.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5829 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-02 16:54:46 +00:00
Larry Adams b9ae1dbc5e QA: Pass by reference must be explicit. Need to test this on PHP4. May end up backing out
feature: Inform user of RRDtool command that caused failure.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5828 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-02 16:16:08 +00:00
Larry Adams c5403f3844 QA: Update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5806 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 03:48:09 +00:00
Larry Adams cd7d78cae0 QA: Finishing up RRDtool segfault corrections.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5800 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 00:51:09 +00:00
Reinhard Scheck 638c065c57 prevent command injection enhanced for rrd
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5784 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-21 19:43:56 +00:00
Reinhard Scheck bfd7476698 correctly escape rrdtool-1.3.x++ fonts for use with rrdtool graph
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5783 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-21 18:43:59 +00:00
Reinhard Scheck 738a78e540 fc-list available on *nix only
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5781 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-21 17:07:14 +00:00