209 Commits
Author SHA1 Message Date
cigamit 562f69a885 Correct Typo 2016-12-28 14:52:13 -06:00
cigamit 034988a971 Audit for proper use of $config['poller_id'] vs. $poller_id 2016-12-28 12:24:13 -06:00
cigamit a004131eb6 Insure communications are using the right protocol http vs. https 2016-12-27 16:58:08 -06:00
cigamit 287b4ebbaa Resolving issues with ping and remote agent 2016-12-27 16:51:49 -06:00
cigamit bf459d8bff Resolve syntax error in api_device.php 2016-12-27 16:30:51 -06:00
cigamit 317ddbd08a Move ping_host() api to lib/api_device.php 2016-12-27 16:12:52 -06:00
cigamit 7269cbfd88 Committing prototype of replication api for team review
Part of multiple polling is to support either MySQL replication, or to
replicate tables requred for remote data collection.  These changes will
enable the later method, but are not complete.

The replicate_tables in lib/poller.php function is designed to handle
each of the table replecation types.  When complete, it will handle all
table replication based upon poller state.

There may be additional table schema changes to increase performance,
but those changes have not been validated yet.
2016-12-19 21:44:34 -06:00
cigamit 48616f976f Resolving https://github.com/Cacti/cacti/issues/85
Also, change logging from Host[] to Device[] per the standard.
2016-12-19 18:20:21 -06:00
cigamit 8f304f744c Add selection of Poller to Automation Device add
Also fix defaults for api_device_save since we start at id = 1 instead
of 0
2016-10-04 01:17:16 -05:00
cigamit c6eb8bf35b Fix bad logic for checking write permissions
ERROR: Unable to create directory due to missing write permissions
'rra/##'
2016-10-03 23:44:23 -05:00
cigamit e603a96995 Automation functions expect host/graph id instead of array 2016-10-03 03:06:46 -05:00
cigamit d0d5485160 allow resyncing device templates from that interface 2016-09-10 11:53:32 -05:00
cigamit a26b9fccb0 resolving bug#2751 2016-08-29 10:23:20 -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 2cbb662704 resolving bug#2239 2016-08-18 17:28:10 -05:00
cigamit 76d75b0de3 more snmp engine id changes 2016-08-17 20:53:34 -05:00
cigamit 247228c84e re-introducing site, and multiple pollers, major changes this will break your cacti!
note, the poller table is updated, see the cacti.sql, also the default
poller_id is now 1, so you need to review the file
install/0_8_8g_to_1_0_0.php for important changes.
2016-07-11 19:42:02 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
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