Commit Graph
310 Commits
Author SHA1 Message Date
cigamit dac9e06db9 Enhance rrdtool_function_fetch
- Report the time range in the array
- Simplify the code, reduce cpu time
- Support specifying a consolidation function
2016-09-02 19:36:42 -05:00
cigamit 280fca7e11 resolving bug#2760 2016-08-31 07:38:07 -05:00
Browniebraun 510f4ad549 Implement RRDP Load Balancing
- Update initialization of RRDP to support load balancing
- add additional log entries
2016-08-31 11:36:36 +02:00
Browniebraun a634ea450e Finalize migration to phpseclib 2.0.3 without using composer
- drop inclusion of AES class because it is only a wrapper for Rijndael
- replace call of "crypt_random_string()" which has been replaced by class random
2016-08-31 11:15:03 +02:00
cigamit 5245a29ff5 resolving phpseclib conversion issues 2016-08-30 20:20:43 -05:00
cigamit b523f1dea5 remove addslashes, prepared statements, wc3 validation, double to single quote
this is required for preparation of magic_quotes_gpc.
2016-08-28 15:27:48 -05:00
cigamit 6f39d5eb72 resolving bug#1981 2016-08-26 20:15:25 -05:00
cigamit f136ab6240 resolving bug:2722 2016-08-22 07:56:00 -05:00
cigamit f773002430 number_format warnings 2016-06-18 16:28:20 -05:00
cigamit 5285875342 remove trailing spaces 2016-05-13 10:02:12 -05:00
Eugene Bolshakov c1e4cca37b Restore original code due to RRDTool 1.2 refuse.
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>
2016-04-20 22:51:14 +03:00
Eugene Bolshakov 03862efb10 Correct a logic
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>
2016-04-18 20:32:26 +03:00
Eugene Bolshakov 04e823bf8f Other quotes fixes for RRDTool 1.2.x
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>
2016-04-18 01:56:11 +03:00
Eugene Bolshakov d0c8b2c806 Fix 2 issues with RRDTool 1.2.x
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>
2016-04-17 17:24:22 +03:00
cigamit 08f46f28fd correct realtime rendering for some versions of rrdtool 2016-04-02 00:23:56 -05:00
Micke2k 330802a3d1 fixed a bug with graph debug and graphs not showing
Call to undefined function rrd_substitute_device_query_data() in //lib/rrd.php on line 1951, referer: http://cacti/graphs.php?action=graph_edit&id=19
2016-04-01 16:59:04 +04:00
Micke2k 3a87706ef8 minor fix for dsdebug
error message was giving wrong instructions.

There is still a bug where dsinfo is unable to correctly identify maximum numbers.

$data_source['rrd_maximum']  is returned as 18446744073709551616
$info['ds'][$ds_name]['max']) is returned as  1.8446744074e+17

dsinfo always prints a error message when this happens because one is floating and one is integer?

Couldnt find why.
2016-04-01 16:37:04 +04:00
cigamit 45b3a19983 handle boundary conditions better 'U' and max '0' 2016-03-28 22:23:47 -05:00
cigamit cff1d7fdc4 backport several rrd utility functions from svn main and provide data source debug info 2016-03-28 19:47:47 -05:00
cigamit 21514622d4 fixin csv output and others
remove double quotes, prepared statements, simplified debug, remove
debug code
2016-03-26 13:58:42 -05:00
cigamit b0574dc37a reverse a few issues from i18n commit 2016-03-23 06:31:56 -05:00
Browniebraun ac79970b44 undefined index force_storage_location_local in rrd_close 2016-03-22 20:04:38 +01:00
Micke2k 99913a1a72 Fix for graphs not showing in some cases
[Wed Mar 02 16:29:49.681303 2016] [:error] [pid 48688] [client ] PHP Fatal error:  Call to undefined function rrd_substitute_device_query_data() in lib/rrd.php on line 1958, referer: http:///cacti/graph_view.php?action=tree&filter=&host_id=undefined&columns=2&graphs=10&graph_template_id=undefined&thumbnails=false

And fix for:

[Wed Mar 02 16:44:07.238563 2016] [:error] [pid 49193] [client ] PHP Notice:  Use of undefined constant GRAPH_ITEM_TYPE_TICK - assumed 'GRAPH_ITEM_TYPE_TICK' in /lib/rrd.php on line 1273, referer: http:///cacti/graph_view.php?action=tree&tree_id=1&leaf_id=2&host_group_data=&nodeid=2
2016-03-20 17:37:54 +04:00
cigamit 39bbb23ac5 implement data source profiles
this commit will cause your 1.0 environment to break.  to fix, please
run the script 'profile_migrate.php'.  this commit includes a major new
feature to allow your Cacti system to have multiple polling intervals
and for you to create identical graphs using multiple polling intervals
in a sane way.  this is an initial commit, one that has been tested.
however, there will be subsequent commits.  however, after migration,
this should be considered stable.
2016-03-14 06:59:54 -05:00
Browniebraun e467431d07 - add option to force Cacti using local storage only for a dedicated operation. (avoids that Realtime sends its data to the RRDproxy) 2016-03-11 22:42:25 +01:00
Browniebraun f4df00aaad replace Boost server by RRDproxy 2016-03-10 21:43:10 +01:00
cigamit 2e236dcbdf big commit back porting features
back port the following features from main:

1) vdef support
2) new graph items
3) new graph options

this covers all the high points available in rrdtool today.

also change the following:

1) allow forms to include spacers
2) reorganize graph template form with spacers
3) many help wording back ports from main

for those testing, if you are going to start using this version, you
will have to implement the changes in the upgrade script or reinstall.
also note that this change may break new aggregates.
2016-03-09 20:43:52 -06:00
Browniebraun 5a12ef92d6 -allow auto-compression of longer RRDtool statements
-detect compressed data output being returned by a proxy automatically
2016-03-02 00:49:12 +01:00
Browniebraun acd2053439 - add file and folder handling while using one or more rrdproxies
- remove debugging code
2016-03-01 23:58:48 +01:00
cigamit e1ea4ff7cd clean up debug output 2016-02-21 21:21:55 -06:00
cigamit 9f79d702f3 rename settings_graphs to settings_user, rename settings_graphs_group to settings_user_group
If you are running in development, you have to issue these two commands
rename table settings_graphs to settings_user;
rename table settings_graphs_group to settings_user_group
2016-02-14 14:26:48 -06:00
cigamit c59b0a7e12 add theme support to reports 2016-02-14 12:12:25 -06:00
cigamit f2edfcbe53 update theme to a user setting 2016-02-14 10:48:34 -06:00
cigamit 14ce142b3c resolve some issues with realtime and get_filter_request_var() function 2016-02-14 09:34:41 -06:00
Andreas Braun da8470ff97 Add support of Cacti's new RRDproxy Server to main 2016-02-03 00:01:28 +01:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit 70b763a06a -bug:0002269: |query_ifSpeed| in --upper-limit for graph template does not work with empty ifSpeed 2016-01-21 12:51:38 -06:00
cigamit d498c6dce1 resolving bug:2631 2016-01-17 16:10:08 -06:00
cigamit c267d5e9e7 fix padding issues
auto padding was not working as expected.  this fixes it.
2015-11-04 21:11:28 -06:00
cigamit abdc1e3d55 Merging 0.8.8d Updates with GitHub
Changes include:
- Convert some <br> to </li>
- Update ChangeLog per 0.8.8d release
- Fix Max Values on UCD/SNMP Memory Template
- Change Cacti Group Format to Modern Theme
- Fix Locking on Graphs
- Force Image format to PNG for Legacy Graph Image
- Correct form Logic on Settings to Fix Reverse Proxy's
- Shorten Uptime Display on Device Edit
- Force a Locale Setting for i18n on Graphs
- Fix Resizable Columns to resize only the current column
- Add DropIcon selectmenu Widget to modern theme
- Fix Issue where delete data source multi leaves orphan records
- Correct performance bug in Boost engine
- Optimize array_to_sql_or performance
- Correct and issue where pushing out data query objects to host cache
could leave orphan elements
- Add OID_REWRITE_PATTERN Feature on input
- Add VALUE/REGEXP Feature on output
- Optimize strip_quotes function to be more intellegent
- Escape shell arguments on Script Data Input types
- Allow Special Characters for LDAP passwords
- Correct LDAP class defect for anonymous binding
- Bypass php-snmp for now
- Correct rrdcleaner bytes units
- Fix loadavg_multi.pl to respect i18n
- Remove legacy row counters from snmpagent pages
2015-03-23 17:02:45 -05:00
cigamit 3913c7fa98 Graph View Cog works and more
Graph View Cog works
CSV Output from Cog View
Render SVG Correctly
Properly Save Cookie in all pages
2015-03-01 20:34:48 -06:00
Tony Roman 4180035fe4 Fixed issue where thumbnails may not render do to comment graph item definitions
- Thanks Jeff Breitner for help finding this problem
2015-02-26 10:55:35 -05:00
cigamit 50dd27afcb Fix for Reports getting Permission Denied
Previous patch only went halfway to fixing the issue.  We needed to be
able to pass a user to rrdtool_function_graph as it was the one passing
that on to is_graph_allowed
2015-02-18 09:46:16 -06:00
browniebraun 3684e7ab8b - make use of rrdtool graphv
- a few bug fixes for JQueryZoom are still required to get it working again. :/
2015-02-06 00:06:15 +01:00
Jimmy Conner 82e6082856 Bug 0002526: CSV Export - Illegal string offsets
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7714 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-19 00:50:47 +00:00
Jimmy Conner 2fdbdc5a79 Bug 0002520: Graph debug - Undefined variable: stacked_columns
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7708 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-17 21:37:24 +00:00
Tony Roman 902ac97c7d Fixed and added:
1) Realtime integration complete
2) Added option to update sys OID's in spine and cmd.php
3) Updated poller as well
4) Made cmd.php argument processing sane
5) Remove one more 'rrdtool_graph' variant (aka Realtime)
6) Moved Realtime settings under Visual
7) Added some core Javascript utility functions
8) Added minimum width to dropdowns to make more appealing
9) Cleanup some redundant syntax in headers
10) Typos in format files


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7678 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-12 18:04:03 +00:00
Jimmy Conner c3772cd254 First initial port of realtime, still needs a bit more work
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7667 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-05 00:00:06 +00:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
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