Change english strings
Former-commit-id: 47d1b455f4997ce7b63672678aaeb42a8205e957
This commit is contained in:
parent
9d29af2af5
commit
0548fdd95f
|
@ -444,7 +444,7 @@ class ConsoleSupervisor
|
||||||
'send_email_user',
|
'send_email_user',
|
||||||
[
|
[
|
||||||
$user['id_user'],
|
$user['id_user'],
|
||||||
io_safe_output($notification['mensaje']).'<br><hl><br>'.ui_get_full_url($notification['url']),
|
io_safe_output($notification['mensaje']).'<br><hl><br>'.$notification['url'],
|
||||||
io_safe_output($notification['subject']),
|
io_safe_output($notification['subject']),
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -478,7 +478,7 @@ class ConsoleSupervisor
|
||||||
'send_email_group',
|
'send_email_group',
|
||||||
[
|
[
|
||||||
$group['id_group'],
|
$group['id_group'],
|
||||||
io_safe_output($notification['mensaje']).'<br><hl><br>'.ui_get_full_url($notification['url']),
|
io_safe_output($notification['mensaje']).'<br><hl><br>'.$notification['url'],
|
||||||
io_safe_output($notification['subject']),
|
io_safe_output($notification['subject']),
|
||||||
null,
|
null,
|
||||||
$blacklist,
|
$blacklist,
|
||||||
|
@ -689,9 +689,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.LICENSE_EXPIRATION',
|
'type' => 'NOTIF.LICENSE_EXPIRATION',
|
||||||
'title' => __('License is going to expire.'),
|
'title' => __('License is about to expire'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Your license is going to expire in %d days. Please contact sales.',
|
'Your license will expire in %d days. Please, contact our sales department.',
|
||||||
$days_to_expiry
|
$days_to_expiry
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/license',
|
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/license',
|
||||||
|
@ -702,8 +702,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.LICENSE.EXPIRATION',
|
'type' => 'NOTIF.LICENSE.EXPIRATION',
|
||||||
'title' => __('License is expired.'),
|
'title' => __('Expired license'),
|
||||||
'message' => __('Your license has expired. Please contact sales.'),
|
'message' => __('Your license has expired. Please, contact our sales department.'),
|
||||||
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/license',
|
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/license',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -776,9 +776,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.WRITABLE.ATTACHMENT',
|
'type' => 'NOTIF.WRITABLE.ATTACHMENT',
|
||||||
'title' => __('Attachment directory is not writable.'),
|
'title' => __('Attachment directory is not writable'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Directory %s is not writable. Please configure proper permissions.',
|
'Directory %s is not writable. Please, configure corresponding permissions.',
|
||||||
$config['attachment_store']
|
$config['attachment_store']
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
||||||
|
@ -798,9 +798,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.FILES.ATTACHMENT',
|
'type' => 'NOTIF.FILES.ATTACHMENT',
|
||||||
'title' => __('There are too much files in attachment directory.'),
|
'title' => __('There are too many files in attachment directory'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'There are more than %d files in attachment, you should consider cleaning up your attachment directory manually.',
|
'There are more than %d files in attachment, consider cleaning up attachment directory manually.',
|
||||||
$config['num_files_attachment']
|
$config['num_files_attachment']
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
||||||
|
@ -830,9 +830,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG',
|
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG',
|
||||||
'title' => __('Remote configuration directory is not readable.'),
|
'title' => __('Remote configuration directory is not readable'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Remote configuration directory %s is not readable. Please configure it.',
|
'Remote configuration directory %s is not readable. Please, adjust configuration.',
|
||||||
$config['remote_config']
|
$config['remote_config']
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
||||||
|
@ -849,9 +849,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG.CONF',
|
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG.CONF',
|
||||||
'title' => __('Remote configuration directory is not writable.'),
|
'title' => __('Remote configuration directory is not writable'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Remote configuration directory %s is not writable. Please configure it.',
|
'Remote configuration directory %s is not writable. Please, adjust configuration.',
|
||||||
$config['remote_config'].'/conf'
|
$config['remote_config'].'/conf'
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
||||||
|
@ -867,9 +867,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG.COLLECTIONS',
|
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG.COLLECTIONS',
|
||||||
'title' => __('Remote collections directory is not writable.'),
|
'title' => __('Remote collections directory is not writable'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Collections directory %s is not writable. Please configure it.',
|
'Collections directory %s is not writable. Please, adjust configuration.',
|
||||||
$config['remote_config'].'/collections'
|
$config['remote_config'].'/collections'
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
||||||
|
@ -885,9 +885,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG.MD5',
|
'type' => 'NOTIF.PERMISSIONS.REMOTE_CONFIG.MD5',
|
||||||
'title' => __('Remote md5 directory is not writable.'),
|
'title' => __('Remote md5 directory is not writable'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'MD5 directory %s is not writable. Please configure it.',
|
'MD5 directory %s is not writable. Please, adjust configuration.',
|
||||||
$config['remote_config'].'/md5'
|
$config['remote_config'].'/md5'
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=general',
|
||||||
|
@ -917,7 +917,7 @@ class ConsoleSupervisor
|
||||||
'type' => 'NOTIF.FILES.DATAIN',
|
'type' => 'NOTIF.FILES.DATAIN',
|
||||||
'title' => __('There are too much files in spool').'.',
|
'title' => __('There are too much files in spool').'.',
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'There are more than %d files in %s, you should consider checking DataServer performance',
|
'There are more than %d files in %s. Consider checking DataServer performance',
|
||||||
$MAX_FILES_DATA_IN,
|
$MAX_FILES_DATA_IN,
|
||||||
$config['remote_config']
|
$config['remote_config']
|
||||||
),
|
),
|
||||||
|
@ -938,9 +938,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.FILES.DATAIN.BADXML',
|
'type' => 'NOTIF.FILES.DATAIN.BADXML',
|
||||||
'title' => __('There are too much BADXML files in spool.'),
|
'title' => __('There are too many BADXML files in spool'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'There are more than %d files in %s, you should consider checking software agents.',
|
'There are more than %d files in %s. Consider checking software agents.',
|
||||||
$MAX_BADXML_FILES_DATA_IN,
|
$MAX_BADXML_FILES_DATA_IN,
|
||||||
$config['remote_config']
|
$config['remote_config']
|
||||||
),
|
),
|
||||||
|
@ -1012,7 +1012,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.SERVER.QUEUE.'.$key,
|
'type' => 'NOTIF.SERVER.QUEUE.'.$key,
|
||||||
'title' => __(
|
'title' => __(
|
||||||
'%s (%s) performance is being lacked.',
|
'%s (%s) is lacking performance.',
|
||||||
servers_get_server_string_name($type),
|
servers_get_server_string_name($type),
|
||||||
$queue['name']
|
$queue['name']
|
||||||
),
|
),
|
||||||
|
@ -1079,12 +1079,10 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.SERVER.STATUS',
|
'type' => 'NOTIF.SERVER.STATUS',
|
||||||
'title' => __('No servers available.'),
|
'title' => __('No servers available.'),
|
||||||
'message' => __('There are no servers registered in this console, please check installation guide.'),
|
'message' => __('There are no servers registered in this console. Please, check installation guide.'),
|
||||||
'url' => $url,
|
'url' => $url,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// At this point there's no servers with issues.
|
// At this point there's no servers with issues.
|
||||||
|
@ -1096,25 +1094,25 @@ class ConsoleSupervisor
|
||||||
if ($server['status'] == 1) {
|
if ($server['status'] == 1) {
|
||||||
// Fatal error. Component has die.
|
// Fatal error. Component has die.
|
||||||
$msg = __(
|
$msg = __(
|
||||||
'%s (%s) crashed.',
|
'%s (%s) has crashed.',
|
||||||
servers_get_server_string_name($server['server_type']),
|
servers_get_server_string_name($server['server_type']),
|
||||||
$server['name']
|
$server['name']
|
||||||
);
|
);
|
||||||
|
|
||||||
$description = __(
|
$description = __(
|
||||||
'%s (%s) has died, please check log files',
|
'%s (%s) has crashed, please check log files.',
|
||||||
servers_get_server_string_name($server['server_type']),
|
servers_get_server_string_name($server['server_type']),
|
||||||
$server['name']
|
$server['name']
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
// Non-fatal error. Controlated exit. Component is not running.
|
// Non-fatal error. Controlated exit. Component is not running.
|
||||||
$msg = __(
|
$msg = __(
|
||||||
'%s (%s) is stopped.',
|
'%s (%s) is not running.',
|
||||||
servers_get_server_string_name($server['server_type']),
|
servers_get_server_string_name($server['server_type']),
|
||||||
$server['name']
|
$server['name']
|
||||||
);
|
);
|
||||||
$description = __(
|
$description = __(
|
||||||
'%s (%s) is stopped, please check configuration file or remove this server from server list.',
|
'%s (%s) is not running. Please, check configuration file or remove this server from server list.',
|
||||||
servers_get_server_string_name($server['server_type']),
|
servers_get_server_string_name($server['server_type']),
|
||||||
$server['name']
|
$server['name']
|
||||||
);
|
);
|
||||||
|
@ -1165,7 +1163,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.SERVER.MASTER',
|
'type' => 'NOTIF.SERVER.MASTER',
|
||||||
'title' => __('No master servers found.'),
|
'title' => __('No master servers found.'),
|
||||||
'message' => __('You should define at last one server to run as master, please check documentation.'),
|
'message' => __('At least one server must be defined to run as master. Please, check documentation.'),
|
||||||
'url' => $url,
|
'url' => $url,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1209,8 +1207,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PHP.SAFE_MODE',
|
'type' => 'NOTIF.PHP.SAFE_MODE',
|
||||||
'title' => __('PHP safe mode is enabled. Some features may not properly work.'),
|
'title' => __('PHP safe mode is enabled. Some features may not work properly'),
|
||||||
'message' => __('To disable, change it on your PHP configuration file (php.ini) and put safe_mode = Off (Dont forget restart apache process after changes)'),
|
'message' => __('To disable it, go to your PHP configuration file (php.ini) and put safe_mode = Off (Do not forget to restart apache process after changes)'),
|
||||||
'url' => 'index.php',
|
'url' => 'index.php',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1223,13 +1221,13 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PHP.INPUT_TIME',
|
'type' => 'NOTIF.PHP.INPUT_TIME',
|
||||||
'title' => sprintf(
|
'title' => sprintf(
|
||||||
__("Not recommended '%s' value in PHP configuration"),
|
__("'%s' value in PHP configuration is not recommended"),
|
||||||
'max_input_time'
|
'max_input_time'
|
||||||
),
|
),
|
||||||
'message' => sprintf(
|
'message' => sprintf(
|
||||||
__('Recommended value is %s'),
|
__('Recommended value is %s'),
|
||||||
'-1 ('.__('Unlimited').')'
|
'-1 ('.__('Unlimited').')'
|
||||||
).'<br><br>'.__('Please, change it on your PHP configuration file (php.ini) or contact with administrator (Dont forget restart apache process after changes)'),
|
).'<br><br>'.__('Please, change it on your PHP configuration file (php.ini) or contact with administrator (Do not forget to restart Apache process after)'),
|
||||||
'url' => 'index.php',
|
'url' => 'index.php',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1298,8 +1296,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PHP.DISABLE_FUNCTIONS',
|
'type' => 'NOTIF.PHP.DISABLE_FUNCTIONS',
|
||||||
'title' => __('Problems with disable functions in PHP.INI'),
|
'title' => __('Problems with disable_functions in php.ini'),
|
||||||
'message' => __('Variable disable_functions containts functions system() or exec(), in PHP configuration file (php.ini)').'<br /><br />'.__('Please, change it on your PHP configuration file (php.ini) or contact with administrator (Dont forget restart apache process after changes)'),
|
'message' => __('The variable disable_functions contains functions system() or exec() in PHP configuration file (php.ini)').'<br /><br />'.__('Please, change it on your PHP configuration file (php.ini) or contact with administrator (Dont forget restart apache process after changes)'),
|
||||||
'url' => 'index.php',
|
'url' => 'index.php',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1316,8 +1314,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PHP.PHANTOMJS',
|
'type' => 'NOTIF.PHP.PHANTOMJS',
|
||||||
'title' => __('phantomjs is not installed'),
|
'title' => __('PhantomJS is not installed'),
|
||||||
'message' => __('To be able to create images of the graphs for PDFs, please install the phantom.js extension. For that, it is necessary to follow these steps:'),
|
'message' => __('To be able to create images of the graphs for PDFs, please install the PhantomJS extension. For that, it is necessary to follow these steps:'),
|
||||||
'url' => $url,
|
'url' => $url,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1377,7 +1375,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.HISTORYDB',
|
'type' => 'NOTIF.HISTORYDB',
|
||||||
'title' => __('Historical database not available'),
|
'title' => __('Historical database not available'),
|
||||||
'message' => __('Historical database is enabled. But not available using given configuration. Please check it.'),
|
'message' => __('Historical database is enabled, though not accessible with the current configuration.'),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=hist_db',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=hist_db',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1420,9 +1418,9 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PANDORADB',
|
'type' => 'NOTIF.PANDORADB',
|
||||||
'title' => __('Database maintance problem'),
|
'title' => __('Database maintenance problem'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Your database is not maintained correctly. It seems that more than 48hrs have passed without proper maintenance. Please review documents of %s on how to perform this maintenance process (DB Tool) and enable it as soon as possible.',
|
'Your database hasn\'t been through maintenance for 48hrs. Please, check documentation on how to perform this maintenance process on %s and enable it as soon as possible.',
|
||||||
io_safe_output(get_product_name())
|
io_safe_output(get_product_name())
|
||||||
),
|
),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
||||||
|
@ -1482,9 +1480,9 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.PANDORADB.HISTORY',
|
'type' => 'NOTIF.PANDORADB.HISTORY',
|
||||||
'title' => __(
|
'title' => __(
|
||||||
'Historical database maintance problem.'
|
'Historical database maintenance problem.'
|
||||||
),
|
),
|
||||||
'message' => __('Your historical database is not being maintained correctly. It seems that more than 48hrs have passed without proper maintenance. Please review documents of %s on how to perform this maintenance process (DB Tool) and enable it as soon as possible.', get_product_name()),
|
'message' => __('Your historical database hasn\'t been through maintenance for 48hrs. Please, check documentation on how to perform this maintenance process on %s and enable it as soon as possible.', get_product_name()),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1522,8 +1520,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.HISTORYDB.MR',
|
'type' => 'NOTIF.HISTORYDB.MR',
|
||||||
'title' => __('Historical database MR missmatch'),
|
'title' => __('Historical database MR mismatch'),
|
||||||
'message' => __('Your historical database is not using the same schema of main DB. This could produce anomalyes while storing historical data.'),
|
'message' => __('Your historical database is not using the same schema as the main DB. This could produce anomalies while storing historical data.'),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=hist_db',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=hist_db',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1565,7 +1563,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.EXT.ELASTICSEARCH',
|
'type' => 'NOTIF.EXT.ELASTICSEARCH',
|
||||||
'title' => __('Log collector cannot connect to ElasticSearch'),
|
'title' => __('Log collector cannot connect to ElasticSearch'),
|
||||||
'message' => __('ElasticSearch is not available using current configuration. Please check it.'),
|
'message' => __('ElasticSearch is not available using current configuration.'),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=log',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=log',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1635,7 +1633,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.METACONSOLE.DB_CONNECTION',
|
'type' => 'NOTIF.METACONSOLE.DB_CONNECTION',
|
||||||
'title' => __('Metaconsole DB is not available.'),
|
'title' => __('Metaconsole DB is not available.'),
|
||||||
'message' => __('Cannot connect with Metaconsole DB using stored configuration. Please check it.'),
|
'message' => __('Cannot connect with Metaconsole DB using current configuration.'),
|
||||||
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=enterprise',
|
'url' => 'index.php?sec=general&sec2=godmode/setup/setup§ion=enterprise',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1664,7 +1662,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.DOWNTIME',
|
'type' => 'NOTIF.DOWNTIME',
|
||||||
'title' => __('Scheduled downtime running.'),
|
'title' => __('Scheduled downtime running.'),
|
||||||
'message' => __('A scheduled downtime is running. Some monitorization data won\'t be available while downtime is taking place.'),
|
'message' => __('A scheduled downtime is running. Some monitoring data won\'t be available while downtime is taking place.'),
|
||||||
'url' => 'index.php?sec=gagente&sec2=godmode/agentes/planned_downtime.list',
|
'url' => 'index.php?sec=gagente&sec2=godmode/agentes/planned_downtime.list',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1822,7 +1820,7 @@ class ConsoleSupervisor
|
||||||
'type' => 'NOTIF.DOWNTIME',
|
'type' => 'NOTIF.DOWNTIME',
|
||||||
'title' => __('Downtime scheduled soon.'),
|
'title' => __('Downtime scheduled soon.'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'A scheduled downtime is going to be executed from %s to %s. Some monitorization data won\'t be available while downtime is taking place.',
|
'A scheduled downtime is going to be executed from %s to %s. Some monitoring data won\'t be available while downtime is taking place.',
|
||||||
date('M j, G:i:s ', $next_downtime_begin),
|
date('M j, G:i:s ', $next_downtime_begin),
|
||||||
date('M j, G:i:s ', $next_downtime_end)
|
date('M j, G:i:s ', $next_downtime_end)
|
||||||
),
|
),
|
||||||
|
@ -1858,7 +1856,7 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.UPDATEMANAGER.REGISTRATION',
|
'type' => 'NOTIF.UPDATEMANAGER.REGISTRATION',
|
||||||
'title' => __('This instance is not registered in the Update manager'),
|
'title' => __('This instance is not registered in the Update manager section'),
|
||||||
'message' => __('Click <a style="font-weight:bold; text-decoration:underline" href="javascript: force_run_register();"> here</a> to start the registration process'),
|
'message' => __('Click <a style="font-weight:bold; text-decoration:underline" href="javascript: force_run_register();"> here</a> to start the registration process'),
|
||||||
'url' => 'javascript: force_run_register();',
|
'url' => 'javascript: force_run_register();',
|
||||||
]
|
]
|
||||||
|
@ -1897,7 +1895,7 @@ class ConsoleSupervisor
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.NEWSLETTER.SUBSCRIPTION',
|
'type' => 'NOTIF.NEWSLETTER.SUBSCRIPTION',
|
||||||
'title' => __('Not subscribed to the newsletter'),
|
'title' => __('Not subscribed to the newsletter'),
|
||||||
'message' => __('Click <a style="font-weight:bold; text-decoration:underline" href="javascript: force_run_newsletter();"> here</a> to start the newsletter subscription process'),
|
'message' => __('Click <a style="font-weight:bold; text-decoration:underline" href="javascript: force_run_newsletter();"> here</a> to subscribe to the newsletter'),
|
||||||
'url' => 'javascript: force_run_newsletter();',
|
'url' => 'javascript: force_run_newsletter();',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1929,8 +1927,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.SECURITY.DEFAULT_PASSWORD',
|
'type' => 'NOTIF.SECURITY.DEFAULT_PASSWORD',
|
||||||
'title' => __('Default password for "Admin" user has not been changed.'),
|
'title' => __('Default password for "Admin" user has not been changed'),
|
||||||
'message' => __('Please change the default password because is a common vulnerability reported.'),
|
'message' => __('Please, change the default password since it is a commonly reported vulnerability.'),
|
||||||
'url' => 'index.php?sec=gusuarios&sec2=godmode/users/user_list',
|
'url' => 'index.php?sec=gusuarios&sec2=godmode/users/user_list',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1955,8 +1953,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.MISC.FONTPATH',
|
'type' => 'NOTIF.MISC.FONTPATH',
|
||||||
'title' => __('Default font doesnt exist'),
|
'title' => __('Default font doesn\'t exist'),
|
||||||
'message' => __('Your defined font doesnt exist or is not defined. Please check font parameters in your config'),
|
'message' => __('Your defined font doesn\'t exist or is not defined. Please, check font parameters in your config'),
|
||||||
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/setup§ion=vis',
|
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/setup§ion=vis',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -1981,7 +1979,7 @@ class ConsoleSupervisor
|
||||||
'type' => 'NOTIF.MISC.DEVELOPBYPASS',
|
'type' => 'NOTIF.MISC.DEVELOPBYPASS',
|
||||||
'title' => __('Developer mode is enabled'),
|
'title' => __('Developer mode is enabled'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'Your %s has the "develop_bypass" mode enabled. This is a developer mode and should be disabled in a production system. This value is written in the main index.php file',
|
'Your %s has the "develop_bypass" mode enabled. This is a developer mode and should be disabled in a production environment. This value is located in the main index.php file',
|
||||||
get_product_name()
|
get_product_name()
|
||||||
),
|
),
|
||||||
'url' => 'index.php',
|
'url' => 'index.php',
|
||||||
|
@ -2005,8 +2003,8 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.MISC.EVENTSTORMPROTECTION',
|
'type' => 'NOTIF.MISC.EVENTSTORMPROTECTION',
|
||||||
'title' => __('Event storm protection is activated.'),
|
'title' => __('Event storm protection is enabled.'),
|
||||||
'message' => __('You need to restart server after altering this configuration setting. No events will be generated during this mode.'),
|
'message' => __('Some events may get lost while this mode is enabled. The server must be restarted after altering this setting.'),
|
||||||
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/setup§ion=general',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -2032,7 +2030,7 @@ class ConsoleSupervisor
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.UPDATEMANAGER.OPENSETUP',
|
'type' => 'NOTIF.UPDATEMANAGER.OPENSETUP',
|
||||||
'title' => __('Error, first setup "Open update".'),
|
'title' => __('Failed to retrieve updates, please configure utility'),
|
||||||
'message' => $message,
|
'message' => $message,
|
||||||
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/setup§ion=general',
|
'url' => 'index.php?sec=gsetup&sec2=godmode/setup/setup§ion=general',
|
||||||
]
|
]
|
||||||
|
@ -2089,7 +2087,7 @@ class ConsoleSupervisor
|
||||||
'type' => 'NOTIF.UPDATEMANAGER.MINOR',
|
'type' => 'NOTIF.UPDATEMANAGER.MINOR',
|
||||||
'title' => __('Minor release/s available'),
|
'title' => __('Minor release/s available'),
|
||||||
'message' => __(
|
'message' => __(
|
||||||
'There are one or more minor releases waiting for update. <a style="font-size:8pt;font-style:italic;" target="blank" href="%s">.About minor release update</a>.',
|
'There is one or more minor releases available. <a style="font-size:8pt;font-style:italic;" target="blank" href="%s">.About minor release update</a>.',
|
||||||
$url
|
$url
|
||||||
),
|
),
|
||||||
'url' => $url,
|
'url' => $url,
|
||||||
|
@ -2115,9 +2113,9 @@ class ConsoleSupervisor
|
||||||
if ($config['cron_last_run'] == 0
|
if ($config['cron_last_run'] == 0
|
||||||
|| (get_system_time() - $config['cron_last_run']) > 3600
|
|| (get_system_time() - $config['cron_last_run']) > 3600
|
||||||
) {
|
) {
|
||||||
$message_conf_cron = __('DiscoveryConsoleTasks is not running properly.').' ';
|
$message_conf_cron = __('DiscoveryConsoleTasks is not running properly');
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
|
if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
|
||||||
$message_conf_cron .= __('Discovery relies on a proper setup of cron, the time-based scheduling service');
|
$message_conf_cron .= __('Discovery relies on an appropriate cron setup.');
|
||||||
$message_conf_cron .= '. '.__('Please, add the following line to your crontab file:');
|
$message_conf_cron .= '. '.__('Please, add the following line to your crontab file:');
|
||||||
$message_conf_cron .= '<pre>* * * * * <user> wget -q -O - --no-check-certificate ';
|
$message_conf_cron .= '<pre>* * * * * <user> wget -q -O - --no-check-certificate ';
|
||||||
$message_conf_cron .= str_replace(
|
$message_conf_cron .= str_replace(
|
||||||
|
@ -2133,7 +2131,7 @@ class ConsoleSupervisor
|
||||||
if (isset($config['cron_last_run']) === true) {
|
if (isset($config['cron_last_run']) === true) {
|
||||||
$message_conf_cron .= __('Last execution').': ';
|
$message_conf_cron .= __('Last execution').': ';
|
||||||
$message_conf_cron .= date('Y/m/d H:i:s', $config['cron_last_run']);
|
$message_conf_cron .= date('Y/m/d H:i:s', $config['cron_last_run']);
|
||||||
$message_conf_cron .= __('Please check process is no locked.');
|
$message_conf_cron .= __('Please, make sure process is not locked.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->notify(
|
$this->notify(
|
||||||
|
|
Loading…
Reference in New Issue