Commit Graph
80 Commits
Author SHA1 Message Date
cigamit e6f62e4395 Resolving Issue #1182
Support noAuthNoPriv for SNMPv3 in Cacti
2018-01-06 18:12:25 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
Browniebraun ec4b6d3ff4 usage of get_default_contextoption 2017-11-13 15:12:20 +01:00
cigamit fbbcedd378 Resolving Issue #1053
- Remote Data Collector issues with https and self signed certificates.
- Some spurious backport of html_escape() calls
2017-11-04 15:36:24 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
Patrick c3419aa36e Various fixes && Updated Translations (#1032)
Good catch on the bug fixes too.  Hard to spot.
_______________________________________________________

* Updated Dutch translations
- Fixed i18n

* Defined fields in queries

* Fixed changelog

* Updated Dutch translations

* Various fixes

All committed files:
- true|false to lowercase

add_perms.php:
- displayGroups() was undefined

add_tree.php:
- duplicate case for '--quiet'

repair_templates.php:
- correction function call to diaplay_version()

gettext.php:
- PHP EOF unneeded

* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file

* Updated Dutch translations
- Fixed conflicts in translations
2017-10-15 07:27:25 -05:00
Tony Roman 113af21033 Revert "1.) Added new functionality: clicking 'Syncing to Device Template' will now remove unused graph templates not assigned to the device template 2.) Added some comments"
This revert commit 8b5cbeb9ff.

This change will be merged into 1.2.x feature branch as develop is in maintence mode
2017-09-10 21:34:47 -04:00
Paul Calabro 8b5cbeb9ff 1.) Added new functionality: clicking 'Syncing to Device Template' will now remove unused graph templates not assigned to the device template 2.) Added some comments 2017-09-07 20:05:06 -07:00
cigamit 8030e301a7 Remove debug statment from api_device.php 2017-08-05 10:52:07 -05:00
Paul Calabro 329ee1b46c Update api_device.php
The only two documented fields required for the add_devices.php script are description and ip, however, form_input_validate is expecting a non-null value for the optional host_template_id field. This results in a "ERROR: Failed to add this device" error message.
2017-07-25 22:38:12 -07:00
cigamit 611b4d4e49 Resolving Issue #802
Issue updating device hostname with SNMP data queries
2017-06-08 06:07:08 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit 1cfe51dd80 Eliminate un-needed function 2017-04-22 07:17:06 -05:00
cigamit 68de7dac4a SQL Error with row deletion 2017-03-25 08:03:25 -05:00
cigamit 201bc6ecee Resolving Issue #469
Allow changing of Re-Index Method from Device Edit
Updating ChangeLog from other commit
2017-03-24 22:49:04 -05:00
cigamit 2e33bc95b2 Resolving Feature #197
External ID in Cacti
2017-03-11 10:43:39 -06:00
cigamit c1801a7a2a Resolving Issue #296
Poller warning for Non-SNMP devices
2017-03-04 15:23:44 -06:00
cigamit 9c69f3a7fe Resolving Issue #231
If the snmp auth passphrase is < 8 bytes, generate an error.  Also,
rename the '$proto' variable to '$sec_level' to avoid confusion.
2017-02-01 07:39:14 -06:00
cigamit a8c560966a Correcting spelling and grammar issues 2017-01-12 19:09:16 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 75a62ffdac Correct some program flow issues with remote ping 2016-12-28 15:22:18 -06:00
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