2008-08-22 20:07:32 +02:00
|
|
|
<?php
|
|
|
|
|
2009-06-08 20:15:58 +02:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
|
|
|
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
2008-08-22 20:07:32 +02:00
|
|
|
|
2006-07-06 19:06:59 +02:00
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
2008-08-22 20:07:32 +02:00
|
|
|
// as published by the Free Software Foundation for version 2.
|
2006-07-06 19:06:59 +02:00
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
// Load globar vars
|
2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
vars.
* include/functions_servers.php: Solved issue with several undefined
vars.
* include/functions_config.php: Added metaconsola witch to readconfig.
* include/config_process.php: Update build.. is YYMMDD !
* include/functions_ui.php: Removed deprecated call to split and replaced
by preg_split.
* index.php: Activated developer mode.
* operation/agentes/estado_monitores.php: Solved small problem with modules
without history, filling missing column in table. Added headers
* godmode/alerts/configure_alert_compound.php,
operation/agentes/status_monitor.php
godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php,
godmode/alerts/alert_commands.php,
godmode/modules/manage_network_templates.php,
godmode/modules/module_list.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php: Removed deprecated call to include
config.php and in some cases, added new header style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:13:00 +01:00
|
|
|
global $config;
|
2008-06-30 18:38:26 +02:00
|
|
|
|
2008-11-20 22:26:59 +01:00
|
|
|
if (!isset ($id_agente)) {
|
|
|
|
//This page is included, $id_agente should be passed to it.
|
|
|
|
audit_db ($config['id_user'], $config['remote_addr'], "HACK Attempt",
|
|
|
|
"Trying to get to monitor list without id_agent passed");
|
|
|
|
include ("general/noaccess.php");
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Get all module from agent
|
2009-06-24 18:04:19 +02:00
|
|
|
$sql = sprintf ("
|
|
|
|
SELECT *
|
|
|
|
FROM tagente_estado, tagente_modulo
|
|
|
|
LEFT JOIN tmodule_group
|
|
|
|
ON tmodule_group.id_mg = tagente_modulo.id_module_group
|
|
|
|
WHERE tagente_estado.id_agente_modulo = tagente_modulo.id_agente_modulo
|
|
|
|
AND tagente_modulo.id_agente = %d
|
|
|
|
AND tagente_modulo.disabled = 0
|
|
|
|
AND tagente_modulo.delete_pending = 0
|
|
|
|
AND tagente_estado.utimestamp != 0
|
|
|
|
ORDER BY tagente_modulo.id_module_group , tagente_modulo.nombre
|
|
|
|
", $id_agente);
|
2008-04-03 17:43:34 +02:00
|
|
|
|
2008-11-21 18:58:30 +01:00
|
|
|
$modules = get_db_all_rows_sql ($sql);
|
2008-11-21 20:00:06 +01:00
|
|
|
if (empty ($modules)) {
|
|
|
|
$modules = array ();
|
|
|
|
}
|
2008-11-21 18:58:30 +01:00
|
|
|
$table->width = 750;
|
|
|
|
$table->cellpadding = 4;
|
|
|
|
$table->cellspacing = 4;
|
|
|
|
$table->class = "databox";
|
|
|
|
$table->head = array ();
|
|
|
|
$table->data = array ();
|
2008-04-03 17:43:34 +02:00
|
|
|
|
2009-01-08 12:53:14 +01:00
|
|
|
$table->head[0] = '';
|
2008-11-21 18:58:30 +01:00
|
|
|
$table->head[1] = __('Type');
|
|
|
|
$table->head[2] = __('Module name');
|
|
|
|
$table->head[3] = __('Description');
|
|
|
|
$table->head[4] = __('Status');
|
2009-09-10 21:18:53 +02:00
|
|
|
$table->head[5] = __('Data');
|
|
|
|
$table->head[6] = __('Graph');
|
|
|
|
$table->head[7] = __('Last contact');
|
2007-07-28 20:11:48 +02:00
|
|
|
|
2009-04-06 13:02:05 +02:00
|
|
|
$table->align = array("left","left","left","left","center");
|
|
|
|
|
2009-06-24 18:04:19 +02:00
|
|
|
$last_modulegroup = 0;
|
|
|
|
$rowIndex = 0;
|
2008-11-21 18:58:30 +01:00
|
|
|
foreach ($modules as $module) {
|
2009-06-24 18:04:19 +02:00
|
|
|
|
|
|
|
//The code add the row of 1 cell with title of group for to be more organice the list.
|
|
|
|
|
|
|
|
if ($module["id_module_group"] != $last_modulegroup)
|
|
|
|
{
|
|
|
|
$table->colspan[$rowIndex][0] = count($table->head);
|
|
|
|
$table->rowclass[$rowIndex] = 'datos4';
|
|
|
|
|
|
|
|
array_push ($table->data, array ('<b>'.$module['name'].'</b>'));
|
|
|
|
|
|
|
|
$rowIndex++;
|
|
|
|
$last_modulegroup = $module["id_module_group"];
|
|
|
|
}
|
|
|
|
//End of title of group
|
|
|
|
|
2008-11-21 18:58:30 +01:00
|
|
|
$data = array ();
|
|
|
|
if (($module["id_modulo"] != 1) && ($module["id_tipo_modulo"] != 100)) {
|
|
|
|
if ($module["flag"] == 0) {
|
|
|
|
$data[0] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module["id_agente_modulo"].'&flag=1&refr=60"><img src="images/target.png" border="0" /></a>';
|
|
|
|
} else {
|
|
|
|
$data[0] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module["id_agente_modulo"].'&refr=60"><img src="images/refresh.png" border="0"></a>';
|
2008-11-20 22:26:59 +01:00
|
|
|
}
|
2008-11-21 18:58:30 +01:00
|
|
|
} else {
|
|
|
|
$data[0] = '';
|
|
|
|
}
|
2009-12-02 00:10:00 +01:00
|
|
|
|
2009-01-21 11:02:47 +01:00
|
|
|
$data[1] = show_server_type ($module['id_modulo']);
|
2009-12-02 00:10:00 +01:00
|
|
|
|
2009-01-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
some indexes) on tagente_datos, tagente_datos_string and
tagente_datos_inc.
tagente_estado table: removed cambio, added status_changes, last_status.
tagente_modulo: added five new fields (warning,critical mgmt., flipflop
detection, history module and delete_pending bit.
* agent_manager.php: Group ALL not shown anymore.
* configurar_agente.php: Support for new options. Delete a module now
mark for deletion the module, not delete data (It's VERY slow!).
* modificar_agente.php: Delete agent now uses the global function,
minor fixes.
* module_manager_editor.php: New fields initializacion.
* module_manager_editor_network.php: At this time, the first module
editor who implements the new fields and improve old ones (tcp data).
* setup.php: Added support for new token: event_view_hr (Filter of max
old (in hr) for the event viewer. Removed old tokens show_unknown and
show_lastalert.
* functions.php: format_for_graph() has an important BUG that makes
all units rendered without the "K" !!!!. Fixed.
* delete_agent.php: Delete remote config (if present). Also mark
for deletion modules instead delete them (and let the data without
being deleted, because it's a HUGE consuming time, and it's left
for the daily db maintance process).
* estado_agente.php: Updated code for view new status.
* estado_generalagente.php: Total packets are removed from this view,
this was a huge time consuming SQL operation that don't give important
infomation. Groupname is now visualized.
* estado_ultimopaquete.php,
* estado_monitores.php,
* estado_grupo.php: Rewritten much code to view new status and other
minor changes.
* ver_agente.php: Data view now works under the tabs and other minor
changes.
* events.php: Support for the new events and status. Added filter for
username and for a max. hours old events. Some boxes are now hidden
by default.
* fgraph.php: Some graphs are now fixed and uses tagente_datos and
tagent_access with utimestamp and without id_agent index. Works faster
* images/*: Updated icons (module types) and two new bulb colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 04:53:33 +01:00
|
|
|
if (give_acl ($config['id_user'], $id_grupo, "AW"))
|
2009-12-02 00:10:00 +01:00
|
|
|
$data[1] .= '<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&tab=module&id_agent_module='.$module["id_agente_modulo"].'&edit_module='.$module["id_modulo"].'"><img src="images/config.png"></a>';
|
2009-02-13 16:05:23 +01:00
|
|
|
|
2009-12-05 16:26:37 +01:00
|
|
|
$data[2] = print_string_substr ($module["nombre"], 25, true);
|
|
|
|
$data[3] = print_string_substr ($module["descripcion"], 30, true);
|
2009-04-06 13:02:05 +02:00
|
|
|
|
|
|
|
$status = STATUS_MODULE_WARNING;
|
|
|
|
$title = "";
|
|
|
|
|
2009-01-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
some indexes) on tagente_datos, tagente_datos_string and
tagente_datos_inc.
tagente_estado table: removed cambio, added status_changes, last_status.
tagente_modulo: added five new fields (warning,critical mgmt., flipflop
detection, history module and delete_pending bit.
* agent_manager.php: Group ALL not shown anymore.
* configurar_agente.php: Support for new options. Delete a module now
mark for deletion the module, not delete data (It's VERY slow!).
* modificar_agente.php: Delete agent now uses the global function,
minor fixes.
* module_manager_editor.php: New fields initializacion.
* module_manager_editor_network.php: At this time, the first module
editor who implements the new fields and improve old ones (tcp data).
* setup.php: Added support for new token: event_view_hr (Filter of max
old (in hr) for the event viewer. Removed old tokens show_unknown and
show_lastalert.
* functions.php: format_for_graph() has an important BUG that makes
all units rendered without the "K" !!!!. Fixed.
* delete_agent.php: Delete remote config (if present). Also mark
for deletion modules instead delete them (and let the data without
being deleted, because it's a HUGE consuming time, and it's left
for the daily db maintance process).
* estado_agente.php: Updated code for view new status.
* estado_generalagente.php: Total packets are removed from this view,
this was a huge time consuming SQL operation that don't give important
infomation. Groupname is now visualized.
* estado_ultimopaquete.php,
* estado_monitores.php,
* estado_grupo.php: Rewritten much code to view new status and other
minor changes.
* ver_agente.php: Data view now works under the tabs and other minor
changes.
* events.php: Support for the new events and status. Added filter for
username and for a max. hours old events. Some boxes are now hidden
by default.
* fgraph.php: Some graphs are now fixed and uses tagente_datos and
tagent_access with utimestamp and without id_agent index. Works faster
* images/*: Updated icons (module types) and two new bulb colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 04:53:33 +01:00
|
|
|
if ($module["estado"] == 2) {
|
2009-04-06 13:02:05 +02:00
|
|
|
$status = STATUS_MODULE_WARNING;
|
|
|
|
$title = __('WARNING');
|
2008-11-21 18:58:30 +01:00
|
|
|
} elseif ($module["estado"] == 1) {
|
2009-04-06 13:02:05 +02:00
|
|
|
$status = STATUS_MODULE_CRITICAL;
|
|
|
|
$title = __('CRITICAL');
|
2008-11-21 18:58:30 +01:00
|
|
|
} else {
|
2009-04-06 13:02:05 +02:00
|
|
|
$status = STATUS_MODULE_OK;
|
|
|
|
$title = __('NORMAL');
|
2007-05-28 21:15:44 +02:00
|
|
|
}
|
2008-11-21 18:58:30 +01:00
|
|
|
|
2009-01-20 17:43:49 +01:00
|
|
|
if (is_numeric($module["datos"])) {
|
2009-04-06 13:02:05 +02:00
|
|
|
$title .= " : " . format_for_graph($module["datos"]);
|
2009-01-20 17:43:49 +01:00
|
|
|
} else {
|
2009-11-25 10:12:42 +01:00
|
|
|
$title .= " : " . substr(safe_output($module["datos"]),0,42);
|
2009-01-20 17:43:49 +01:00
|
|
|
}
|
2009-04-06 13:02:05 +02:00
|
|
|
|
|
|
|
$data[4] = print_status_image($status, $title, true);
|
|
|
|
|
2010-03-18 21:52:56 +01:00
|
|
|
if ($module["id_tipo_modulo"] == 30) { // log4x
|
|
|
|
switch($module["datos"]) {
|
|
|
|
case 10: $salida = "TRACE"; $style="font-weight:bold; color:darkgreen;"; break;
|
|
|
|
case 20: $salida = "DEBUG"; $style="font-weight:bold; color:darkgreen;"; break;
|
|
|
|
case 30: $salida = "INFO"; $style="font-weight:bold; color:darkgreen;"; break;
|
|
|
|
case 40: $salida = "WARN"; $style="font-weight:bold; color:darkorange;"; break;
|
|
|
|
case 50: $salida = "ERROR"; $style="font-weight:bold; color:red;"; break;
|
|
|
|
case 60: $salida = "FATAL"; $style="font-weight:bold; color:red;"; break;
|
|
|
|
}
|
|
|
|
$salida = "<span style='$style'>$salida</span>";
|
2009-09-14 03:02:44 +02:00
|
|
|
} else {
|
2010-03-18 21:52:56 +01:00
|
|
|
if (is_numeric($module["datos"])){
|
|
|
|
$salida = format_numeric($module["datos"]);
|
|
|
|
} else {
|
|
|
|
$salida = "<span title='".$module['datos']."' style='white-space: nowrap;'>".substr(safe_output($module["datos"]),0,12)."</span>";
|
|
|
|
}
|
2009-09-10 21:18:53 +02:00
|
|
|
}
|
2009-04-06 13:02:05 +02:00
|
|
|
|
2009-10-05 15:14:37 +02:00
|
|
|
$data[5] = $salida;
|
2009-09-14 03:02:44 +02:00
|
|
|
$graph_type = return_graphtype ($module["id_tipo_modulo"]);
|
2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
vars.
* include/functions_servers.php: Solved issue with several undefined
vars.
* include/functions_config.php: Added metaconsola witch to readconfig.
* include/config_process.php: Update build.. is YYMMDD !
* include/functions_ui.php: Removed deprecated call to split and replaced
by preg_split.
* index.php: Activated developer mode.
* operation/agentes/estado_monitores.php: Solved small problem with modules
without history, filling missing column in table. Added headers
* godmode/alerts/configure_alert_compound.php,
operation/agentes/status_monitor.php
godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php,
godmode/alerts/alert_commands.php,
godmode/modules/manage_network_templates.php,
godmode/modules/module_list.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php: Removed deprecated call to include
config.php and in some cases, added new header style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:13:00 +01:00
|
|
|
|
|
|
|
$data[6] = " ";
|
2009-09-10 21:18:53 +02:00
|
|
|
if ($module['history_data'] == 1){
|
|
|
|
$nombre_tipo_modulo = get_moduletype_name ($module["id_tipo_modulo"]);
|
|
|
|
$handle = "stat".$nombre_tipo_modulo."_".$module["id_agente_modulo"];
|
|
|
|
$url = 'include/procesos.php?agente='.$module["id_agente_modulo"];
|
|
|
|
$win_handle=dechex(crc32($module["id_agente_modulo"].$module["nombre"]));
|
|
|
|
|
|
|
|
$link ="winopeng('operation/agentes/stat_win.php?type=$graph_type&period=86400&id=".$module["id_agente_modulo"]."&label=".$module["nombre"]."&refresh=600','day_".$win_handle."')";
|
|
|
|
|
2010-02-15 14:07:52 +01:00
|
|
|
$data[6] = "";
|
|
|
|
if ($nombre_tipo_modulo != "log4x")
|
|
|
|
$data[6] .= '<a href="javascript:'.$link.'"><img src="images/chart_curve.png" border=0></a>';
|
2009-09-10 21:18:53 +02:00
|
|
|
$data[6] .= " <a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=$id_agente&tab=data_view&period=86400&id=".$module["id_agente_modulo"]."'><img border=0 src='images/binary.png'></a>";
|
2008-11-21 18:58:30 +01:00
|
|
|
}
|
|
|
|
|
2008-12-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_reporting.php, include/functions_db.php,
include/functions_html.php, operation/agentes/datos_agente.php,
operation/agentes/estado_agente.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_grupo.php, operation/agentes/estado_monitores.php,
operation/agentes/networkmap.php, operation/agentes/status_monitor.php,
operation/incidents/incident_detail.php,
operation/reporting/reporting_viewer.php,
operation/reporting/reporting_xml.php, reporting/fgraph.php,
godmode/db/db_audit.php, godmode/db/db_event.php, godmode/db/db_purge.php:
Added get_system_time in favor of time ();
* include/functions.php: Added get_system_time which gets the time from
a source based on user preference
* include/help/en/help_timesource.php: Explanation of timesource.
* godmode/setup/setup.php, include/config_process.php: Added timesource
selection and preference
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-24 17:53:00 +01:00
|
|
|
$seconds = get_system_time () - $module["utimestamp"];
|
2009-05-02 01:41:09 +02:00
|
|
|
if ($module['id_tipo_modulo'] < 21 && $module["module_interval"] > 0 && $module["utimestamp"] > 0 && $seconds >= ($module["module_interval"] * 2)) {
|
2009-09-10 21:18:53 +02:00
|
|
|
$data[7] = '<span class="redb">';
|
2008-11-21 18:58:30 +01:00
|
|
|
} else {
|
2009-09-10 21:18:53 +02:00
|
|
|
$data[7] = '<span>';
|
2008-11-21 18:58:30 +01:00
|
|
|
}
|
2009-09-10 21:18:53 +02:00
|
|
|
$data[7] .= print_timestamp ($module["utimestamp"], true);
|
|
|
|
$data[7] .= '</span>';
|
2009-06-24 18:04:19 +02:00
|
|
|
|
2009-01-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
some indexes) on tagente_datos, tagente_datos_string and
tagente_datos_inc.
tagente_estado table: removed cambio, added status_changes, last_status.
tagente_modulo: added five new fields (warning,critical mgmt., flipflop
detection, history module and delete_pending bit.
* agent_manager.php: Group ALL not shown anymore.
* configurar_agente.php: Support for new options. Delete a module now
mark for deletion the module, not delete data (It's VERY slow!).
* modificar_agente.php: Delete agent now uses the global function,
minor fixes.
* module_manager_editor.php: New fields initializacion.
* module_manager_editor_network.php: At this time, the first module
editor who implements the new fields and improve old ones (tcp data).
* setup.php: Added support for new token: event_view_hr (Filter of max
old (in hr) for the event viewer. Removed old tokens show_unknown and
show_lastalert.
* functions.php: format_for_graph() has an important BUG that makes
all units rendered without the "K" !!!!. Fixed.
* delete_agent.php: Delete remote config (if present). Also mark
for deletion modules instead delete them (and let the data without
being deleted, because it's a HUGE consuming time, and it's left
for the daily db maintance process).
* estado_agente.php: Updated code for view new status.
* estado_generalagente.php: Total packets are removed from this view,
this was a huge time consuming SQL operation that don't give important
infomation. Groupname is now visualized.
* estado_ultimopaquete.php,
* estado_monitores.php,
* estado_grupo.php: Rewritten much code to view new status and other
minor changes.
* ver_agente.php: Data view now works under the tabs and other minor
changes.
* events.php: Support for the new events and status. Added filter for
username and for a max. hours old events. Some boxes are now hidden
by default.
* fgraph.php: Some graphs are now fixed and uses tagente_datos and
tagent_access with utimestamp and without id_agent index. Works faster
* images/*: Updated icons (module types) and two new bulb colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 04:53:33 +01:00
|
|
|
array_push ($table->data, $data);
|
2009-06-24 18:04:19 +02:00
|
|
|
$rowIndex++;
|
|
|
|
}
|
2008-11-20 22:26:59 +01:00
|
|
|
|
2008-11-21 18:58:30 +01:00
|
|
|
if (empty ($table->data)) {
|
|
|
|
echo '<div class="nf">'.__('This agent doesn\'t have any active monitors').'</div>';
|
2008-11-20 22:26:59 +01:00
|
|
|
} else {
|
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
2009-06-25 10:01:18 +02:00
|
|
|
echo "<h3>".__('Full list of monitors')."</h3>";
|
2008-11-21 18:58:30 +01:00
|
|
|
print_table ($table);
|
2008-11-20 22:26:59 +01:00
|
|
|
}
|
2008-07-21 14:23:28 +02:00
|
|
|
|
2008-11-21 18:58:30 +01:00
|
|
|
unset ($table);
|
|
|
|
unset ($table_data);
|
2009-01-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
some indexes) on tagente_datos, tagente_datos_string and
tagente_datos_inc.
tagente_estado table: removed cambio, added status_changes, last_status.
tagente_modulo: added five new fields (warning,critical mgmt., flipflop
detection, history module and delete_pending bit.
* agent_manager.php: Group ALL not shown anymore.
* configurar_agente.php: Support for new options. Delete a module now
mark for deletion the module, not delete data (It's VERY slow!).
* modificar_agente.php: Delete agent now uses the global function,
minor fixes.
* module_manager_editor.php: New fields initializacion.
* module_manager_editor_network.php: At this time, the first module
editor who implements the new fields and improve old ones (tcp data).
* setup.php: Added support for new token: event_view_hr (Filter of max
old (in hr) for the event viewer. Removed old tokens show_unknown and
show_lastalert.
* functions.php: format_for_graph() has an important BUG that makes
all units rendered without the "K" !!!!. Fixed.
* delete_agent.php: Delete remote config (if present). Also mark
for deletion modules instead delete them (and let the data without
being deleted, because it's a HUGE consuming time, and it's left
for the daily db maintance process).
* estado_agente.php: Updated code for view new status.
* estado_generalagente.php: Total packets are removed from this view,
this was a huge time consuming SQL operation that don't give important
infomation. Groupname is now visualized.
* estado_ultimopaquete.php,
* estado_monitores.php,
* estado_grupo.php: Rewritten much code to view new status and other
minor changes.
* ver_agente.php: Data view now works under the tabs and other minor
changes.
* events.php: Support for the new events and status. Added filter for
username and for a max. hours old events. Some boxes are now hidden
by default.
* fgraph.php: Some graphs are now fixed and uses tagente_datos and
tagent_access with utimestamp and without id_agent index. Works faster
* images/*: Updated icons (module types) and two new bulb colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 04:53:33 +01:00
|
|
|
?>
|