Commit Graph
268 Commits
Author SHA1 Message Date
TheWitness 02c5144307 Refixing #4271 - Continued timeout of registered processes
The logic that was placed into the service check was flawed resulting in incorrect timestamps in the database.

I've yet to check the timeout handling.
2021-08-28 09:57:56 -04:00
netniV ed8cc7cd5f Fix minor issue with #4271 2021-05-21 16:51:10 +00:00
netniV cd632331a1 Another update for #4271 2021-05-20 00:43:46 +00:00
TheWitness 04ee69168c Fixing #4271 - Continued timeout of registered processes
By moving the calculation fully under SQL, this should solve the problem.
2021-05-18 20:37:37 -04:00
TheWitness b1686206a3 Correct two minor issues, one unchecked variable and one with a forced zone issue 2021-04-21 19:21:56 -04:00
TheWitness 92a5b0e27f Re-fixing Issue #4223
Parallel boost restart due to timeout can result in errors
2021-04-14 08:42:34 -04:00
TheWitness 3d62cf2723 Fixing #4223 - Parallel boost killing incorrect processes 2021-04-13 18:34:15 -04:00
TheWitness c21d0ba91b Final resolution to #4215
This change modifies logic slightly as follows:

1) Retry only twice for a connection (speed up the GUI in offline mode)
2) Don't update resource cache when in offline or recovery, you could downgrade yourself
3) Don't flush_boost() function if you are not a remote data collector
4) Better logging for automation to indicate offline or remote
2021-04-11 20:04:58 -04:00
TheWitness 0f987ca15a Two issues with db_fetch_cell*() with poller #4215 2021-04-10 15:19:45 -04:00
TheWitness 0be3134731 Fixing issue #4215 - Recovery performance
Poller recovery starts multiple processes and fails to recover properly
2021-04-10 10:09:06 -04:00
TheWitness 09a6001bfa Fixing Issue #4183 - Premature Process Timeout
Process control timing out processes pre-maturely
2021-03-20 05:40:27 -04:00
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
TheWitness 6940c53d8c Fixing Issue #3962
The Cacti Resource Cache in does not restore executable attributes on cli scripts
2020-11-28 10:57:55 -05:00
TheWitness f39e84fb31 Fixing Issue #3931
* forgot to handle the poller_reindex cache
2020-11-26 10:53:31 -05:00
TheWitness 4f88959c7a Fixing #3916 and #3915
This should get it.  Changed the logging just a bit.  Figured out what was happening.
2020-11-25 17:55:07 -05:00
TheWitness ef5a2995ef Double Commit for Items disappearing from poller cache
Issue is #3916
2020-11-22 13:24:25 -05:00
TheWitness 93dc93c9e4 Fixing Issue #3931, #3916
- Recache due to failed to get OID but SNMPWALK works
- Certain Device actions cause the removal of poller items from the remote data collector
2020-11-21 00:35:23 -05:00
TheWitness 52bb6ffda7 Remove all remaining instances to "sizeof(" or "count(" in code
* Some insances in the vendor directory have not been handled to maintain pedigree.
2020-10-21 08:27:42 -04:00
TheWitness 626e22c7b3 Minor change to #3693
Just a failsafe if the value comes back empty the first time a sync happens.
2020-10-17 14:41:42 -04:00
TheWitness a35b554b29 Fixing Issue #3693
Uptime Recache Event Loop on Devices Causing Interface Graph Gaps
2020-10-17 14:24:57 -04:00
TheWitness 1cabf42358 Fixing Issue #3760
Cacti V1.2.12 Devices showing blank after deleteing and Poller sync
2020-08-30 15:31:11 -04:00
TheWitness 73a86850d6 Revert "Fixing Issue #3260"
This reverts commit 6d118dc929.
2020-08-30 15:30:08 -04:00
TheWitness 6d118dc929 Fixing Issue #3260
Devices showing blank after deleteing and Poller sync
2020-08-30 15:29:24 -04:00
netniV 97a6475817 Poller functions may not run if processes table is missing (#3737)
Closes #3737
2020-08-02 21:59:08 +00:00
ddb4githubandJing Chen a71808c398 Fixed: some typo and syntax error (#3626)
Co-authored-by: Jing Chen <three_chenjing@sohu.com>
2020-06-18 18:05:50 +01:00
TheWitness cee5f34478 Fixing Issue #3261
* Turns out it was disabled by design.
* Confirmed it works.
* Additionally added the automation tables to the full sync.
* Also, remove orphans is enabled by default now.
2020-03-15 14:06:51 -04:00
TheWitness efa46bbcf6 More upgrade QA
* Upgrading from pre 1.x should properly work now with little or no errors.
2020-03-15 11:17:12 -04:00
TheWitness adf6a127e1 Minor update to #3261 2020-03-14 16:54:25 -04:00
TheWitness 5acf13371f Attempt to Fix #3315
AutoM8 does not create graphs when devices are added to remote poller
2020-03-14 16:45:53 -04:00
TheWitness 17cbcca945 Fixing Issue #3237
Report gets resent every poller cycle
2020-03-14 13:39:43 -04:00
cigamit 1be524ee24 More issues around #2937
Devices still show in cacti despite being deleted
2020-01-23 17:27:04 -06:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
cigamit 5e9433b030 Correct for undefined variable min_reindex_cache
This was disovered after a system reboot and a recovery activity.
2019-12-01 19:48:02 -06:00
cigamit cdf8664c4f Small logging issue with missing slash 2019-11-29 11:27:46 -06:00
cigamit 817b3b7732 Resolving Issue #3077
Allow disabling remote poller resource cache replication to support upgrade testing
2019-11-09 18:00:41 -06:00
cigamit 5e619f09b2 Resolving Issue #2979
Multi Output Field Parsing on Main Data Collector
2019-09-25 21:02:22 -05:00
cigamit 20c1f069d2 Additional exclusions
Recommended by @netniV
2019-07-01 18:29:25 -05:00
cigamit 232abfefbe Resolving Issue #2775
Data Queries for remotely managed devices fail to push updated data to main data collector
2019-06-30 12:10:50 -05:00
cigamit 7d5605b925 Resolving Issue #2782
When replicating the syslog plugin its config.php is missed causing issues
2019-06-30 10:49:54 -05:00
cigamit 8a6d100dd9 Resolved Issue #2741
Resolve a number of QA issues in various files
One additional fix for data debug as to default debug state
2019-06-22 09:23:29 -05:00
cigamit 29f00f8c46 Resolving Issue #2672
Cacti Install on Windows Fails
2019-05-07 22:30:41 -05:00
netniV a0950bf10e Revert "Honor php.ini when php is used in exec() and shell_exec() calls (#2652)"
This reverts commit 33641a9abb.
2019-04-29 12:45:02 +00:00
netniV 1c6139f667 Revert "Correct a few misqueues on #2652"
This reverts commit 3e3ba86f23.
2019-04-29 12:44:53 +00:00
netniV a2d3fd8776 Revert "WIP: php argument composition (#2653)"
This reverts commit 8a23ca33e3.
2019-04-29 12:43:03 +00:00
David Runge 8a23ca33e3 WIP: php argument composition (#2653)
* Moving all argument composition for backgrounded calls of php to 'assemble_php_args()' in /lib/functions.php.

* lib/functions.php: Explicitely prepending all assembled arguments.

* lib/functions.php: Removing an accidental appending of the initial args in assemble_php_args().
2019-04-29 13:38:17 +01:00
cigamit 3e3ba86f23 Correct a few misqueues on #2652 2019-04-27 11:48:57 -05:00
David Runge 33641a9abb Honor php.ini when php is used in exec() and shell_exec() calls (#2652)
* Introducing the prepending of the current php.ini file, if any, to the extra arguments of backgrounded php calls (used with exec_background).
This enables the backgrounded process to stay in the same environment as the main one and not default back to a system wide default configuration file (which might or might not have configurations setup properly).

* Prepending the current php.ini in use (if any) to any exec() or shell_exec() call, that is doing a backgrounded call of the php executable.

* graph_realtime.php: Fixing missing whitespace between executable and first argument.
2019-04-27 21:32:32 +06:00
cigamit e33687ef46 Resolving Issue #2635
Multiple Database Sync Issues in v1.2.x
2019-04-22 19:42:54 -05:00
cigamit 8c3c7e7bc7 Resolving Issue #2632
Automated Network Scans are Not Working
2019-04-17 22:17:47 -05:00
cigamit 468f96af74 Resolving Issue #2575
Poller errors occur if a file exists that the website cannot read
2019-03-27 07:09:26 -05:00