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
cigamit
ea90cdeafc
resolving bug#1820
2016-08-29 01:13:56 -05:00
cigamit
f6a1b83de3
dont archive archive/backup files
2016-08-28 17:49:09 -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
db444491af
bypass caching for multiple pollers on windows
...
short term solution until we can refocus on multiple pollers.
2016-08-27 16:34:36 -05:00
cigamit
f0a404de0f
attempt to revolve bug#2729
...
only the md5_file() errors.
2016-08-23 15:43:19 -05:00
cigamit
05086fe6f1
resolving bug#2190 and enhancing orphan check
2016-08-18 17:05:11 -05:00
cigamit
a9f9b67fb0
completing implementation of snmp session support
2016-08-17 21:46:10 -05:00