44 Commits
Author SHA1 Message Date
TheWitness 0f526404f7 Updating copyrights to 2026 (#740) 2026-02-14 14:16:33 -05:00
TheWitnessandCopilot 2d3b623d7a Updating workflow to include code validation PHP8.4 and MariaDB 10.6 (#739)
* Adding Worflows for code validation

* Apply php-cs-fixer rules

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 06:59:30 -05:00
TheWitness a7991dc6cf QA: Update Copyrights to 2025 2025-06-16 09:26:09 -04:00
TheWitness 8d72888ff6 QA: Finalizing Thold Internationalization 2024-04-20 16:32:30 -04:00
TheWitness 4b14a89172 Allow Templates and Thresholds to have an External ID
feature: Allow Templates and Thresholds to include an External ID
2024-01-30 20:22:37 -05:00
Linegod 1520ee1868 typos 2023-12-05 23:07:22 -06:00
unka65 585d68a013 fixes Cacti/plugin_thold#614 log undefined variable (#617)
Also corrects decimal digits dropdown
2023-09-13 11:32:13 -04:00
TheWitness 1df3786a6b Starting to rough in notification delay
* This is not all the feature, just saving the work.
* It's going to take a few commits to completely implement this feature
* This version adds a new column to notifification_queue
* It adds a % at Site in addition to raw number of devices in a site
* It starts the logic of expiration of notification delays
* ToDo: Custom Email and Command notification based upon restoration or expiration
* ToDo: Adding new Notification delays to the list of existing notifications.
2023-08-15 20:05:59 -04:00
TheWitness ce218d105c QA: Light wording changes 2023-08-14 07:06:03 -04:00
TheWitness 6437b9f9c9 QA: Alter wording slightly, update language files 2023-08-04 11:38:36 -04:00
TheWitness 063bb35aa0 Fixing #601 and Adding 5 More Baseline Types 2023-08-04 11:20:13 -04:00
TheWitness c6501c1911 Starting #590 - Just the settings with some outstanding issues
Found that there is no good way to hook the settings page without a global JavaScript file.  Really need a hook at the bottom of the settings page.
2023-07-27 21:48:06 -04:00
TheWitness dc83bde317 Allow specification of units suffix and decimal digits
* feature: Allow the specification of the units suffix overriding automatic the number of significant digits to display
2023-07-27 09:10:00 -04:00
Vladyslav V. Prodan 02cb724a4a Correction of a typo. (#599) 2023-07-26 10:19:21 -04:00
Vladyslav V. Prodan 40e5b473df Update arrays.php (#593)
Correction of a typo
2023-07-26 06:34:19 -04:00
TheWitness 1336890179 Fixing Issue #79 - Allow unit suffixes on Threshold Values
Allow and correctly handle unit suffix in the context of values
2023-07-25 19:05:26 -04:00
TheWitness 3e0f7a18a8 2 Features around Enabling and Disabling Tholds and Templates
* feature: Mass Enable/Disable at Template Level
* feature: Make Enabling and Disabling a Thold Different than Enabling or Disabling a Template
* QA: Cleanup some of the state calculation logic to make similar between pages.
2023-07-24 22:24:41 -04:00
TheWitness ae6639c72e QA: Issue #453 - Rename a column , add two more
- Anyone testing the Notification Queue will have to recreate the table as I'm dropping the intermediary upgrade logic.
2023-07-24 19:00:44 -04:00
TheWitness 2ac0f862c6 Fixing #140 - Floating Average Baseline
Baseline Deviation Moving Average
2023-07-22 19:19:46 -04:00
netniV 4d9210e76b Update copyright for 2023 2023-01-04 22:31:06 +00:00
TheWitness 9e7443b3f0 Updating copyrights 2023-01-03 19:38:50 -05:00
TheWitness 33a1342835 Fixing Issue #542 and Copyright Years 2022-02-13 13:21:17 -05:00
Manuel MauszandTheWitness 11063b63b6 Add support for upper + lower bytes calculation (#443)
Using this data type manipulation allows to calculate the total value
from upper and lower 4 bytes of data. e.g. OID dskAvailLow + dskAvailHigh

See also http://www.muonics.com/Docs/MIBSmithy/UserGuide/commonerrors.php#counter64

Co-authored-by: TheWitness <thewitness@cacti.net>
2020-09-13 12:25:27 -04:00
TheWitness 0a95cd8ebe Fixiing issue #406, #407, #409, #410, #411
* issue#406: THOLD 1.3.4 no 1 minute cycle/Trigger option

* issue#407: Error php deprecated when delete any graph

* issue#409: Cannot send mail due to default From mail is invalid

* issue#410: php error when creating threshold - Undefined index: data_type

* issue#411: The newly added device In Stat value incorrect

* issue: When Data Manipulation type is Percentage, RPN Expression column is shown
2020-03-27 12:53:14 -04:00
TheWitness 1d1d747ff0 Update to remove warnings 2020-03-01 14:55:57 -05:00
TheWitness ad0bc34328 Fixing Issue #392
Make THOLD working on 1min poller w/ 5min rrd
2020-03-01 14:38:10 -05:00
netniV 2db7e7f61c Update copyright year and tweak service documentation 2020-02-15 09:56:40 +00:00
TheWitness 9724c9bdc2 Fixing Issue #326
* Threshold Acknowledgment, Suspend, Resume not functional
2019-05-25 18:28:02 -04:00
TheWitness 07a6a3dc4b Fixing Issue #325
In State status incorrect for threshold
2019-05-24 20:13:21 -04:00
TheWitness 876c2b0e4c Fixing Issue #289
* Threshold filter on Thold - Log tab can not work
* Light reformatting for readability and missed i18n
2019-04-10 08:37:07 -04:00
TheWitness 295998f7ee Correct issues with upgrading 2019-02-25 09:42:40 -05:00
TheWitness 7053e7e834 Fixing one bug and half implementing another feature. 2019-01-02 18:43:48 -05:00
TheWitness 8517b189ac Code context review 2018-12-28 14:48:11 -05:00
TheWitness 0ad5286c97 Major forked thold merge to Cacti core thold plugin
For those of you watching, you may have thought I was never going to commit again.  Well, you were wrong 👍  I'm alive and still working on Cacti and a number of plugins.  Just not in a very public way.  You may be aware of my other work, and if so, that's great!

My current employer is allowing me to port a number of thold changes back to the Cacti community from our forked version.
 It was a necessity since the Cacti core version of the plugin has advanced so much since our forked version was first created.

Of the commits that will be forthcoming, this is the first.  In this first commit, I'm adding the following:

* Adding some additional hooks to the Notification List functionality for one of my non-public plubins.
* Adding Acknowledgment functionality to thold
* Allowing optional per threshold and per template specific email body support for both warnings and alerts
* Allow optional command line execution as the result of a threshold alert breach or restoral event.
* Allow threshold actions to be hooked by other plugins.  These hooks will be used by some of my non-public plugins for performing specific thold actions
* Add hooks for threshold and and template editing and saving
* Some faily significant code cleanup and code reduction
* In addition, I've found a number of smaller bugs that I will remediate via the GitHub issues list.

There are additional changes that I will be making subsequent to this commit, that include:

* Using a Threshold template to drive the creation of Graphs.  It's kind of backwards, but it works pretty well.
* Possible additional changes to the various hooks as I modify my gridalarms plugin to work with this version of thold.
* Any bug fixes that I discover from this major change.

Note, that you must be using Cacti 1.2 in order to leverage this new version of thold.  You are free to test it prior to it's release formal release of course.  I'm pretty sure all the core functionality is there as of right now.  However be warned, that I may for example pull or add a column or two, but you can rest assured that forcing another upgrade should fix things automatically.

Finally, let's not all get too excited.  I'm doing this work for my employer who has been kind enough to allow this work to happen.  None-the-less, I'm glad to be back, if only for a short time.

TW
2018-12-28 14:15:20 -05:00
netniV efe7139f4a Resolving issues #168, #197, #198, #199 2018-08-22 01:19:23 +00:00
cigamit 1c79da55ad Add text domain for i18n 2017-07-08 16:59:00 -05:00
cigamit 4cc019aba0 Correct function name 2017-04-11 18:17:20 -05:00
cigamit 9c461b64b2 Correcting minor visual issue 2017-03-23 07:56:21 -05:00
cigamit 4c91ea49ff Resolving Issues #32
After this change, you will have to run the following SQL command, and
then goto the Threshold console pick to completely resolve.

UPDATE plugin_config SET version='1.0 WHERE directory='thold';

Thanks for reporting.
2017-01-15 12:35:32 -06:00
cigamit ce4aefe2e6 Correcting spelling and grammar issues
Also, add new columns for future HRULE feature.
2017-01-12 19:10:21 -06:00
cigamit 511a405a5f Update Copyright Years plus some missed updates 2017-01-02 08:11:29 -06:00
cigamit 65205d66cb i18n for thold, new autocreate algo, new hooks, new table
this revision of thold will require a re-install, or you may manually
register new hooks and create the new 1.0 table.  the new features
include specifying thold templates at the device template level, and
adding an option to autocreate tholds when saving a device.
2016-05-30 10:36:49 -05:00
cigamit ea3bb05390 double to single quotes, daemon work, ui and css changes 2016-05-07 10:08:11 -05:00
cigamit 66c52935c6 compatibility for Cacti 1.0 2016-04-12 21:34:02 -05:00