diff --git a/data/web/debug.php b/data/web/debug.php index 6390be75..04ee431d 100644 --- a/data/web/debug.php +++ b/data/web/debug.php @@ -6,6 +6,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php'; $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; $solr_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_SOLR"])) ? false : solr_status(); $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ? false : true; +$xmpp_status = xmpp_control('status'); ?>
/var/vmail on =$vmail_df[0];?>
+Mail disk space via =$vmail_df[0];?>
=$vmail_df[2];?> / =$vmail_df[1];?> (=$vmail_df[4];?>)
=$lang['debug']['solr_uptime'];?>: ~=round($solr_status['status']['dovecot-fts']['uptime'] / 1000 / 60 / 60);?>h
-=$lang['debug']['solr_started_at'];?>: =$solr_status['status']['dovecot-fts']['startTime'];?>
-=$lang['debug']['solr_last_modified'];?>: =$solr_status['status']['dovecot-fts']['index']['lastModified'];?>
-=$lang['debug']['solr_size'];?>: =$solr_status['status']['dovecot-fts']['index']['size'];?>
-=$lang['debug']['solr_docs'];?>: =$solr_status['status']['dovecot-fts']['index']['numDocs'];?>
+=$lang['debug']['uptime'];?>: ~=round($solr_status['status']['dovecot-fts']['uptime'] / 1000 / 60 / 60);?>h
+=$lang['debug']['started_at'];?>: =$solr_status['status']['dovecot-fts']['startTime'];?>
+=$lang['debug']['last_modified'];?>: =$solr_status['status']['dovecot-fts']['index']['lastModified'];?>
+=$lang['debug']['size'];?>: =$solr_status['status']['dovecot-fts']['index']['size'];?>
+=$lang['debug']['docs'];?>: =$solr_status['status']['dovecot-fts']['index']['numDocs'];?>
@@ -94,6 +95,47 @@ $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ?=$lang['debug']['online_users'];?>: =$xmpp_status['onlineusers'];?>
+=$lang['debug']['started_at'];?>: =$xmpp_status['uptimeseconds'];?>
+ +MUCs:
+=$lang['debug']['xmpp_dead'];?>
+ +