mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 14:02:54 +09:00
More messaging
This commit is contained in:
1 parent
ec655bfb40
commit
b9b2bcd4a2
2 files changed
+8
-2
No files matched your search
@@ -299,11 +299,14 @@ $messages = array(
|
||||
'poller_nosync' => array(
|
||||
'message' => __('Data Collector synchronization must be initiated from the main Cacti server.'),
|
||||
'level' => MESSAGE_LEVEL_ERROR),
|
||||
'poller_nomain' => array(
|
||||
'message' => __('Synchronization does not include the Central Cacti Database server.'),
|
||||
'level' => MESSAGE_LEVEL_ERROR),
|
||||
'poller_nodupe' => array(
|
||||
'message' => __('When saving a Remote Data Collector, the DB Hostname must be unique from all others.'),
|
||||
'message' => __('When saving a Remote Data Collector, the Database Hostname must be unique from all others.'),
|
||||
'level' => MESSAGE_LEVEL_ERROR),
|
||||
'poller_dbhost' => array(
|
||||
'message' => __('Your Remote Database Hostname must be something other than \'localhost\' for each Remote Data Collector..'),
|
||||
'message' => __('Your Remote Database Hostname must be something other than \'localhost\' for each Remote Data Collector.'),
|
||||
'level' => MESSAGE_LEVEL_ERROR),
|
||||
'reports_save' => array(
|
||||
'message' => __('Report Saved'),
|
||||
|
||||
@@ -316,6 +316,9 @@ function form_actions() {
|
||||
if ($poller['dbhost'] == 'localhost') {
|
||||
raise_message('poller_dbhost');
|
||||
continue;
|
||||
} elseif ($item == 1) {
|
||||
raise_message('poller_nomain');
|
||||
continue;
|
||||
} else {
|
||||
replicate_out($item);
|
||||
|
||||
|
||||
Reference in new issue
Block a user