Server terminal icon

Server terminal

Maintained by Aji Nursyamsi
Server Terminal provides controlled connectivity checks and approved manual scheduled task execution for Moodle administrators, with capability checks and audit logging.
Price option: Free

Supports Moodle 4.0-5.2 See all versions
Latest release: 1 month ago
Installations: 0
Downloads (last 90 days): 20

Frankenstyle name: tool_serverterminal
Administration tools

Description

What Server Terminal does

Server Terminal helps Moodle administrators check whether their Moodle server can reach the services it depends on. It provides a controlled diagnostics panel for running configured HTTP, TCP, and DNS connectivity checks directly from Moodle administration.

The plugin is also useful for safely running selected scheduled tasks manually. Administrators can allow specific Moodle scheduled task classes, then run them on demand without changing their normal schedule.

Main features

  • Run configured HTTP and HTTPS endpoint checks.
  • Check TCP connectivity to approved hosts and ports.
  • Check DNS resolution for configured hostnames.
  • Manually run selected Moodle scheduled tasks from an allowlist.
  • Review results in a console-style output panel.
  • Keep an audit history of checks and task runs.
  • Use Moodle capabilities to control who can view, configure, and run actions.

Installation

Install the plugin folder as:

admin/tool/serverterminal

Then complete the Moodle upgrade from:

  • Site administration > Notifications, or
  • the Moodle command line upgrade script: php admin/cli/upgrade.php

Where to access it

After installation, the tool is available from:

Site administration > Server > Server terminal

Plugin settings are available from:

Site administration > Server > Server terminal settings

Basic setup

After installation, open the settings page and configure the approved endpoints or scheduled task classes you want to make available.

Example endpoint configuration:

Main website|https://example.com|200
API gateway|tcp://api.example.com:443
DNS lookup|dns://example.com

Example scheduled task allowlist:

\core\task\cache_cleanup_task
\core\task\file_temp_cleanup_task

Designed for safe administration

Server Terminal does not provide an interactive operating-system shell and does not accept arbitrary command input. It does not expose shell navigation, working directories, pipes, redirects, or free-form commands.

All operations are structured and controlled through plugin settings. Empty endpoint settings mean no connectivity checks can be run. Empty scheduled task settings mean no scheduled tasks can be run.

Requirements

  • Moodle 4.0 or later.
  • PHP cURL extension for HTTP and HTTPS checks.
  • Appropriate Moodle capabilities assigned to trusted users.

Documentation and support

Documentation, configuration examples, and issue reporting are available in the plugin repository:

View Server Terminal documentation on GitHub

Icon attribution

The plugin icon uses an icon created by Royyan Wijaya from Flaticon.

View Royyan Wijaya's icons on Flaticon

Contributors

Awards

Privacy friendly