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

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69de861549348_3b18e2c83474e@gitlab-sidekiq-low-urgency-cpu-bound-v2-5f65b8cfc7-jn6p8.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
ab111032 by Sammy Ndabo at 2026-04-14T18:15:06+00:00
[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

- - - - -


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/ab1110329d4fea4dc36ea4e2262244e337d77b6f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/ab1110329d4fea4dc36ea4e2262244e337d77b6f
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.