Commit Graph
11490 Commits
Author SHA1 Message Date
netniV d9dfc20428 Misspelling in SNMP Authentication (#4407) 2021-09-25 01:15:44 +00:00
TheWitness 110ddb8647 More robust resolution to #4403
This solution should address all the current oddball timezones.
2021-09-19 16:00:20 -04:00
TheWitness 29a21899b6 partial resolution to #4403 timezone detectinon
This is only a partial fix in that the PHP zone support does not provide a good body of GMT option including the 30 and 45 minute past types.
2021-09-19 15:29:27 -04:00
TheWitness 11f23ccbde Minor logging updates 2021-09-15 08:10:51 -04:00
TheWitness 4105f15dd8 Correcting issues related to #4396
Moving this to a common function.  We still need discussion on when it's best to perform table maintenance for tables like the `poller_output` table, that when this table is InnoDB, it can become fragmented, though empty and that free space can not be released without an optimize operation, which for InnoDB tables can take some time.
2021-09-15 07:28:29 -04:00
TheWitness 33506cd2c0 Fixing Issue #4352 Undefined Indexes
Second attempt after testing
2021-09-14 20:53:35 -04:00
TheWitness 4028c85e5e Fixing Issue #4352 Undefined Indexes
Undefined indexes experienced when attempting to create graph from template
2021-09-14 20:44:55 -04:00
Jian JinandTheWitness 65b2620641 Fix issue #4396 (#4397)
* Update CHANGELOG

* Update poller.php

* Minor spaces to tabs formatting change

Co-authored-by: TheWitness <thewitness@cacti.net>
2021-09-10 08:32:48 -04:00
TheWitness 63e1998aab Minor update related to #4390
This allows $ret calls that were initially empty to not trigger an error.  This was applicable for the graph refresh hook that, if the user has no default setting, will initialize as null.
2021-09-08 18:55:52 -04:00
TheWitness b69f1ee34d Fixing Issue #3787 - AES256/SHA256 Support
* Add SHA256 and AES256 for snmp polling
* This is also added to spine
2021-09-08 00:22:29 -04:00
TheWitness 53cecbf3e9 Correct syntax error in poller_automation.php 2021-09-07 21:52:08 -04:00
TheWitness 7ea616b73c Fixing issue #4391 - Boost errors
When system level polling is disabled Boost shows poller crashed errors and creates many arch tables
2021-09-07 10:56:44 -04:00
TheWitness 34cb8dbe42 -feature: Add a normal/wrap class for general use 2021-09-07 09:32:21 -04:00
TheWitness 888707aeca Fixing Issue #4390 - Add Plugin Chaining Warnings
The plugin API should detect when plugins are not behaving properly with return variables required for chaining
2021-09-06 12:28:47 -04:00
netniV eee9ae193f Fix CHANGELOG for #4353 2021-09-05 15:52:42 +00:00
dwpaulx 2cae4cad8b Issue #4347 : Workaround PHP race that results in hanging rrdtool processes (#4348)
There is a race in proc_open in PHP that is currently not avoided by
setting FD_CLOEXEC on the pipe file descriptors (with the 'e' flag for
the pipes). What happens, in a multithreaded Apache environment, when
multiple rrdtools are attempted to be launched (for example, when a lot
of graphs are requested at once) is this:

Thread 1: creates pipes for stdin/stdout
Thread 2: creates pipes for stdin/stdout
Thread 1: forks process x
Thread 2: forks process y
Process x: inherits pipes from Thread 1 and Thread 2
Process y: inherits pipes from Thread 1 and Thread 2
Process x: closes 'other side' of pipes from Thread 1
Process x: executes rrdtool
Thread 1: closes 'other side' of its pipes
Thread 1: writes command to rrdtool (no trailing newline)
Thread 1: closes stdin pipe to Process x
Process x: receives command from Thread 1
Process x: waits for more data, or stdin to close
Process x: hangs, because the pipe is still open in Process y
Thread 1: waits for data from rrdtool, which never comes
(meanwhile, the same thing happens between Thread 2 and Process y)

This is really a PHP bug, and I'll see if there's a possibility to get
that fixed there, but this at least fixes the problem by allowing
rrdtool to exit, itself, instead of waiting for stdin to be closed.
2021-09-05 15:44:03 +00:00
Browniebraun 628f01cd81 update colors
most changes for light mode and light compact mode
2021-09-05 17:42:35 +02:00
Browniebraun 153f84c6d8 renaming GUI Modes
next-gen becomes compact and legacy becomes standard.
2021-09-05 17:03:40 +02:00
Sean Mancini d422969a47 add addiitonal admin email notifications (#4385) 2021-09-02 00:54:03 +01:00
Greg ORIOL b314a6fcb9 Additional fixes of error callbacks for php 8.0+ after #4383 (#4386) 2021-08-31 13:18:52 +01:00
Jing Chen 2246b42400 Update CHANGELOG to append CVE number for #3549 (#4387) 2021-08-31 13:18:19 +01:00
netniV 863d185b27 SNMP Agent may not find a cache item (#4382)
Closes #4382
2021-08-31 02:27:26 +00:00
TheWitness 03c6687949 Merge branch 'master' into 1.2.x 2021-08-29 11:43:21 -04:00
Greg ORIOL 59d929acc7 Fixes error callbacks for php 8.0+ on 1.2.x (#4383)
* Fixes error callbacks for php 8.0+

* Adds changelog entry for #4383
2021-08-29 10:35:08 -04:00
TheWitness 1b6f51589b Double Commit of #4341
This was already committed to the master branch.  Committing here too.
2021-08-28 18:42:01 -04:00
adb6d80841 Add a 15 minute polling/sampling interval (#4344)
* Add a 15 minute polling/sampling interval

* Update CHANGELOG

Co-authored-by: Erik Sejr <eriks@ssimicro.com>
Co-authored-by: erik <erik@localhost.localdomain>
Co-authored-by: TheWitness <thewitness@cacti.net>
2021-08-28 18:25:22 -04:00
TheWitness 7fb6beea8a Update of CHANGELOG for #4375 2021-08-28 18:01:12 -04:00
TheWitness 632221e314 Fixing Issue #4381 - Fatal Errors Committing when not in transaction
Fatal Errors can occur if you are not in a transaction and you attempt to commit one
2021-08-28 17:59:17 -04:00
Petr Macek 902027a9a6 fix plugin directory name with capital letter at the beginning (#4370) 2021-08-28 15:49:00 -04:00
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
TheWitness 7646e44af7 Fixing Issue #4375 - Remove lingering poller_output items from main poller
When poller_output table is filling over time on the main poller, it can wind up into a critical situation blocking boost
2021-08-27 16:13:30 -04:00
Petr Macek 23955c07e5 display at least username when full name is empty (#4367) 2021-08-27 14:48:35 +01:00
Petr Macek be13b75b8d fix#4353 (#4355) 2021-08-18 12:38:10 +01:00
Weblate 6ca5536119 Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: Cacti/core (v1.2.x)
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
2021-07-23 06:47:52 -05:00
WeblateandSergey 1fdd7ea66f Translated using Weblate (Russian)
Currently translated at 23.8% (1006 of 4221 strings)

Co-authored-by: Sergey <sbolshagin@gmail.com>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/ru/
Translation: Cacti/core (v1.2.x)
2021-07-23 06:47:52 -05:00
Weblate 0f7926bead Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: Cacti/core (v1.2.x)
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
2021-07-19 15:34:55 -05:00
WeblateandSergey 63d2b5e39c Translated using Weblate (Russian)
Currently translated at 23.8% (1006 of 4221 strings)

Co-authored-by: Sergey <sbolshagin@gmail.com>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/ru/
Translation: Cacti/core (v1.2.x)
2021-07-19 15:34:55 -05:00
netniV 37c0b85465 Missing sequence field leads to errors in system logs (#4341) 2021-07-09 11:16:42 +00:00
netniV 60ab50a131 Undefined variable realtimeArray in JavaScript (#4343) 2021-07-09 11:12:56 +00:00
netniV 3347e0a8c3 Tree Graph shows same highlighting as graph edit screen (#4342) 2021-07-09 11:01:30 +00:00
netniV fc4e8876d9 Preparing for 1.2.18 release release/1.2.18 2021-07-04 21:15:33 +00:00
Petr Macek e4926ebcb0 fix ipv6 ping, freebsd ping paramters (#4333)
* fix ipv6 ping, freebsd ping paramters

* update
2021-07-02 21:19:36 -04:00
TheWitness 183b334976 Fixing #4293 - Searching for host in site
Tree search does not take hosts belonging to a site into account
2021-07-01 16:47:12 -04:00
TheWitness af5360e44b Cacti not correctly remembering the status of the menu between navigations/logins 2021-07-01 14:14:36 -04:00
TheWitness 9355593845 Turn on Data Source Validation function when Data Source Trace is enabled
Also getting some of the comments in proper phpDocumentation style.  I feel I've been here before.
2021-07-01 13:02:09 -04:00
TheWitness 9c1be3a6a4 Additional fix to #4297
Missed one preg_quote() removal
2021-07-01 12:04:06 -04:00
netniV e73862ec47 Automation attempts to call undefined debug function (#4330)
Closes #4330
2021-06-30 02:36:15 +00:00
netniV 6cf5be098b Fix typo on previous commit 2021-06-28 14:38:06 +00:00
netniV 283c2ab76f Fixes for #4324, #4325, #4326
issue#4324: Date/Time format of replacement fild on graph cannot be changed
issue#4325: Make identifying rows when editing graph items easier
issue#4326: When using large lists, selection is visible in dropdown menus
2021-06-27 20:43:13 +00:00
netniV 06e46f4d6b Fix display message on data query graph add failure 2021-06-27 19:13:06 +00:00