diff --git a/pandora_console/index.php b/pandora_console/index.php index 4dcd0590ae..09ba9b89bc 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -2,7 +2,7 @@ // Pandora - the Free monitoring system // ==================================== // Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com -// Copyright (c) 2005-2006 Artica Soluciones Tecnol�icas S.L, info@artica.es +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es // Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 7b481d7c0d..bcb283a822 100644 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -59,7 +59,7 @@ if (comprueba_login() == 0) { // Data base access graph echo "".$lang_label["agent_access_rate"]."

- "; + "; echo ''.$lang_label["ip_address"].' '.salida_limpia($direccion_agente); if ($agent_type == 0) { @@ -72,7 +72,7 @@ if (comprueba_login() == 0) { echo ''.salida_limpia($lang_label["description"]).' '.$comentarios; echo "".$lang_label["agent_module_shareout"]."

"; - echo ""; + echo ""; echo ''.salida_limpia($lang_label["group"]).' ( '.dame_grupo($id_grupo).' )'; if ($agent_type == 0) { diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index be641baa36..abf3cc3e06 100644 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -1,9 +1,20 @@ -, 2003-2006 -// Raul Mateos , 2005-2006 +".$lang_label["monitor_listing"]." ".$lang_label["help"].""; + // Get all module from agent $sql_t='SELECT * FROM tagente_estado, tagente_modulo WHERE tagente_estado.id_agente_modulo = tagente_modulo.id_agente_modulo AND tagente_modulo.id_agente='.$id_agente.' order by tagente_modulo.nombre'; $result_t=mysql_query($sql_t); if (mysql_num_rows ($result_t)) { + echo "

".$lang_label["monitor_listing"]." ".$lang_label["help"]."

"; + echo ""; + echo ""; + echo "
".$lang_label["type"]."".$lang_label["module_name"]."".$lang_label["description"]."".$lang_label["status"]."".$lang_label["interval"]."".$lang_label["last_contact"]; $color=0; - $string=''; while ($row_t=mysql_fetch_array($result_t)){ # For evey module in the status table $est_modulo = $row_t["nombre"]; @@ -53,39 +66,33 @@ if (comprueba_login() == 0) { else $agent_down = 0; - if (!isset($string)) {$string='';} - $string=$string."
".$est_tipo; - $string=$string."".$est_modulo; - $string=$string."".substr($est_description,0,32); + echo "
".$est_tipo; + echo "".$est_modulo; + echo "".substr($est_description,0,32); // echo "".$row3["datos"]; if ($agent_down == 1) - $string=$string.""; + echo ""; else if ($est_estado == 1) if ($est_cambio ==1) - $string=$string.""; + echo ""; else - $string=$string.""; + echo ""; else - $string=$string.""; - $string=$string."".$temp_interval; - $string=$string.""; + echo ""; + echo ""; + echo $temp_interval; + echo ""; if ($agent_down == 1) // Si el agente esta down, lo mostramos en negrita y en rojo - $string=$string.""; - $string=$string.$row_t["timestamp"].""; + echo ""; + + echo $row_t["timestamp"]; } - else unset($string); } - if (isset($string)) { - echo ""; - echo $string; echo '
".$lang_label["type"]."".$lang_label["module_name"]."".$lang_label["description"]."".$lang_label["status"]."".$lang_label["interval"]."".$lang_label["last_contact"]."
'; } - else { - echo "".$lang_label["no_monitors"].""; - } - } else - echo "".$lang_label["no_monitors"].""; + echo "- ".$lang_label["no_monitors"].""; } ?> \ No newline at end of file diff --git a/pandora_console/operation/agentes/estado_ultimopaquete.php b/pandora_console/operation/agentes/estado_ultimopaquete.php index 219b0610a7..da7fad2de7 100644 --- a/pandora_console/operation/agentes/estado_ultimopaquete.php +++ b/pandora_console/operation/agentes/estado_ultimopaquete.php @@ -2,7 +2,7 @@ // Pandora - the Free monitoring system // ==================================== // Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com -// Copyright (c) 2005-2006 Artica Soluciones Tecnol�icas S.L, info@artica.es +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas S.L, info@artica.es // Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/pandora_console/reporting/fgraph.php b/pandora_console/reporting/fgraph.php index 92d6f3445a..6c5983d264 100644 --- a/pandora_console/reporting/fgraph.php +++ b/pandora_console/reporting/fgraph.php @@ -1,11 +1,23 @@ , 2003-2006 -// Raúl Mateos , 2006 -// Jose Navarro , 2006 +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// Copyright (c) 2006 Jose Navarro +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// 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. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Load global vars include ("../include/config.php"); diff --git a/pandora_console/reporting/stat_win.php b/pandora_console/reporting/stat_win.php index 48e3639519..f10e3d01ff 100644 --- a/pandora_console/reporting/stat_win.php +++ b/pandora_console/reporting/stat_win.php @@ -1,8 +1,19 @@ , 2003-2006 +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnol�icas S.L, info@artica.es +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// 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. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Cargamos variables globales session_start();