Commit Graph
82 Commits
Author SHA1 Message Date
cigamit 8fcb850809 updates to data query parsing
1) add snmp session and snmp context engine id support for PHP 5.4+
2) add rewrite handing courtesy Boris Lytochkin
3) fix some horribly broken logic
2016-08-17 19:40:51 -05:00
cigamit 37d815666c prevent some sql errors 2016-06-18 15:20:09 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
cigamit a6b9d168f1 correcting some fatal error 2016-05-13 09:27:02 -05:00
cigamit 6639cef5cb significant improvement in automation
devices should be created and graph automation rules executed with this
change.  still need to validate tree rule creation.  the scope include
initial device creation, and any network scanning.
2016-02-16 20:44:28 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
Sjon Hortensius 6b59311307 Use microtime(true) instead of manual explode. Also fixes a few uses of deprecated split-method 2016-01-26 09:55:19 +01:00
cigamit 0afd7a3948 improve re-index performance
improve re-index performance by ~70 percent
some double quotes to single quotes
some conversion to prepared statements
2015-05-25 10:38:50 -05:00
cigamit d26bc03225 update Verbose Query output
adding additional timing and visibility settings for Verbose Queries at
the host level. moving some javascript around in order to group script
data.
2015-05-18 21:11:03 -05:00
cigamit 97dd0375a6 rather large automation commit
large automation commit.  table changes and upgrade process will be
committed separately
2015-05-17 20:17:09 -05:00
cigamit f92ae63273 Fixin' the line indention to match 0.8.8d
Just line indention, no other changes were made
2015-04-06 09:19:31 -05:00
cigamit 1340f5c31d Automation Merge 1 of 2
- Merging automation Phase I which only includes the Autom8 plugin.
Phase II will included an enhanced discovery plugin.
- Also reworked the cacti_log function to specify a level in order to
streamline code
- Converted poller functions to still include Poller[xx], but all others
will not
- More conversion of double to single quotes
2015-04-03 18:27:54 -05: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
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
Jeff Pasnak fa0e971385 #0002492 - Standardize mysql syntax - start of lib
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7615 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-26 19:32:18 +00:00
Jimmy Conner 7e28035cfe Correct some missed $cnn->qstr references
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7578 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-18 08:56:55 +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
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
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 601e23fdc3 -bug#0002182: When there is no sutable (unique) index, graphs are not shown in data query ordering on host leafs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7046 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-03-09 16:13:17 +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
Larry Adams efb0714a09 -bug: Resolve 'Fatal error: Cannot use string offset as an array' in lib/data_query.php
Note: Already fixed in main.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6942 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-11-26 00:31:07 +00:00
Reinhard Scheck d42276dda4 -bug: wrong index used for Data Queries using VALUE/REGEXP
e.g. hrStorageTable

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6929 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-11-17 18:10:32 +00:00
Larry Adams 74b1a4701f QA: Remove white-space from file.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6392 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-07-04 19:37:55 +00:00
Reinhard Scheck e89adcacc2 better text for oid/arg_num_indexes on "Verbose Query"
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6238 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 21:18:04 +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 92fe9a1d56 -feature: Make reindexing and repopulating the poller cache a lossless process, reduce time to index by 66%
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6227 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-19 23:44:21 +00:00
Reinhard Scheck 7e11c69b94 fix for
feature#0001924: Allow for reindex method "Index Count Changed" to apply to script (server) queries as well

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6224 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-16 15:49:39 +00:00
Reinhard Scheck 51601b2d09 removing debugging entries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6218 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-11 21:25:27 +00:00
Reinhard Scheck 23fbb854e8 -bug#0001678: Adding graphs to a device fails to add entries to poller_item if using the script server
Problem resolved by better checks for <index_order> field

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6216 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-11 20:47:44 +00:00
Reinhard Scheck 33d8dea5d1 -feature#0001922: Reindex method "Index Count Changed" requires that OID_NUM_INDEXES is given for SNMP Data Queries
-feature#0001923: Implement counting for script (server) data queries just like OID_NUM_INDEXES
-feature#0001924: Allow for reindex method "Index Count Changed" to apply to script (server) queries as well

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6212 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-11 20:08:27 +00:00
Reinhard Scheck ab5de1ed1e better (and correct) printout for script (server) queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6211 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-10 22:08:25 +00:00
Reinhard Scheck e1332d7819 make both files consistent when it comes to preg_match
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6201 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:08:17 +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
Larry Adams f02ef1b217 -bug: Add some command escaping
-bug: Change default font sizes

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6134 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-11-26 01:34:54 +00:00
Reinhard Scheck 3c8bd4255c 0001794: html tags on management lists are escaped
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6050 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-07-10 11:59:33 +00:00
Reinhard Scheck 0378da60d0 0001747: oid_suffix doesn't work for direction input
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5971 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-03 20:27:19 +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 e0a3417988 -bug#0001467: Customisable oid index parse regexp for weird MIBs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5121 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-06-25 14:59:56 +00:00
Larry Adams c8fe8384d8 -bug#0001460: Skiping input parameters in data_query_field_list() may lead to SQL errors
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5120 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-06-25 14:54:27 +00:00
Larry Adams 13be4c59e2 -bug#0001345: Overwriting $snmp_index in query_snmp_host() breaks SNMP Data query if using get method
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5119 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-06-25 14:47:49 +00:00
Tony Roman 26d1957d62 Update copyright to 2009
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4931 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-11 22:53:50 +00:00
Larry Adams 0436dae033 -QA: Tweak for Additional OperStatus
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4915 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-08 20:34:33 +00:00
Reinhard Scheck 5819879dd7 patch #4424 now for 087 as well
Special care will have to be taken on users of "cacti_snmp_walk". This function now has the additional parameter "max_oids".

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4602 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-14 09:46:07 +00:00
Reinhard Scheck 9c83d55c53 -feature: Add some more debug lines to Data Query debugging (Verbose Query)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4574 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-04-26 09:41:22 +00:00
Larry Adams 22f9e12ddb Update Copyright Notice for 2008.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4434 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 00:40:43 +00:00
Larry Adams 2056d3c744 2 QA Issues Identified in CentOS5 for Data Queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4243 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-14 23:18:50 +00:00
Larry Adams a0fa2698d5 -bug#0000829: JVM, Spike detection and Poller
-bug#0001002: Cacti reports incomplete interface status'


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4158 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 05:04:41 +00:00
Larry Adams 64efe41d43 Add support for snmpV3 context's.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4152 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 01:17:39 +00:00