Commit Graph
41 Commits
Author SHA1 Message Date
Micke2k a637b7f709 Attempt at fixing rebuild poller cache sql error
Throws an sql error. Replace into cannot take a where statement.

05/13/2016 10:18:41 PM - CMDPHP SQL Backtrace: (/utilities.php: 38 repopulate_poller_cache)(/lib/utility.php: 53 api_data_source_cache_crc_update)(/lib/api_data_source.php: 31 db_execute_prepared)(/lib/database.php: 158 cacti_debug_backtrace)
05/13/2016 10:18:41 PM - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE name='data_source_cache_crc_0'' at line 1
05/13/2016 10:18:41 PM - CMDPHP ERROR: A DB Exec Failed!, Error:1064, SQL:"REPLACE INTO settings SET value = ? WHERE name='data_source_cache_crc_0''
2016-05-13 22:28:15 +04:00
cigamit db89bdc185 add crc functions to inform remote pollers of changes 2016-05-10 21:30:42 -05:00
cigamit 2565b824a9 remove spurious log message 2016-04-09 20:19:03 -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
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
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
Andreas Braun 3394fc10ca -execution of snmpagent_api_device_new() missing
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7670 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-05 19:37:10 +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 8831aa88ac A little bit of cleanup
Change double quotes to single quotes where possible
Move to prepared statements were possible

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7601 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 06:30:15 +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
Jimmy Conner b421b97cbd Bug #0002383 : Sanitize the step and id variables
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7420 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-08-18 03:41:24 +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
Tony Roman eb6d70b14e Apply patch for snmpv3 priv proto none
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7225 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-06-03 04:52:33 +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 e0fd0e74ae Fix input validation on cli/api_device.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7012 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 02:33:52 +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 ead1c7c525 Backport -feature#0001519: spine enhancement for parallel collection of data at device level
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6280 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-03 01:41:35 +00:00
Reinhard Scheck 6292939407 missing include
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6264 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-30 10:54:11 +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
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
Jimmy Conner 4e810b1a9c -bug: SNMP v3 Password issue caused by Firefox's Password AutoFill
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5014 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-05-08 04:47:06 +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 c14997be6d -feature: Allow for specification of a default reindex method
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4782 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-11-01 11:29: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 2bf0be7b55 -bug#0001103: Looping poller recache events
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4366 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-11-27 01:09:10 +00:00
Jimmy Conner 26cd149331 -bug#0001073: Max OIDS is not saved in device view
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4314 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-11-08 03:18:49 +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
Ian Berry dc79d05ae6 - fix undefined $class variable error
- reduce the size of the notes field on the device edit screen
- fix bug saving the ping timeout and retries fields on the device edit screen
--Th lin, and those below, will be ignored--

M    cacti/lib/api_device.php
M    cacti/lib/html_form.php
M    cacti/include/global_form.php


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4099 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-01 16:16:10 +00:00
Larry Adams e47927ec03 -feature: Add SNMPv3 Support to Cacti
-feature: Add a Notes field to the Device that can contain arbitrary information
-feature: Add Availability Methods to Cacti including per Host Ping Methods and Timeouts
-feature: Add Max OID's to te Host Level


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4096 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-28 03:34:54 +00:00
Larry Adams 67b7f30ac4 Required change in order to add ID tags to form objects.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4091 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-25 17:39:42 +00:00
Larry Adams 63eeeb7784 Add functions to speed up host deletion. Data Sources and Graphs to be completed yet.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4014 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-08 21:58:36 +00:00
Tony Roman e625781ec6 Typos suck and I'm glad I have a script to update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3898 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:17:57 +00:00
Tony Roman 8ff975973a Proper date range needed in copyright
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3896 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:11:14 +00:00
Tony Roman e116f23ff7 Copyright update for php files
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3894 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 19:30:21 +00:00
Jimmy Conner cd056b51bd Bug Fix as reported to devel list.
-bug#0000672: When creating a device, the Host Template was not properly validated

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3536 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-01-31 00:42:45 +00:00
Larry Adams 82b4c08862 correct bug where items remained in the poller_reindex table even after the source was deleted.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3077 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-07-18 03:06:11 +00:00
Ian Berry 0a101b9105 use DATA_QUERY_AUTOINDEX_BACKWARDS_UPTIME as the default reindex method
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1847 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-25 04:22:13 +00:00
Ian Berry 7d99df8f17 impliment form_save() as api_device_save()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1608 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-24 19:14:06 +00:00
Ian Berry b2be86960d impliment basic device filtering/host template grouping (bug#0000152)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1604 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-24 04:22:54 +00:00