[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [UPD] tiki-monitor.php: Add SchedulerLastRun and SchedulerHealthy monitoring metrics

"Sammy Ndabo \(@ndabosam084\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69e95169130dc_3818d3b497412@gitlab-sidekiq-low-urgency-cpu-bound-v2-75c97c766c-b957n.mail>

Sammy Ndabo pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
28796943 by Sammy Ndabo at 2026-04-22T22:45:25+00:00
[UPD] tiki-monitor.php: Add SchedulerLastRun and SchedulerHealthy monitoring metrics
---
* [UPD] tiki-monitor.php: Add SchedulerLastRun and SchedulerHealthy monitoring metrics
---
* [UPD] tiki-monitor.php: Add SchedulerLastRun and SchedulerHealthy monitoring metrics

See merge request tikiwiki/tiki!9994

(cherry picked from commit ab1110329d4fea4dc36ea4e2262244e337d77b6f)

See merge request tikiwiki/tiki!10068

- - - - -


1 changed file:

- tiki-monitor.php


Changes:

=====================================
tiki-monitor.php
=====================================
@@ -50,6 +50,15 @@ if (isValidMonitor('SearchIndexRebuildLast')) {
     $result['SearchIndexRebuildLast'] = $tikilib->get_preference('unified_last_rebuild_' . $prefs['unified_engine']);
 }
 
+if (isValidMonitor('SchedulerLastRun')) {
+    $result['SchedulerLastRun'] = (int) $tikilib->get_preference('scheduler_last_run_timestamp', 0);
+}
+
+if (isValidMonitor('SchedulerHealthy')) {
+    $schedulerUtils = new Scheduler_Utils();
+    $result['SchedulerHealthy'] = $schedulerUtils->isSchedulerRunConfigured() ? 1 : 0;
+}
+
 // Get probes result
 $probes = getProbes($result);
 



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/28796943cef5154fc72e5e546a43962ada2af858

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/28796943cef5154fc72e5e546a43962ada2af858
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.