Commit Graph
13006 Commits
Author SHA1 Message Date
TheWitness 45d2801164 Updating ChangLog for #4738 2022-11-24 13:12:05 -05:00
Jing Chen 5efe3f2ac0 Update three fiels for PHP error under PHP 8.x (#4738) 2022-11-24 13:11:39 -05:00
TheWitness 9bbb3e39b7 Fixing #5018 - Unexpected auto-logout
It is possible in some rare cases to have 'remember me' enabled and still be logged out after a browser timeout
2022-11-24 13:09:24 -05:00
TheWitness d9de71ab47 Fixing #5017 - snmpagent warnings
Undefined array key and Rounding causes errors
2022-11-24 11:56:56 -05:00
TheWitness de68a5d10b QA: Additional Multiselect touch ups 2022-11-24 11:43:16 -05:00
TheWitness ff193e0c2d QA: Multi-select header adjustment 2022-11-24 10:44:37 -05:00
TheWitness ece80d454e QA: Multiselect alignment 2022-11-24 10:39:41 -05:00
TheWitness b68d8d89b9 QA: Fix undefined index
Related to recent nth percentile function update.
2022-11-24 10:16:09 -05:00
TheWitness 5ecfe1d0dd Update to support Ukrainian 2022-11-24 10:15:17 -05:00
TheWitness 0ae35422cc QA: #4926 - One missed change
This missed change will reconcile any issues with client timezone support.
2022-11-23 18:58:46 -05:00
TheWitness ef85619a37 QA on #4989
Add device caching options for changing state
2022-11-20 13:28:40 -05:00
TheWitness 17495a4d09 Add additional ignore handler
For for MikroTik fsockopen() calls
2022-11-20 13:22:15 -05:00
TheWitness a28d4e45d5 QA: In "clean_up_*" functions 2022-11-20 13:16:55 -05:00
TheWitness 7d2d1bd5aa Update CHANGELOG for #5012 2022-11-20 13:11:08 -05:00
Jing ChenandTheWitness 546d002c7b Fixed three error for PHP 8 when execute cli/upgrade_database.php (#5012)
* Fixed: get_rrdtool_version report str_replace error if rrdtool_version does not exist
Fixed: move global static $phperrors before other error-able function call
Fixed: file_exists report error if path_spine is not configured

* Fix PHP5.4 Error

Co-authored-by: TheWitness <thewitness@cacti.net>
2022-11-20 13:10:17 -05:00
TheWitness 10895f4052 Fixing Issue #5013 - Auto-Detect bulk size
Cacti Bulk Walk Size of 'Auto-detect at First Reindex' not working
2022-11-20 13:08:56 -05:00
TheWitness 0231786b26 QA: Remove duplicate code 2022-11-20 13:03:07 -05:00
TheWitness cfccedda1f Fixing #5006 - CDEF/VDEF Items
Cannot delete vdef and cdef item (in theme paw) - php error
2022-11-17 21:42:22 -05:00
TheWitness 6f4780389c Fixing #3578 - Automatic Reindex
Scheduled Automatic Re-indexing of Devices
2022-11-17 20:30:45 -05:00
TheWitness cebe01e655 Updating CHANGELOG 2022-11-16 22:13:43 -05:00
TheWitness e5033df860 QA: Syntax Error 2022-11-16 22:07:45 -05:00
TheWitness 8ecbb4670f More Classes for #4957 2022-11-16 22:06:11 -05:00
TheWitness 59e05005a7 Fixing #4994 - Boost Issues
* The user needs to pull both lib/boost.php and poller_boost.php from the 1.2.x branch.
2022-11-16 18:38:04 -05:00
gadzet21 537c500bb4 Adding a new method for use in xml files: value_parse_index (#5009)
* Adding a new method for use in xml files: value_parse_index

Add a new definition in xml files: value_parse_index
* What introduces the change:
- we add a new definition in xml files: <value_parse_index>

* What do we gain:
- we optimize the list of returned data by the method: "Get SNMP Data"
- we can better match the list in data query with what we want to see
- fewer records in the host_snmp_cache table
- we will increase the speed of returned data:
  - get method: for slow devices or a slow connection, a large list of returned data, only a few of which we care about
  - walk method: for fast devices and links

* Example:
<interface>
<name>Get SNMP Interfaces - CMTS Upstream</name>
<description>Queries a host for a list of interfaces for CMTS, only Upstreams</description>
<oid_index>.1.3.6.1.2.1.2.2.1.3</oid_index>
<value_index_parse>VALUE/REGEXP:129|205</value_index_parse>
<oid_index_parse>OID/REGEXP:.*\.([0-9]+)$</oid_index_parse>
<index_order>ifIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<ifIndex>
	<name>Index</name>
	<source>index</source>
	<direction>input</direction>
</ifIndex>
<ifType>
<name>Type</name>
	<method>walk</method>
	<source>value</source>
	<direction>input</direction>
	<oid>.1.3.6.1.2.1.2.2.1.3</oid>
</ifType>
<ifInOctets>
	<name>Bytes In</name>
	<method>walk</method>
	<source>value</source>
	<direction>output</direction>
	<oid>.1.3.6.1.2.1.2.2.1.10</oid>
</ifInOctets>
</fields>
</interface>
It will only show us a list of upstream interfaces.

You can also like this:
<oid_index>.1.3.6.1.2.1.2.2.1.8</oid_index>
<value_index_parse>VALUE/REGEXP:1</value_index_parse>
It will only show the interfaces in the up status.

The new definition works for the methods: get and walk.

CMTS devices can have many interfaces (e.g. cbr 130,000 interfaces), a user who wants to reduce the number of entries can use this definition.

In my cacti there are over 30 million records in the host_snmp_cache table, this change will reduce that amount.

* ChangeLog Update for pull requests Cacti#5009

Adding a new method for use in xml files: value_parse_index
<value_parse_index>VALUE/REGEXP:</value_parse_index>
2022-11-16 13:26:31 -05:00
TheWitness eca6f28a03 Merge branch '1.2.x' of https://github.com/Cacti/cacti into 1.2.x 2022-11-15 20:24:52 -05:00
TheWitness c70d17e13a QA: Improve stripping of header suppression 2022-11-15 20:24:50 -05:00
Weblate 450a8fc0c5 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/
2022-11-14 09:34:18 -06:00
WeblateandCoool becf0da9fb Translated using Weblate (Latvian)
Currently translated at 94.0% (4227 of 4495 strings)

Co-authored-by: Coool (github.com/Coool) <coool@mail.lv>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/lv/
Translation: Cacti/core (v1.2.x)
2022-11-14 09:34:17 -06:00
TheWitness a986f9cbf7 QA: add value for unassigned 2022-11-13 19:23:03 -05:00
TheWitness 033779b878 Fixing Issue #4754
The script ss_fping.php should timeout based upon the actual device if its searchable
2022-11-13 17:45:25 -05:00
TheWitness 37016f9cf2 Merge branch '1.2.x' of https://github.com/Cacti/cacti into 1.2.x 2022-11-13 17:35:09 -05:00
TheWitness 75c2ac4edc QA: Add maintenance stats 2022-11-13 17:35:07 -05:00
Petr Macek f5d3fdb829 remove unused query (#5003) 2022-11-13 15:09:30 -05:00
TheWitness 88737d246a QA: properly chunk the array 2022-11-13 14:09:51 -05:00
TheWitness 49b8d57a29 QA: RRDfile Checker 2022-11-13 13:58:49 -05:00
TheWitness 5a48fc833f QA: #4996 - Better method
This method is more accurate than the prior method
2022-11-12 15:58:05 -05:00
Weblate 8fcf7ba766 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:52 -06:00
Weblate 8b32e646ee Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:52 -06:00
Weblate 08e7a1b9bc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate f947769d4c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate 95b50bc5c9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate 10b4a9697e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate 3ac047dd2b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate bcb34cdcd1 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate 9a637ecff0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate 3ef8a218a0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate fa8ca9dea2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate ce8e07457e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:51 -06:00
Weblate da60706cdb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:50 -06:00
Weblate 2e8d9b7510 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.cacti.net/projects/cacti/core-v1-2-x/
Translation: Cacti/core (v1.2.x)
2022-11-12 14:52:50 -06:00