Host OS login is optional database-server host access that gives Mini DBA operating system metrics in addition to database metrics. Database monitoring still works without it, but CPU, memory, drive capacity, and disk I/O information is richer when Mini DBA can log in to the host.
The shared OS login panel is used for PostgreSQL, MySQL, MariaDB, and Oracle servers. SQL Server uses SQL Server DMVs for some host information and uses Windows performance/WMI access for additional Windows host counters. See Enable WMI For SQL Server Monitoring for the SQL Server-specific WMI setup.
Configure host OS login when database metrics alone do not explain the problem. Query waits can tell you that I/O is slow, but host metrics can show whether a disk is saturated. Database memory views can show pressure inside the engine, but host memory metrics can show whether the operating system is also under pressure. CPU-related database waits can show scheduler contention, but host CPU can show whether the whole machine is busy.
Host OS login is especially useful for self-managed PostgreSQL, MySQL, MariaDB, and Oracle servers on Linux. It is also useful for Windows-based database hosts when WMI and performance counter access are available.
On Linux, Mini DBA connects by SSH. The account can use password authentication or private key authentication.
Mini DBA uses commands such as:
top -b -n 1
df --type btrfs --type ext4 --type ext3 --type ext2 --type vfat --type iso9660 -BM
iostat -x -m
These commands provide:
Install the operating system package that provides iostat if disk I/O metrics are missing. On many Linux distributions this is the sysstat package.
The Linux monitoring account should be able to connect over SSH from the Mini DBA Engine host and run the commands listed above. It usually does not need root privileges. The account should be able to read standard operating system process, memory, file system, and disk statistics.
Recommended setup:
sudo useradd --create-home --shell /bin/bash minidba-os-monitor
sudo passwd minidba-os-monitor
If your security policy prefers SSH keys, add the public key to the user's ~/.ssh/authorized_keys, then use Private key mode in the Mini DBA OS Login panel.
On Windows, Mini DBA uses WMI and performance counter access where supported.
The account needs suitable access to the target server, normally through:
root\cimv2.Windows host access can provide:
Use a dedicated Windows account or domain account where possible. Add it to the minimum local groups required by your security policy. In many Windows environments, host metrics require membership in Performance Monitor Users and Performance Log Users, plus WMI namespace permissions for root\cimv2.
If the Windows firewall blocks remote WMI, enable the Windows Management Instrumentation firewall rules. If performance counter discovery fails, confirm Remote Registry and related services are available according to your organization's Windows hardening policy. The detailed SQL Server WMI walkthrough is in Enable WMI For SQL Server Monitoring.
For cloud-hosted database services where direct OS login is unavailable, Mini DBA may use cloud provider API access instead. Configure provider credentials in Cloud Provider Settings.
Cloud host metrics can provide host or instance-level CPU, storage, I/O, or service metrics depending on the provider and database service.
Host OS login is not used to run database queries, change database configuration, or grant database permissions. It is separate from the database monitoring login. Removing host OS credentials should not stop database-level monitoring, but it can remove host CPU, memory, drive, and disk I/O metrics from the console.
iostat is installed and available in the account path.df returns supported file system types.No. Mini DBA can monitor database activity, queries, waits, alerts, and health checks without host OS login, assuming the database login has the required database permissions.
When a host OS login test succeeds, Mini DBA stores the credential for the engine so future host metric refreshes can run. Treat engine configuration and data folders as sensitive.
Yes. The OS Login panel supports Password and Private key modes. Private key mode supports an optional passphrase.