236 lines
12 KiB
PHP
236 lines
12 KiB
PHP
<?php
|
|
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
|
|
|
|
$messages = [
|
|
'title' => 'Watchdog',
|
|
'App' => [
|
|
'monitoringStatus' => 'Monitoring of services and disks',
|
|
'successMonitoringEnable' => 'The monitoring was enabled.',
|
|
'successMonitoringDisable' => 'The monitoring was disabled.',
|
|
'MonitStatus' => [
|
|
'monitored' => 'Enabled',
|
|
'notmonitored' => 'Disabled',
|
|
'init' => 'Being checked',
|
|
'timeout' => 'Disabled due to frequent shutdowns',
|
|
'notinstalled' => 'Not installed',
|
|
'nolicence' => 'No license',
|
|
'notconfigured' => 'Not configured',
|
|
'undefined' => 'Undefined',
|
|
'action' => [
|
|
'enable' => 'Enable',
|
|
'disable' => 'Disable',
|
|
],
|
|
],
|
|
'tabServices' => 'Services',
|
|
'Services' => [
|
|
'List' => [
|
|
'columnService' => 'Service',
|
|
'columnStatus' => 'Status',
|
|
'columnMonitStatus' => 'Monitoring',
|
|
'reload' => 'Refresh',
|
|
'buttonReload' => 'Refresh',
|
|
'search' => 'Search',
|
|
'searchPlaceholder' => 'Search...',
|
|
'successMonitEnable' => 'The monitoring was enabled.',
|
|
'successMonitDisable' => 'The monitoring was disabled.',
|
|
'ServiceStatus' => [
|
|
'running' => 'Running',
|
|
'notrunning' => 'Stopped',
|
|
'notcheck' => 'Not monitored',
|
|
'init' => 'Not checked yet',
|
|
'undefined' => 'Undefined',
|
|
],
|
|
],
|
|
'ServiceProperties' => [
|
|
'sectionMonitoring' => 'Monitoring settings',
|
|
'monitStatus' => 'Monitor the service',
|
|
'saveStats' => 'Save the service statistics',
|
|
'timeout' => 'Stop monitoring the service if it frequently restarts',
|
|
'timeoutNum' => '%%times%% times in %%cycles%% polls',
|
|
'connectionTimeout' => 'Connection timeout',
|
|
'seconds' => 'seconds',
|
|
'startCmd' => 'To start the service, run the command',
|
|
'stopCmd' => 'To stop the service, run the command',
|
|
'startTime' => 'Service startup time',
|
|
'buttonSave' => 'Save',
|
|
'buttonCancel' => 'Cancel',
|
|
'success' => 'The monitoring settings were updated.',
|
|
],
|
|
],
|
|
'tabDisks' => 'Disks',
|
|
'Disks' => [
|
|
'List' => [
|
|
'columnDevice' => 'Device',
|
|
'columnMountPoint' => 'Mount Point',
|
|
'columnStatus' => 'Status',
|
|
'columnMonitStatus' => 'Monitoring',
|
|
'columnSpaceRate' => 'Disk Space Usage Threshold',
|
|
'columnInodsRate' => 'Files Number Threshold',
|
|
'reload' => 'Refresh',
|
|
'buttonReload' => 'Refresh',
|
|
'search' => 'Search',
|
|
'searchPlaceholder' => 'Search...',
|
|
'DiskStatus' => [
|
|
'normal' => 'OK',
|
|
'excess' => 'Exceeds the threshold',
|
|
'unmounted' => 'Unmounted',
|
|
'notcheck' => 'Not monitored',
|
|
'init' => 'Not checked yet',
|
|
'undefined' => 'Undefined',
|
|
],
|
|
'spaceRate' => [
|
|
'percent' => '%%spaceRate%%%',
|
|
'kilobyte' => '%%spaceRate%% KB',
|
|
'megabyte' => '%%spaceRate%% MB',
|
|
'gigabyte' => '%%spaceRate%% GB',
|
|
],
|
|
'inodsRate' => [
|
|
'percent' => '%%inodsRate%%%',
|
|
'file' => '%%inodsRate%% files',
|
|
],
|
|
'successMonitEnable' => 'The monitoring was enabled.',
|
|
'successMonitDisable' => 'The monitoring was disabled.',
|
|
],
|
|
'DiskProperties' => [
|
|
'sectionMonitoring' => 'Monitoring settings',
|
|
'spaceRate' => 'Disk space usage threshold',
|
|
'spaceRateUnit' => [
|
|
'percent' => '%',
|
|
'kilobyte' => 'KB',
|
|
'megabyte' => 'MB',
|
|
'gigabyte' => 'GB',
|
|
],
|
|
'inodsRate' => 'File number threshold',
|
|
'inodsRateUnit' => [
|
|
'percent' => '%',
|
|
'file' => 'files',
|
|
],
|
|
'command' => 'Command to execute',
|
|
'buttonSave' => 'Save',
|
|
'buttonCancel' => 'Cancel',
|
|
'success' => 'The monitoring settings were updated.',
|
|
],
|
|
],
|
|
'tabStatistics' => 'Statistics',
|
|
'Statistics' => [
|
|
'description' => "View the server CPU and RAM usage by services.",
|
|
'buttonSettings' => 'Settings',
|
|
'buttonRefresh' => 'Refresh',
|
|
'usageDescription' => 'Statistics for the period from %%from%% to %%to%%',
|
|
'cpuUsage' => 'CPU Usage, %',
|
|
'memoryUsage' => 'RAM Usage, MB',
|
|
'chartTooltip' => '%%name%%: %%value%%',
|
|
'Settings' => [
|
|
'title' => 'Statistics Display Settings',
|
|
'period' => 'Period',
|
|
'dayPeriod' => 'Last 24 hours',
|
|
'weekPeriod' => 'Week',
|
|
'monthPeriod' => 'Month',
|
|
'yearPeriod' => 'Year',
|
|
'services' => 'Services',
|
|
'showTotal' => 'Overall statistics',
|
|
'buttonSave' => 'Save',
|
|
'buttonCancel' => 'Cancel',
|
|
'success' => 'The settings were updated.',
|
|
],
|
|
],
|
|
'Settings' => [
|
|
'buttonOpen' => 'Settings',
|
|
'title' => 'Settings',
|
|
'sectionInterface' => 'Interface Settings',
|
|
'refreshPages' => 'Automatically refresh pages',
|
|
'sectionMonitoring' => 'Monitoring Settings',
|
|
'automonit' => 'Monitor all services started by the administrator',
|
|
'pollInterval' => 'Polling interval (in seconds)',
|
|
'storageSysstat' => 'Store the resource usage statistics',
|
|
'sysstatStorageTime' => 'The number of days to store the resource usage statistics for',
|
|
'sectionReports' => 'Report Settings',
|
|
'reportRate' => 'Send reports',
|
|
'sectionEmail' => 'Email Notification Settings',
|
|
'mailTo' => 'Send emails to',
|
|
'mailFrom' => 'Sender\'s email address',
|
|
'mailServers' => 'SMTP server for sending notifications',
|
|
'disabled' => 'disabled',
|
|
'daily' => 'daily',
|
|
'weekly' => 'weekly',
|
|
'monthly' => 'monthly',
|
|
'buttonSave' => 'Save',
|
|
'buttonCancel' => 'Cancel',
|
|
'success' => 'The settings were updated.',
|
|
],
|
|
],
|
|
|
|
'totalStats' => 'Overall',
|
|
|
|
'__perm_denied' => 'Permission denied.',
|
|
'invalidData' => 'Invalid data.',
|
|
'isEmpty' => 'The required field is empty. You need to provide a value for it.',
|
|
'notBetween' => "The specified value is not between '%min%' and '%max%', inclusively",
|
|
'notInArray' => "'%value%' is not allowed.",
|
|
'emailAddressInvalid' => 'The specified email address is not valid. Specify a valid one that matches the following pattern: johndoe@example.com.',
|
|
'emailAddressSpecialNames' => 'The specified email address is not valid. The username part of the address must not start with a reserved system name (like CON, LPT1, PRN) separated by the period character (.) from the rest of the username.',
|
|
'longAddress' => 'The email address is too long.',
|
|
'invalidRfcDomainName' => 'The specified domain name is not a valid RFC domain.',
|
|
'idnNameConversion' => 'Failed to convert the domain name from IDN to Punycode.',
|
|
'ipInvalid' => "'%value%' is not a valid IP address.",
|
|
'mailServerInvalid' => 'The specified mail server is not valid.',
|
|
'mailServerNotResolvable' => 'The specified mail server is not resolvable.',
|
|
'commandInvalid' => 'The specified command is not valid.',
|
|
'commandFileNotExist' => 'The specified file does not exist.',
|
|
'notGreaterThan' => "The specified value is not greater than '%min%'",
|
|
'notInt' => 'The specified value is not an integer.',
|
|
|
|
'errReportPeriod' => "An unknown period '%%period%%'.",
|
|
|
|
'errDbConnection' => "Error occurred while connecting to database: %%error%%.",
|
|
'errDbQuery' => "Error occurred while processing database query: %%error%%.",
|
|
'errServiceNotRespond' => 'The %%service%% service does not respond.',
|
|
'errServiceMonitor' => 'Failed to send the command for starting monitoring of the %%service%% service.',
|
|
'errServiceTerminate' => 'Failed to terminate the %%service%% service: the monitoring service did not stop within the allowed period.',
|
|
'errMonitConnect' => 'Failed to connect to the Monit service.',
|
|
'errXmlParse' => 'Error occurred while parsing XML document with information on service states.',
|
|
'errReadTemplate' => 'Error occurred while reading template file %%file%% for the Monit service.',
|
|
'errBigTemplate' => 'The template file %%file%% is too large to be processed by the Monit service. The file size must not exceed 10 kilobytes.',
|
|
'errInvalidCommand' => 'Executable command %%command%% contains symbols invalid for %%path%%.',
|
|
'errUnbaredTemplate' => 'Unbared template %%template%%.',
|
|
'errInvalidSymbols' => 'There are invalid symbols in path to device %%device%%.',
|
|
'errPartitionNotFound' => 'Partition %%device%% not found.',
|
|
'errPartitionNotBlock' => 'The %%device%% is not block device.',
|
|
'errUtilityCall' => "Error occurred while calling the utility %%utility%%: %%error%%.",
|
|
|
|
'DNT' => [
|
|
'statusRunning' => 'Accessible',
|
|
'statusStopped' => 'Inaccessible',
|
|
|
|
'report' => [
|
|
'statusRunning' => 'Watchdog is running since %%time%%.',
|
|
'statusStopped' => 'Watchdog was stopped at %%time%%.',
|
|
'monitoredServices' => 'Watchdog is monitoring services:',
|
|
'monitoredServicesNone' => 'Watchdog is not monitoring services.',
|
|
'monitoredDisks' => 'Watchdog is monitoring disks:',
|
|
'monitoredDisksNone' => 'Watchdog is not monitoring disks.',
|
|
'diskStatusMount' => '[%%status%%] %%device%% (mount point %%mount_point%%)',
|
|
'diskStatusNoMount' => '[%%status%%] %%device%%',
|
|
'cpuUsage' => 'Average CPU load: %%value%%.',
|
|
'memoryUsage' => 'Average RAM usage: %%value%%.',
|
|
'events' => 'Events:',
|
|
'eventsNone' => 'No events registered for the period.',
|
|
'event' => '[%%date%%] %%data%%',
|
|
'memoryUnits' => '%%value%% %%units%%',
|
|
'subjDaily' => 'Watchdog daily report %%date%% on %%hostname%%',
|
|
'subjWeekly' => 'Watchdog weekly report %%from%% - %%to%% on %%hostname%%',
|
|
'subjMonthly' => 'Watchdog monthly report for %%date%% on %%hostname%%',
|
|
'serviceEventStopped' => 'Service %%service%% stopped.',
|
|
'serviceEventStarted' => 'Service %%service%% started.',
|
|
'serviceEventReleased' => 'Service %%service%% was released from monitoring because it failed frequently.',
|
|
'serviceEventCustom' => "Service %%service%%: event '%%event%%' occurred.",
|
|
'disk' => '%%device%% (mount point - %%mount_point%%, size - %%size%%, used disk space - %%used%%)',
|
|
'diskEventExceeded' => 'Disk space usage threshold defined for %%disk%% has been exceeded.',
|
|
'diskEventNormal' => 'Disk space usage on %%disk%% returned to the level below the specified threshold.',
|
|
'diskEventUnmounted' => 'Unmounted disk %%disk%%.',
|
|
'diskEventMounted' => 'Mounted disk %%disk%%.',
|
|
'diskEventCustom' => "Disk %%disk%%: event '%%event%%' occurred.",
|
|
],
|
|
],
|
|
];
|