Commit Graph
164 Commits
Author SHA1 Message Date
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
Patrick 4bc2f4c0bc Various updates (#1073)
* 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

* Fixed warnings in graph_view

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

* Updated Dutch translations
- Fixed conflicts in translations

* Various fixes
- Changed array access identifiers
- Fixed some code layout changes
- Fixed one i18n entry in api_automation.php

* Updated changelog

* Layout changes (tab instead of spaces)

* Layout changes (tab instead of spaces)

* Various fixes
- Changed array access identifiers
- Fixed some code layout changes

* Some fixes for better querying

* Layout change only

* Updated Dutch translations

* Updated changelog

* Updated changelog

* Fixed upgrade script 1_1_28.zip

* Few final fixes after CR or changes

* Updated Dutch translations
2017-11-11 05:45:12 -06: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
cigamit 9a9eb3c941 Resolving Issue #1003
Redirecting standard output and error to the console causes poller
slowdowns.
2017-10-11 18:11:37 -05:00
cigamit bfb10e2e60 Resolving Issue #995
Redirecting stnadard output to /dev/null causing issues with Report
sending
2017-09-23 06:45:52 -05:00
cigamit d9eb268179 Resolving Issue #970
- Resource Cache does not properly cache in plugin sub-directores on
remote data collectors.
- Adding small feature to allow purging/rebuilding of the resource cache
from the Cacti Utilities page
- Backporting some html_escape() function calls replacing
htmlspecialchars() on the Utilities page due to scope of change.
- Updating cacti.pot due to minor feature enhancement.
2017-09-17 09:35:45 -05:00
cigamit 37c001c945 Resolving Issue #642
RRA not written or WARNING: Poller Output Table not Empty for non
templated data sources
2017-07-02 14:02:06 -05:00
cigamit ac652e4df8 feature: Allow plugins to exclude files and directories from their remote poller syncronization process
Format is "nosync: directory1, directory2, *.extension1, *.extension2,
..."
2017-07-02 11:54:14 -05:00
patrick 16e2b7c052 Replaced all if statements and inline if statement with $variable != '' where strlen($variable) was used to determine if a string was empty or not 2017-05-18 01:14:15 +02:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
Patrick 623611cd16 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed unnecessary reset() calls used for resetting pointers of an array before iterating by a foreach() loop
2017-04-18 14:40:29 +02:00
cigamit 10a45da3f6 Resolving Issue #449
exec_poll_php does not flush pipes when using script server
2017-03-18 14:59:02 -05:00
cigamit 4d484b4af3 When executing a Full Sync, if the table structured has changed, recreate the remote table 2017-03-12 11:39:30 -05:00
cigamit 2cb77cda24 Minor cleanup after Pull Request #352 2017-03-11 07:13:52 -06:00
earendilfr 72a4c7a794 second part of lib/poller.php fix with the db_qstr for the other choice (DATA_INPUT_TYPE_SCRIPT_QUERY) 2017-03-08 20:37:00 +01:00
earendilfr 6b0643c3af Fix the error in merge request #352 :
* the $index_recache string already contains the / separator. I don't need to add in preg_match function
* some errors in the methods to take in count the storage of the modified value
* a cosmetic change that permit to clean the debug value in debug_log_return function after the display
* a change in poller function that fixe an error when your index field in the XML file is a fake index oid
2017-03-07 22:50:06 +01:00
cigamit 8613674014 Ignore .git folder in resource cache replication 2017-02-07 19:31:35 -06:00
cigamit 6f145e83a3 Fix for remote poller - is_writable
is_writable returns false if the file doesn't already exist
2017-01-22 02:28:42 -06:00
cigamit 836a8b0f56 More Remote Data Collector testing 2017-01-16 15:45:46 -06:00
cigamit 168b7b1023 Offline mode testing 2017-01-16 14:59:43 -06:00
cigamit a52102b6eb Don't update the resource cache unless you have multiple data collectors 2017-01-16 11:46:38 -06:00
cigamit 0987286f4a Resolving Issue #209
This adds more checks before we attempt to output data.  The remote data
collector user will need write access to these files.  But at least we
won't crash if they are not updated now.  Also, if you test the poller
by another user, the temp file will always te unlinked now.
2017-01-15 09:38:45 -06:00
cigamit cddf910b38 Make data staging actions more consistent
This should be a function, but not today.
2017-01-13 06:34:14 -06:00
cigamit 2774972834 Exclude more files from resource cache 2017-01-12 19:47:01 -06:00
cigamit 23ad901594 Another small fix to correct log errors 2017-01-10 21:02:01 -06:00
cigamit 187f0881fc Wrong directory permissions on create 2017-01-10 20:39:46 -06:00
cigamit 542627a1c8 Two issues
1) Adjust for differing table sizes
2) Include the settings table
2017-01-08 12:33:26 -06:00
cigamit f3147f8058 Exclude *.exe and *.pack
These files in weathermap are quite large, and are being excluded.  This
is relative to issue #148
2017-01-07 10:34:24 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 9df14a470a Include images in stage out 2017-01-01 11:46:03 -06:00
cigamit 2693e6ea89 More table replication for data query execution 2016-12-30 18:21:39 -06:00
cigamit a01d01a599 Fix one open issue and introduce force push
For push allows you to forcibly push the database configuration to the
remote poller in cases where you need to use 'offline' mode.
2016-12-29 15:16:14 -06:00
Bernhard M 2ea1167cd2 Update poller.php
change from String to Array value, to fix multi field problem.
2016-12-29 22:00:31 +01:00
cigamit 62ae15cdfb Correcting sql error 2016-12-29 12:05:03 -06:00
cigamit b52164e5f4 Resolving #103
https://github.com/Cacti/cacti/issues/103
2016-12-29 11:53:17 -06:00
cigamit d548201c97 Address realtime issues do to remote polling introduction 2016-12-28 21:59:27 -06:00
cigamit 2d92945dee Updates for remote pollers. 2016-12-27 19:57:09 -06:00
cigamit c5e1e8a0b3 Updates for remote polling
Note that you will need to rerun you database upgrade after thsese
changes.  Some a new table and some new columns have been added to
support remote polling and if you don't make these database changes,
your Cacti system may stop operating.
2016-12-26 17:00:07 -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 17be94622a Copy and paste error 2016-10-19 23:03:15 -05:00
cigamit 9cc2897c02 Pathinfo doesn't work on nonexistant files 2016-10-19 22:50:07 -05:00
cigamit 8ec337b652 Don't pull resource contents if not needed
Saves a lot of bandwidth
Also only base64_decode it once
2016-10-19 22:23:06 -05:00
cigamit 784731e562 Fix php path 2016-10-19 03:41:49 -05:00
cigamit 6ec10297d7 Fix writing of resource cache 2016-10-19 03:17:41 -05:00
cigamit 29a24e4ca6 Don't override the config.php 2016-10-19 02:43:34 -05:00
cigamit 1dd2420541 Main Poller ID is 1 not 0 2016-10-19 02:37:39 -05:00
cigamit c2d6c8086d don't sync archive and ttf files 2016-09-16 06:49:31 -05:00
cigamit f60e04a7ce attempted fix for bug#2782 2016-09-12 21:24:10 -05:00
cigamit 0f9aee52bc missed some updates 2016-09-02 13:18:18 -05:00