2009-06-25 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_db.php, operation/snmpconsole/snmp_view.php, * operation/agentes/status_monitor.php, * operation/agentes/estado_grupo.php, * operation/agentes/estado_ultimopaquete.php, * operation/agentes/alerts_status.php, * operation/agentes/estado_generalagente.php, * operation/agentes/estado_agente.php, * operation/agentes/exportdata.php, * operation/agentes/estado_monitores.php, * operation/agentes/tactical.php, operation/agentes/networkmap.php, * operation/reporting/reporting_viewer.php, reporting/fgraph.php, * general/pandora_help.php, general/logoff.php, * general/logon_failed.php, godmode/setup/setup.php, * godmode/setup/links.php, godmode/snmpconsole/snmp_alert.php, * godmode/profiles/profile_list.php, godmode/db/db_main.php, * godmode/db/db_audit.php, godmode/db/db_refine.php, * godmode/db/db_info.php, godmode/db/db_event.php, * godmode/db/db_purge.php, * godmode/agentes/massive_delete_agents.php, * godmode/agentes/massive_config.php, * godmode/agentes/massive_delete_alerts.php, * godmode/agentes/massive_edit_modules.php, * godmode/agentes/module_manager.php, * godmode/agentes/massive_delete_modules.php, * godmode/agentes/configurar_agente.php, * godmode/agentes/planned_downtime.php, * godmode/modules/manage_network_templates_form.php, * godmode/modules/manage_network_components.php, * godmode/reporting/map_builder.php, * godmode/reporting/map_builder_wizard.php, * godmode/servers/manage_export.php, * godmode/servers/manage_export_form.php, * godmode/servers/plugin.php, godmode/servers/modificar_server.php, * godmode/servers/manage_recontask_form.php, * godmode/alerts/alert_compounds.php, godmode/menu.php: Some * translatable strings reused to simplify i18n work. * include/languages/es.po, include/languages/es.mo: Updated Spanish * translation. * include/languages/index.pot: Updated po template. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
034b67aaa5
commit
6b6b9cc52e
|
@ -1,3 +1,47 @@
|
|||
2009-06-25 Jorge Gonzalez <jorgegonz@artica.es>
|
||||
|
||||
* include/functions_db.php, operation/snmpconsole/snmp_view.php,
|
||||
* operation/agentes/status_monitor.php,
|
||||
* operation/agentes/estado_grupo.php,
|
||||
* operation/agentes/estado_ultimopaquete.php,
|
||||
* operation/agentes/alerts_status.php,
|
||||
* operation/agentes/estado_generalagente.php,
|
||||
* operation/agentes/estado_agente.php,
|
||||
* operation/agentes/exportdata.php,
|
||||
* operation/agentes/estado_monitores.php,
|
||||
* operation/agentes/tactical.php, operation/agentes/networkmap.php,
|
||||
* operation/reporting/reporting_viewer.php, reporting/fgraph.php,
|
||||
* general/pandora_help.php, general/logoff.php,
|
||||
* general/logon_failed.php, godmode/setup/setup.php,
|
||||
* godmode/setup/links.php, godmode/snmpconsole/snmp_alert.php,
|
||||
* godmode/profiles/profile_list.php, godmode/db/db_main.php,
|
||||
* godmode/db/db_audit.php, godmode/db/db_refine.php,
|
||||
* godmode/db/db_info.php, godmode/db/db_event.php,
|
||||
* godmode/db/db_purge.php,
|
||||
* godmode/agentes/massive_delete_agents.php,
|
||||
* godmode/agentes/massive_config.php,
|
||||
* godmode/agentes/massive_delete_alerts.php,
|
||||
* godmode/agentes/massive_edit_modules.php,
|
||||
* godmode/agentes/module_manager.php,
|
||||
* godmode/agentes/massive_delete_modules.php,
|
||||
* godmode/agentes/configurar_agente.php,
|
||||
* godmode/agentes/planned_downtime.php,
|
||||
* godmode/modules/manage_network_templates_form.php,
|
||||
* godmode/modules/manage_network_components.php,
|
||||
* godmode/reporting/map_builder.php,
|
||||
* godmode/reporting/map_builder_wizard.php,
|
||||
* godmode/servers/manage_export.php,
|
||||
* godmode/servers/manage_export_form.php,
|
||||
* godmode/servers/plugin.php, godmode/servers/modificar_server.php,
|
||||
* godmode/servers/manage_recontask_form.php,
|
||||
* godmode/alerts/alert_compounds.php, godmode/menu.php: Some
|
||||
* translatable strings reused to simplify i18n work.
|
||||
|
||||
* include/languages/es.po, include/languages/es.mo: Updated Spanish
|
||||
* translation.
|
||||
|
||||
* include/languages/index.pot: Updated po template.
|
||||
|
||||
2009-06-24 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* operation/agentes/estado_generalagente.php,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
?>
|
||||
<div class="databox" id="login">
|
||||
<h1 id="log"><?php echo __('Logged Out'); ?></h1>
|
||||
<h1 id="log"><?php echo __('Logged out'); ?></h1>
|
||||
<div class="databox" style="width: 400px;">
|
||||
<table cellpadding="4" cellspacing="1" width="400">
|
||||
<tr><td align="left">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<div class='databox' id='login'>
|
||||
<div id='login_f' class='databox'>
|
||||
<h1 id="log_f" style='margin-top: 0px;' class="error"><?php echo __('Authentication Error'); ?></h1>
|
||||
<h1 id="log_f" style='margin-top: 0px;' class="error"><?php echo __('Authentication error'); ?></h1>
|
||||
|
||||
<div style='width: 350px'>
|
||||
<a href="index.php"><img src="images/pandora_logo.png" border="0"></a><br>
|
||||
|
|
|
@ -54,7 +54,7 @@ echo '<div>';
|
|||
echo '<span style="float:left; margin: 0px; padding: 0px">';
|
||||
echo '<img src="../images/pandora_textlogo.png" border=0>';
|
||||
echo "</span>";
|
||||
echo '<p style="text-align: right"><strong>'.__('Pandora FMS Help System').'</strong></p>';
|
||||
echo '<p style="text-align: right"><strong>'.__('Pandora FMS help system').'</strong></p>';
|
||||
echo '</div>';
|
||||
echo '<hr width="100%" size="1" />';
|
||||
echo '<div style="font-family: verdana, arial; font-size: 11px; text-align:left">';
|
||||
|
|
|
@ -314,7 +314,7 @@ if (isset($_POST["update_agent"])) { // if modified some agent paramenter
|
|||
print_error_message (__('There was a problem updating the agent'));
|
||||
} else {
|
||||
enterprise_hook ('update_agent', array ($id_agente));
|
||||
print_success_message (__('Agent successfully updated'));
|
||||
print_success_message (__('Successfully updated'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ require_once ('include/functions_agents.php');
|
|||
require_once ('include/functions_alerts.php');
|
||||
require_once ('include/functions_modules.php');
|
||||
|
||||
echo '<h3>'.__('Configuration Management').'</h3>';
|
||||
echo '<h3>'.__('Configuration management').'</h3>';
|
||||
|
||||
$source_id_group = (int) get_parameter ('source_id_group');
|
||||
$source_id_agent = (int) get_parameter ('source_id_agent');
|
||||
|
|
|
@ -92,7 +92,7 @@ $table->data[1][0] .= '</span>';
|
|||
$table->data[1][1] = print_select (get_group_agents ($id_group, false, "none"),
|
||||
'id_agents[]', 0, false, '', '', true, true);
|
||||
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure').'\')) return false;">';
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure?').'\')) return false;">';
|
||||
print_table ($table);
|
||||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'" onsubmit="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
|
||||
|
|
|
@ -112,7 +112,7 @@ $agents_alerts = get_agents_with_alert_template ($id_alert_template, $id_group,
|
|||
$table->data[2][1] = print_select (index_array ($agents_alerts, 'id_agente', 'nombre'),
|
||||
'id_agents[]', '', '', '', '', true, true, true, '', $id_alert_template == 0);
|
||||
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure').'\')) return false;">';
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure?').'\')) return false;">';
|
||||
print_table ($table);
|
||||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'" onsubmit="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
|
||||
|
|
|
@ -117,7 +117,7 @@ $agents = get_agents_with_module_name ($module_name, $id_group,
|
|||
$table->data[2][1] = print_select (index_array ($agents, 'id_agente', 'nombre'),
|
||||
'id_agents[]', 0, false, __('None'), 0, true, true, true, '', empty ($module_name));
|
||||
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure').'\')) return false;">';
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure?').'\')) return false;">';
|
||||
print_table ($table);
|
||||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'" onsubmit="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
|
||||
|
|
|
@ -154,7 +154,7 @@ $table->data['edit2'][1] = print_input_text ('min_ff_event', '', '', 5, 15, true
|
|||
$table->data['edit2'][2] = __('Historical data');
|
||||
$table->data['edit2'][3] = print_checkbox ("history_data", 1, '', true);
|
||||
|
||||
echo '<form method="post" id="form_edit" onsubmit="if (! confirm(\''.__('Are you sure').'\')) return false;">';
|
||||
echo '<form method="post" id="form_edit" onsubmit="if (! confirm(\''.__('Are you sure?').'\')) return false;">';
|
||||
print_table ($table);
|
||||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'" onsubmit="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
|
||||
|
|
|
@ -47,11 +47,11 @@ $modules['dataserver'] = __('Create a new data server module');
|
|||
if ($network_available)
|
||||
$modules['networkserver'] = __('Create a new network server module');
|
||||
if ($plugin_available)
|
||||
$modules['pluginserver'] = __('Create a new plugin Server module');
|
||||
$modules['pluginserver'] = __('Create a new plugin server module');
|
||||
if ($wmi_available)
|
||||
$modules['wmiserver'] = __('Create a new WMI Server module');
|
||||
$modules['wmiserver'] = __('Create a new WMI server module');
|
||||
if ($prediction_available)
|
||||
$modules['predictionserver'] = __('Create a new prediction Server module');
|
||||
$modules['predictionserver'] = __('Create a new prediction server module');
|
||||
|
||||
enterprise_hook ('set_enterprise_module_types', array (&$modules));
|
||||
print_select ($modules, 'moduletype', '', '', '', '', false, false, false);
|
||||
|
|
|
@ -176,7 +176,7 @@ if ($create_downtime || $update_downtime) {
|
|||
|
||||
echo "<td valign=top>";
|
||||
// Show available agents to include into downtime
|
||||
echo '<h3>'.__('Available Agents').':</h3>';
|
||||
echo '<h3>'.__('Available agents').':</h3>';
|
||||
|
||||
|
||||
$filter_group = get_parameter("filter_group", -1);
|
||||
|
@ -263,8 +263,8 @@ if ($create_downtime || $update_downtime) {
|
|||
$table->head[1] = __('Description');
|
||||
$table->head[2] = __('From');
|
||||
$table->head[3] = __('To');
|
||||
$table->head[4] = __('Del');
|
||||
$table->head[5] = __('Upd');
|
||||
$table->head[4] = __('Delete');
|
||||
$table->head[5] = __('Update');
|
||||
$table->head[6] = __('Running');
|
||||
|
||||
$sql = "SELECT * FROM tplanned_downtime";
|
||||
|
|
|
@ -175,7 +175,7 @@ foreach ($id_alerts as $alert) {
|
|||
$data[1] .= '</a>';
|
||||
$data[2] = get_agent_name ($alert['id_agent']);
|
||||
$data[3] = '<a href="'.$url.'&delete_alert=1&id='.$alert['id'].'"
|
||||
onClick="javascript:confirm(\''.__('Are you sure').'\')">';
|
||||
onClick="javascript:confirm(\''.__('Are you sure?').'\')">';
|
||||
$data[3] .= '<img src="images/cross.png" title="'.__('Delete').'" />';
|
||||
$data[3] .= '</a>';
|
||||
|
||||
|
|
|
@ -66,8 +66,8 @@ if (isset($_POST["purgedb"])){ # Fixed 2005-1-13, nil
|
|||
}
|
||||
# End of get parameters block
|
||||
|
||||
echo "<h2>".__('Database Maintenance')." » ";
|
||||
echo __('Database Audit purge')."</h2>";
|
||||
echo "<h2>".__('Database maintenance')." » ";
|
||||
echo __('Database audit purge')."</h2>";
|
||||
|
||||
echo "<table cellpadding='4' cellspacing='4' class='databox'>";
|
||||
echo "<tr><td class='datos'>";
|
||||
|
|
|
@ -39,7 +39,7 @@ if (isset ($_POST["date_purge"])){
|
|||
}
|
||||
# End of get parameters block
|
||||
|
||||
echo "<h2>".__('Database Maintenance')." » ".__('Event Database cleanup')."</h2>";
|
||||
echo "<h2>".__('Database maintenance')." » ".__('Event database cleanup')."</h2>";
|
||||
|
||||
$row = get_db_row_sql ("SELECT COUNT(*) AS total, MIN(timestamp) AS first_date, MAX(timestamp) AS latest_date FROM tevento");
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ if (! give_acl ($config['id_user'], 0, "DM")) {
|
|||
- A more powerful selection (by Agent, by Module, etc).
|
||||
*/
|
||||
|
||||
echo "<h2>".__('Database Maintenance')." » ";
|
||||
echo __('Database Information')."</h2>";
|
||||
echo "<h2>".__('Database maintenance')." » ";
|
||||
echo __('Database information')."</h2>";
|
||||
echo '<div id="db_info_graph">';
|
||||
echo '<table border=0>';
|
||||
echo '<tr><td>';
|
||||
|
|
|
@ -35,7 +35,7 @@ if (! give_acl ($config['id_user'], 0, "DM")) {
|
|||
- A more powerful selection (by Agent, by Module, etc).
|
||||
*/
|
||||
|
||||
echo '<h2>'.__('Database Maintenance').' » '.__('Current database maintenance setup').'</h2>
|
||||
echo '<h2>'.__('Database maintenance').' » '.__('Current database maintenance setup').'</h2>
|
||||
<table width="550" cellspacing="3" cellpadding="3" border="0">
|
||||
<tr><td>
|
||||
<i>'.__('Max. time before compact data').':</i> <b>'.$config['days_compact'].' '.__('days').'</b><br /><br />
|
||||
|
|
|
@ -30,7 +30,7 @@ if (! give_acl ($config['id_user'], 0, "DM")) {
|
|||
//id_agent = -1: None selected; id_agent = 0: All
|
||||
$id_agent = (int) get_parameter_post ("agent", -1);
|
||||
|
||||
echo '<h2>'.__('Database Maintenance').' » '.__('Database purge').'</h2>
|
||||
echo '<h2>'.__('Database maintenance').' » '.__('Database purge').'</h2>
|
||||
<img src="reporting/fgraph.php?tipo=db_agente_purge&id='.$id_agent.'" />
|
||||
<br /><br />
|
||||
<h3>'.__('Get data from agent').'</h3>';
|
||||
|
|
|
@ -26,7 +26,7 @@ if (! give_acl ($config['id_user'], 0, "DM")) {
|
|||
exit;
|
||||
}
|
||||
|
||||
echo '<h2>'.__('Database Maintenance').' » '.__('Database debug').'</h2>';
|
||||
echo '<h2>'.__('Database maintenance').' » '.__('Database debug').'</h2>';
|
||||
|
||||
|
||||
if ((isset ($_GET["operacion"])) && (!isset ($_POST["update_agent"]))) {
|
||||
|
|
|
@ -173,12 +173,12 @@ if (give_acl ($config['id_user'], 0, "PM")) {
|
|||
}
|
||||
|
||||
if (give_acl ($config['id_user'], 0, "DM")) {
|
||||
$menu["gdbman"]["text"] = __('DB Maintenance');
|
||||
$menu["gdbman"]["text"] = __('DB maintenance');
|
||||
$menu["gdbman"]["sec2"] = "godmode/db/db_main";
|
||||
$menu["gdbman"]["id"] = "god-dbmaint";
|
||||
|
||||
$sub = array ();
|
||||
$sub["godmode/db/db_info"]["text"] = __('DB Information');
|
||||
$sub["godmode/db/db_info"]["text"] = __('DB information');
|
||||
|
||||
$sub["godmode/db/db_purge"]["text"] = __('Database purge');
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ $table->head[2] = __('Interval');
|
|||
$table->head[3] = __('Description');
|
||||
$table->head[4] = __('Group');
|
||||
$table->head[5] = __('Max/Min');
|
||||
$table->head[6] = __('');
|
||||
$table->head[6] = __('Action');
|
||||
$table->size = array ();
|
||||
$table->size[6] = '40px';
|
||||
$table->data = array ();
|
||||
|
|
|
@ -172,7 +172,7 @@ if ($id_np > 0) {
|
|||
}
|
||||
unset ($table);
|
||||
|
||||
echo "<h3>".__('Add Modules')."</h3>";
|
||||
echo "<h3>".__('Add modules')."</h3>";
|
||||
|
||||
//Here should be a form to filter group
|
||||
|
||||
|
|
|
@ -224,16 +224,16 @@ if ($id_profile || $new_profile) {
|
|||
|
||||
$table->head = array ();
|
||||
$table->head[0] = __('Profiles');
|
||||
$table->head[1] = 'IR'.print_help_tip (__('Read Incidents'), true);
|
||||
$table->head[2] = 'IW'.print_help_tip (__('Create Incidents'), true);
|
||||
$table->head[3] = 'IM'.print_help_tip (__('Manage Incidents'), true);
|
||||
$table->head[4] = 'AR'.print_help_tip (__('Read Agent Information'), true);
|
||||
$table->head[5] = 'AW'.print_help_tip (__('Manage Agents'), true);
|
||||
$table->head[6] = 'LW'.print_help_tip (__('Edit Alerts'), true);
|
||||
$table->head[7] = 'UM'.print_help_tip (__('Manage User Rights'), true);
|
||||
$table->head[8] = 'DM'.print_help_tip (__('Database Management'), true);
|
||||
$table->head[9] = 'LM'.print_help_tip (__('Alerts Management'), true);
|
||||
$table->head[10] = 'PM'.print_help_tip (__('Pandora System Management'), true);
|
||||
$table->head[1] = 'IR'.print_help_tip (__('Read incidents'), true);
|
||||
$table->head[2] = 'IW'.print_help_tip (__('Create incidents'), true);
|
||||
$table->head[3] = 'IM'.print_help_tip (__('Manage incidents'), true);
|
||||
$table->head[4] = 'AR'.print_help_tip (__('Read agent information'), true);
|
||||
$table->head[5] = 'AW'.print_help_tip (__('Manage agents'), true);
|
||||
$table->head[6] = 'LW'.print_help_tip (__('Edit alerts'), true);
|
||||
$table->head[7] = 'UM'.print_help_tip (__('Manage user rights'), true);
|
||||
$table->head[8] = 'DM'.print_help_tip (__('Database management'), true);
|
||||
$table->head[9] = 'LM'.print_help_tip (__('Alerts management'), true);
|
||||
$table->head[10] = 'PM'.print_help_tip (__('Pandora system management'), true);
|
||||
$table->head[11] = __('Delete');
|
||||
|
||||
$table->align = array ();
|
||||
|
@ -276,7 +276,7 @@ if ($id_profile || $new_profile) {
|
|||
print_table ($table);
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
print_input_hidden ('new_profile', 1);
|
||||
print_submit_button (__('Create profile'), "crt", false, 'class="sub next"');
|
||||
print_submit_button (__('Create'), "crt", false, 'class="sub next"');
|
||||
echo "</div>";
|
||||
echo '</form>';
|
||||
}
|
||||
|
|
|
@ -378,18 +378,18 @@ if (! $edit_layout && ! $id_layout) {
|
|||
|
||||
/* Layout_data editor form */
|
||||
$intervals = array ();
|
||||
$intervals[3600] = __('Hour');
|
||||
$intervals[7200] = "2 ".__('Hours');
|
||||
$intervals[10800] = "3 ".__('Hours');
|
||||
$intervals[21600] = "6 ".__('Hours');
|
||||
$intervals[43200] = "12 ".__('Hours');
|
||||
$intervals[3600] = __('hour');
|
||||
$intervals[7200] = "2 ".__('hours');
|
||||
$intervals[10800] = "3 ".__('hours');
|
||||
$intervals[21600] = "6 ".__('hours');
|
||||
$intervals[43200] = "12 ".__('hours');
|
||||
$intervals[86400] = __('Last day');
|
||||
$intervals[172800] = "2 ". __('days');
|
||||
$intervals[1209600] = __('Last week');
|
||||
$intervals[2419200] = __('15 days');
|
||||
$intervals[4838400] = __('Last Month');
|
||||
$intervals[9676800] = __('Two Months');
|
||||
$intervals[29030400] = __('Six Months');
|
||||
$intervals[4838400] = __('Last month');
|
||||
$intervals[9676800] = __('Two months');
|
||||
$intervals[29030400] = __('Six months');
|
||||
|
||||
$agents = get_group_agents ($id_group);
|
||||
|
||||
|
|
|
@ -169,7 +169,7 @@ $table->data[3][1] = print_select (get_group_agents ($layout_group, false, "none
|
|||
$table->data[4][0] = __('Modules');
|
||||
$table->data[4][1] = print_select (array (), 'module[]', 0, false, '', '', true, true);
|
||||
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure').'\')) return false;">';
|
||||
echo '<form method="post" onsubmit="if (! confirm(\''.__('Are you sure?').'\')) return false;">';
|
||||
print_table ($table);
|
||||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'" onsubmit="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
|
||||
|
|
|
@ -84,7 +84,7 @@ if ($create) {
|
|||
}
|
||||
|
||||
// List export servers
|
||||
echo "<h2>".__('Pandora servers')." » ".__('export targets')."</h2>";
|
||||
echo "<h2>".__('Pandora servers')." » ".__('Export targets')."</h2>";
|
||||
|
||||
$result = get_db_all_rows_in_table ("tserver_export");
|
||||
if (!$result) {
|
||||
|
|
|
@ -55,7 +55,7 @@ else {
|
|||
$options = '';
|
||||
}
|
||||
|
||||
echo '<h2>'.__('Pandora servers').' » '.__('export targets');
|
||||
echo '<h2>'.__('Pandora servers').' » '.__('Export targets');
|
||||
//print_help_icon ("exportserver");
|
||||
echo '</h2>';
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ $table->data[0][0] = __('Task name');
|
|||
$table->data[0][1] = print_input_text ('name', $name, '', 25, 0, true);
|
||||
|
||||
// Recon server
|
||||
$table->data[1][0] = __('Recon Server').'<a href="#" class="tip"> <span>'.__('You must select a Recon Server for the Task, otherwise the Recon Task will never run').'</span></a>';
|
||||
$table->data[1][0] = __('Recon server').'<a href="#" class="tip"> <span>'.__('You must select a Recon Server for the Task, otherwise the Recon Task will never run').'</span></a>';
|
||||
$table->data[1][1] = print_select_from_sql ('SELECT id_server, name FROM tserver WHERE server_type = 3 ORDER BY name',
|
||||
"id_recon_server", $id_recon_server, '', '', '', true);
|
||||
|
||||
|
|
|
@ -125,10 +125,10 @@ if (isset($_GET["server"])) {
|
|||
//Legend
|
||||
echo "<table>";
|
||||
echo "<tr>";
|
||||
echo '<td><span class="net">'.__('Network Server').'</span></td>';
|
||||
echo '<td><span class="net">'.__('Network server').'</span></td>';
|
||||
echo '<td><span class="master">'.__('Master').'</span></td>';
|
||||
echo '<td><span class="data">'.__('Data Server').'</span></td>';
|
||||
echo '<td><span class="binary">'.__('MD5 Check').'</span></td>';
|
||||
echo '<td><span class="data">'.__('Data server').'</span></td>';
|
||||
echo '<td><span class="binary">'.__('MD5 check').'</span></td>';
|
||||
echo '<td><span class="snmp">'.__('SNMP console').'</span></td>';
|
||||
echo "</tr></table>";
|
||||
} else {
|
||||
|
|
|
@ -161,7 +161,7 @@ if (($create != "") OR ($view != "")){
|
|||
$fields[1]= __("Nagios");
|
||||
print_select ($fields, "form_plugin_type", $form_plugin_type);
|
||||
|
||||
echo '<tr><td class="datos">'.__('Max.Timeout');
|
||||
echo '<tr><td class="datos">'.__('Max. timeout');
|
||||
echo '<td class="datos">';
|
||||
echo '<input type="text" name="form_max_timeout" size=5 value="'.$form_max_timeout.'"></td>';
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ if (! give_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_use
|
|||
if (! $result)
|
||||
echo "<h3 class='error'>".__('There was a problem creating link')."</h3>";
|
||||
else {
|
||||
echo "<h3 class='suc'>".__('Link successfully created')."</h3>";
|
||||
echo "<h3 class='suc'>".__('Successfully created')."</h3>";
|
||||
$id_link = mysql_insert_id();
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ if (! give_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_use
|
|||
if (! $result)
|
||||
echo "<h3 class='error'>".__('There was a problem modifying link')."</h3>";
|
||||
else
|
||||
echo "<h3 class='suc'>".__('Link successfully updated')."</h3>";
|
||||
echo "<h3 class='suc'>".__('Successfully updated')."</h3>";
|
||||
}
|
||||
|
||||
if (isset($_GET["borrar"])){ // if delete
|
||||
|
@ -57,7 +57,7 @@ if (! give_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_use
|
|||
if (! $result)
|
||||
echo "<h3 class='error'>".__('There was a problem deleting link')."</h3>";
|
||||
else
|
||||
echo "<h3 class='suc'>".__('Link successfully deleted')."</h3>";
|
||||
echo "<h3 class='suc'>".__('Successfully deleted')."</h3>";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ $table->data[4][1] = print_input_text ('days_purge', $config["days_purge"], '',
|
|||
$table->data[5][0] = __('Compact interpolation in hours (1 Fine-20 bad)');
|
||||
$table->data[5][1] = print_input_text ('step_compact', $config["step_compact"], '', 5, 5, true);
|
||||
|
||||
$table->data[6][0] = __('Auto login (Hash) password');
|
||||
$table->data[6][0] = __('Auto login (hash) password');
|
||||
$table->data[6][1] = print_input_text ('loginhash_pwd', $config["loginhash_pwd"], '', 15, 15, true);
|
||||
|
||||
$table->data[7][0] = __('Default hours for event view');
|
||||
|
|
|
@ -33,7 +33,7 @@ if (isset ($_GET["delete_alert"])) { // Delete alert
|
|||
if ($result === false) {
|
||||
echo '<h3 class="error">'.__('There was a problem deleting the alert').'</h3>';
|
||||
} else {
|
||||
echo '<h3 class="suc">'.__('Alert successfully deleted').'</h3>';
|
||||
echo '<h3 class="suc">'.__('Successfully deleted').'</h3>';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ if (isset ($_GET["submit"])) {
|
|||
if ($result === false) {
|
||||
echo '<h3 class="error">'.__('There was a problem creating the alert').'</h3>';
|
||||
} else {
|
||||
echo '<h3 class="suc">'.__('Alert successfully created').'</h3>';
|
||||
echo '<h3 class="suc">'.__('Successfully created').'</h3>';
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -88,7 +88,7 @@ if (isset ($_GET["submit"])) {
|
|||
if ($result === false) {
|
||||
echo '<h3 class="error">'.__('There was a problem updating the alert').'</h3>';
|
||||
} else {
|
||||
echo '<h3 class="suc">'.__('Alert successfully updated').'</h3>';
|
||||
echo '<h3 class="suc">'.__('Successfully updated').'</h3>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ if (isset ($_GET["update_alert"])) {
|
|||
// End table
|
||||
echo "</td></tr></table>";
|
||||
} else {
|
||||
echo "<h2>".__('Alert Overview')."</h2>";
|
||||
echo "<h2>".__('Alert overview')."</h2>";
|
||||
|
||||
require_once ('include/functions_alerts.php');
|
||||
|
||||
|
|
|
@ -2774,52 +2774,52 @@ function get_server_info ($id_server = -1) {
|
|||
foreach ($result as $server) {
|
||||
switch ($server['server_type']) {
|
||||
case 0:
|
||||
$server["img"] = print_image ("images/data.png", true, array ("title" => __('Data Server')));
|
||||
$server["img"] = print_image ("images/data.png", true, array ("title" => __('Data server')));
|
||||
$server["type"] = "data";
|
||||
$id_modulo = 1;
|
||||
break;
|
||||
case 1:
|
||||
$server["img"] = print_image ("images/network.png", true, array ("title" => __('Network Server')));
|
||||
$server["img"] = print_image ("images/network.png", true, array ("title" => __('Network server')));
|
||||
$server["type"] = "network";
|
||||
$id_modulo = 2;
|
||||
break;
|
||||
case 2:
|
||||
$server["img"] = print_image ("images/snmp.png", true, array ("title" => __('SNMP Server')));
|
||||
$server["img"] = print_image ("images/snmp.png", true, array ("title" => __('SNMP server')));
|
||||
$server["type"] = "snmp";
|
||||
$id_modulo = 0;
|
||||
break;
|
||||
case 3:
|
||||
$server["img"] = print_image ("images/recon.png", true, array ("title" => __('Recon Server')));
|
||||
$server["img"] = print_image ("images/recon.png", true, array ("title" => __('Recon server')));
|
||||
$server["type"] = "recon";
|
||||
$id_modulo = 0;
|
||||
break;
|
||||
case 4:
|
||||
$server["img"] = print_image ("images/plugin.png", true, array ("title" => __('Plugin Server')));
|
||||
$server["img"] = print_image ("images/plugin.png", true, array ("title" => __('Plugin server')));
|
||||
$server["type"] = "plugin";
|
||||
$id_modulo = 4;
|
||||
break;
|
||||
case 5:
|
||||
$server["img"] = print_image ("images/chart_bar.png", true, array ("title" => __('Prediction Server')));
|
||||
$server["img"] = print_image ("images/chart_bar.png", true, array ("title" => __('Prediction server')));
|
||||
$server["type"] = "prediction";
|
||||
$id_modulo = 5;
|
||||
break;
|
||||
case 6:
|
||||
$server["img"] = print_image ("images/wmi.png", true, array ("title" => __('WMI Server')));
|
||||
$server["img"] = print_image ("images/wmi.png", true, array ("title" => __('WMI server')));
|
||||
$server["type"] = "wmi";
|
||||
$id_modulo = 6;
|
||||
break;
|
||||
case 7:
|
||||
$server["img"] = print_image ("images/server_export.png", true, array ("title" => __('Export Server')));
|
||||
$server["img"] = print_image ("images/server_export.png", true, array ("title" => __('Export server')));
|
||||
$server["type"] = "export";
|
||||
$id_modulo = 0;
|
||||
break;
|
||||
case 8:
|
||||
$server["img"] = print_image ("images/page_white_text.png", true, array ("title" => __('Inventory Server')));
|
||||
$server["img"] = print_image ("images/page_white_text.png", true, array ("title" => __('Inventory server')));
|
||||
$server["type"] = "inventory";
|
||||
$id_modulo = 0;
|
||||
break;
|
||||
case 9:
|
||||
$server["img"] = print_image ("images/world.png", true, array ("title" => __('Web Server')));
|
||||
$server["img"] = print_image ("images/world.png", true, array ("title" => __('Web server')));
|
||||
$server["type"] = "web";
|
||||
$id_modulo = 0;
|
||||
break;
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -100,7 +100,7 @@ if ($tab != '') {
|
|||
$url = $url.'&tab='.$tab;
|
||||
}
|
||||
|
||||
echo "<h2>".__('Pandora Agents')." » ".__('Alerts').'</h2>';
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Alerts').'</h2>';
|
||||
|
||||
echo '<form method="post" action="'.$url.'">';
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ if (is_ajax ()) {
|
|||
$group_id = get_parameter ("group_id", 0);
|
||||
$search = get_parameter ("search", "");
|
||||
|
||||
echo "<h2>".__('Pandora Agents')." » ".__('Summary')."</h2>";
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Summary')."</h2>";
|
||||
|
||||
if ($group_id > 1) {
|
||||
echo '<form method="post" action="'.get_url_refresh (array ('group_id' => $group_id)).'">';
|
||||
|
|
|
@ -35,7 +35,7 @@ if (! give_acl ($config["id_user"], $agent["id_grupo"], "AR")) {
|
|||
return;
|
||||
}
|
||||
|
||||
echo "<h2>".__('Pandora Agents')." » ".__('Agent general information')."</h2>";
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Agent general information')."</h2>";
|
||||
|
||||
// Blank space below title
|
||||
echo '<div style="height: 10px"> </div>';
|
||||
|
|
|
@ -28,7 +28,7 @@ if (! give_acl ($config['id_user'], 0, "AR")) {
|
|||
require ("general/noaccess.php");
|
||||
exit;
|
||||
}
|
||||
echo "<h2>".__('Pandora Agents')." » ".__('Group view')."</h2>";
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Group view')."</h2>";
|
||||
|
||||
// Update network modules for this group
|
||||
// Check for Network FLAG change request
|
||||
|
|
|
@ -143,7 +143,7 @@ foreach ($modules as $module) {
|
|||
if (empty ($table->data)) {
|
||||
echo '<div class="nf">'.__('This agent doesn\'t have any active monitors').'</div>';
|
||||
} else {
|
||||
echo "<h3>".__('Full list of Monitors')."</h3>";
|
||||
echo "<h3>".__('Full list of monitors')."</h3>";
|
||||
print_table ($table);
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ $label_group = 0;
|
|||
$last_label = "";
|
||||
|
||||
// Title
|
||||
echo "<h2>".__('Pandora Agents')." » ";
|
||||
echo "<h2>".__('Pandora agents')." » ";
|
||||
echo __('Display of last data modules received by agent');
|
||||
echo " <a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=$id_agente&tab=data'><img src='images/refresh.png'></A>";
|
||||
echo "</h2>";
|
||||
|
|
|
@ -28,7 +28,7 @@ if (!give_acl ($config['id_user'], 0, "AR")) {
|
|||
|
||||
require_javascript_file ('calendar');
|
||||
|
||||
echo "<h2>".__('Pandora Agents')." » ".__('Export data')."</h2>";
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Export data')."</h2>";
|
||||
|
||||
$group = get_parameter_post ('group', 1);
|
||||
$agent = get_parameter_post ('agent', 0);
|
||||
|
|
|
@ -300,7 +300,7 @@ function set_filter () {
|
|||
|
||||
/* Main code */
|
||||
|
||||
echo '<h2>'.__('Pandora Agents').' » '.__('Network Map').' ';
|
||||
echo '<h2>'.__('Pandora agents').' » '.__('Network map').' ';
|
||||
if ($pure == 1) {
|
||||
echo '<a href="index.php?sec=estado&sec2=operation/agentes/networkmap&pure=0">';
|
||||
print_image ("images/normalscreen.png", false, array ('title' => __('Normal screen'), 'alt' => __('Normal screen')));
|
||||
|
@ -384,7 +384,7 @@ $filter = set_filter ();
|
|||
$graph = generate_dot ($group, $simple, $font_size);
|
||||
if ($graph === false) {
|
||||
print_error_message (__('Map could not be generated'));
|
||||
echo __('No agents were found');
|
||||
echo __('No agents found');
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -430,7 +430,7 @@ if ($result !== false) {
|
|||
echo "<br /> Is ".$config["attachment_store"]." readable by the webserver process?";
|
||||
return;
|
||||
}
|
||||
print_image ($filename_img, false, array ("alt" => __('Network Map'), "usemap" => "#networkmap"));
|
||||
print_image ($filename_img, false, array ("alt" => __('Network map'), "usemap" => "#networkmap"));
|
||||
require ($filename_map);
|
||||
} else {
|
||||
print_error_message (__('Map could not be generated'));
|
||||
|
|
|
@ -28,7 +28,7 @@ if (! give_acl ($config['id_user'], 0, "AR") && ! give_acl ($config['id_user'],
|
|||
return;
|
||||
}
|
||||
|
||||
echo '<h2>'.__('Pandora Agents').' » '.__('Full list of Monitors').'</h2>';
|
||||
echo '<h2>'.__('Pandora agents').' » '.__('Full list of monitors').'</h2>';
|
||||
|
||||
$ag_freestring = get_parameter ('ag_freestring');
|
||||
$ag_modulename = (string) get_parameter ('ag_modulename');
|
||||
|
@ -171,7 +171,7 @@ $table->head[1] = __('Agent');
|
|||
$table->head[2] = __('Type');
|
||||
$table->align[2] = "center";
|
||||
|
||||
$table->head[3] = __('Module Name');
|
||||
$table->head[3] = __('Module name');
|
||||
|
||||
$table->head[4] = __('Interval');
|
||||
$table->align[4] = "center";
|
||||
|
|
|
@ -45,7 +45,7 @@ function print_cells_temp ($cells) {
|
|||
}
|
||||
|
||||
|
||||
echo "<h2>".__('Pandora Agents')." » ".__('Tactical view')."</h2>";
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Tactical view')."</h2>";
|
||||
|
||||
$data = get_group_stats ();
|
||||
|
||||
|
|
|
@ -248,7 +248,7 @@ foreach ($contents as $content) {
|
|||
if (!empty ($slas)) {
|
||||
$data = array ();
|
||||
if ($sla_failed == false)
|
||||
$data[0] = '<span style="font: bold 3em Arial, Sans-serif; color: #000000;">'.__('Ok').'</span>';
|
||||
$data[0] = '<span style="font: bold 3em Arial, Sans-serif; color: #000000;">'.__('OK').'</span>';
|
||||
else
|
||||
$data[0] = '<span style="font: bold 3em Arial, Sans-serif; color: #ff0000;">'.__('Fail').'</span>';
|
||||
$n = array_push ($table->data, $data);
|
||||
|
|
|
@ -130,7 +130,7 @@ $table->data = array ();
|
|||
$agents = array ();
|
||||
$oids = array ();
|
||||
$severities = get_priorities ();
|
||||
$alerted = array (__('Not fired'), __('fired'));
|
||||
$alerted = array (__('Not fired'), __('Fired'));
|
||||
foreach ($traps as $trap) {
|
||||
$agent = get_agent_with_ip ($trap['source']);
|
||||
$agents[$trap["source"]] = $agent !== false ? $agent["nombre"] : $trap["source"];
|
||||
|
@ -349,7 +349,7 @@ foreach ($traps as $trap) {
|
|||
$data[8] .= '<a href="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&check='.$trap["id_trap"].'"><img src="images/ok.png" border="0" title="'.__('Validate').'" /></a>';
|
||||
}
|
||||
if (give_acl ($config["id_user"], 0, "IW")) {
|
||||
$data[8] .= '<a href="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&delete='.$trap["id_trap"].'&offset='.$offset.'" onClick="javascript:confirm(\''.__('Are you sure').'\')"><img src="images/cross.png" border="0" title="'.__('Delete').'"/></a>';
|
||||
$data[8] .= '<a href="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&delete='.$trap["id_trap"].'&offset='.$offset.'" onClick="javascript:confirm(\''.__('Are you sure?').'\')"><img src="images/cross.png" border="0" title="'.__('Delete').'"/></a>';
|
||||
}
|
||||
|
||||
$data[9] = print_checkbox_extended ("snmptrapid[]", $trap["id_trap"], false, false, '', 'class="chk"', true);
|
||||
|
@ -372,7 +372,7 @@ print_submit_button (__('Validate'), "updatebt", false, 'class="sub ok"');
|
|||
|
||||
if (give_acl ($config['id_user'], 0, "IM")) {
|
||||
echo " ";
|
||||
print_submit_button (__('Delete'), "deletebt", false, 'class="sub delete" onClick="javascript:confirm(\''.__('Are you sure').'\')"');
|
||||
print_submit_button (__('Delete'), "deletebt", false, 'class="sub delete" onClick="javascript:confirm(\''.__('Are you sure?').'\')"');
|
||||
}
|
||||
echo "</div></form>";
|
||||
|
||||
|
|
|
@ -468,8 +468,8 @@ function graph_incidents_status () {
|
|||
$data = array (0, 0, 0, 0);
|
||||
|
||||
$data = array ();
|
||||
$data[__('Open Incident')] = 0;
|
||||
$data[__('Closed Incident')] = 0;
|
||||
$data[__('Open incident')] = 0;
|
||||
$data[__('Closed incident')] = 0;
|
||||
$data[__('Outdated')] = 0;
|
||||
$data[__('Invalid')] = 0;
|
||||
|
||||
|
@ -480,9 +480,9 @@ function graph_incidents_status () {
|
|||
$incidents = array ();
|
||||
foreach ($incidents as $incident) {
|
||||
if ($incident["estado"] == 0)
|
||||
$data[__("Open Incident")]++;
|
||||
$data[__("Open incident")]++;
|
||||
if ($incident["estado"] == 2)
|
||||
$data[__("Closed Incident")]++;
|
||||
$data[__("Closed incident")]++;
|
||||
if ($incident["estado"] == 3)
|
||||
$data[__("Outdated")]++;
|
||||
if ($incident["estado"] == 13)
|
||||
|
|
Loading…
Reference in New Issue