2008-08-22 Sancho Lerena <slerena@gmail.com>

* Massive header update. We're now officially on Beta1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2008-08-22 18:07:32 +00:00
parent dc7c2b1f91
commit a1ccf34e56
117 changed files with 930 additions and 742 deletions

View File

@ -1,3 +1,7 @@
2008-08-22 Sancho Lerena <slerena@gmail.com>
* Massive header update. We're now officially on Beta1.
2008-08-22 Sancho Lerena <slerena@gmail.com> 2008-08-22 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Removed data for locale, added for new * pandoradb_data.sql: Removed data for locale, added for new

View File

@ -1,8 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,10 +16,6 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Pandora FMS uses icons from famfamfam, licensed under CC Atr. 2.5
// Silk icon set 1.3 (cc) Mark James, http://www.famfamfam.com/lab/icons/silk/
// Pandora FMS uses Pear Image::Graph code
if ((! file_exists("include/config.php")) || (! is_readable("include/config.php"))) { if ((! file_exists("include/config.php")) || (! is_readable("include/config.php"))) {
exit; exit;
} }

View File

@ -1,10 +1,27 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System
// ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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.
/* You can safely delete this file */ /* You can safely delete this file */
function hello_extension_main () { function hello_extension_main () {
/* Here you can do almost all you want! */ /* Here you can do almost all you want! */
echo 'Hello world!'; echo "<h1>Hello world!</h1>";
echo "This is a sample of minimal plugin";
} }
/* This adds a option in the operation menu */ /* This adds a option in the operation menu */

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Ártica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Ártica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Ártica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -15,7 +16,6 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ==================================== // ============================================
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ==================================== // ============================================
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ==================================== // ============================================
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -79,7 +79,11 @@ $monitor_not_init = $data[12];
// Calculate global indicators // Calculate global indicators
$total_checks = $data_checks + $monitor_checks; $total_checks = $data_checks + $monitor_checks;
if ($total_checks > 0)
$notinit_percentage = (($data_not_init + $monitor_not_init) / ($total_checks / 100)); $notinit_percentage = (($data_not_init + $monitor_not_init) / ($total_checks / 100));
else
$notinit_percentage = 0;
$module_sanity = format_numeric (100 - $notinit_percentage); $module_sanity = format_numeric (100 - $notinit_percentage);
$total_alerts = $data_alert + $monitor_alert; $total_alerts = $data_alert + $monitor_alert;
$total_fired_alerts = $monitor_alert_total+$data_alert_total; $total_fired_alerts = $monitor_alert_total+$data_alert_total;

View File

@ -1,18 +1,21 @@
<?php <?php
// Pandora FMS - the Flexible monitoring system
// Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// USA.
require ("operation/menu.php"); require ("operation/menu.php");
if (! isset ($_SESSION["id_usuario"])) { if (! isset ($_SESSION["id_usuario"])) {
require ("general/login_page.php"); require ("general/login_page.php");

View File

@ -1,11 +1,20 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development, project architecture and management. // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation, version 2. // as published by the Free Software Foundation for version 2.
// 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.
?> ?>
<div id="noaccess"> <div id="noaccess">

View File

@ -1,12 +1,20 @@
<?PHP <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2008 Esteban Sanchez, estebans@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development, project architecture and management. // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation for version 2. // as published by the Free Software Foundation for version 2.
// 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.
require_once ("../include/config.php"); require_once ("../include/config.php");
require_once ("../include/functions.php"); require_once ("../include/functions.php");

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ==================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnoloicas S.L, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,7 +15,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,8 +1,8 @@
<?PHP <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -17,6 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// ======================== // ========================
// AGENT GENERAL DATA FORM // AGENT GENERAL DATA FORM
// ======================== // ========================

View File

@ -1,13 +1,13 @@
<?PHP <?php
// Pandora FMS - the Flexible Monitoring System
// ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// Pandora FMS - the Free monitoring system
// ========================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com
// Main PHP/SQL code development and project architecture and management
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,8 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,11 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2008 Sancho Lerena <slerena@gmail.com>
// Copyright (c) 2008 Jorge González <jorge.gonzalez@artica.es>
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -19,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
$add_component = get_parameter ("add_component",0); $add_component = get_parameter ("add_component",0);
echo "<h3>".__('Alert association form'); echo "<h3>".__('Alert association form');
pandora_help ("alerts"); pandora_help ("alerts");

View File

@ -1,9 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Jorge Gonzalez <jorge.gonzalez@artica.es> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2008 Sancho Lerena <sancho.lerena@artica.es>
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -17,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -2,13 +2,12 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -17,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -2,12 +2,12 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2. // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -2,7 +2,7 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -15,6 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,12 +1,21 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2008 Jorge Gonzalez <jorge.gonzalez@artica.es> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development, project architecture and management. // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation, version 2. // as published by the Free Software Foundation for version 2.
// 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 // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,12 +1,21 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2008 Jorge Gonzalez <jorge.gonzalez@artica.es> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development, project architecture and management. // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation, version 2. // as published by the Free Software Foundation for version 2.
// 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.
// General startup for established session // General startup for established session

View File

@ -1,8 +1,8 @@
<?PHP <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Jorge Gonzalez <jorge.gonzalez@artica.es> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// General startup for established session // General startup for established session
global $config; global $config;
check_login(); check_login();

View File

@ -1,8 +1,8 @@
<?PHP <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Jorge Gonzalez <jorge.gonzalez@artica.es> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -17,6 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// General startup for established session // General startup for established session
global $config; global $config;
check_login(); check_login();

View File

@ -1,8 +1,8 @@
<?PHP <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Jorge Gonzalez <jorge.gonzalez@artica.es> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -17,6 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// General startup for established session // General startup for established session
global $config; global $config;
check_login(); check_login();

View File

@ -1,8 +1,8 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2008 Evi Vanoost <vanooste@rcbi.rochester.edu> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2008 Esteban Sanchez <estebans@artica.es>
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,11 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Copyright (c) 2008 Evi Vanoost <vanooste@rcbi.rochester.edu>
// Please see http://pandora.sourceforge.net for full contribution list
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");
@ -272,12 +277,10 @@ if ($create_downtime || $update_downtime) {
$sql = "SELECT * FROM tplanned_downtime"; $sql = "SELECT * FROM tplanned_downtime";
$downtimes = get_db_all_rows_sql ($sql); $downtimes = get_db_all_rows_sql ($sql);
if ($downtimes === false) { if (!$downtimes) {
$table->colspan[0][0] = 5; echo '<div class="nf">'.('No planned downtime').'</div>';
$table->data[0][0] = __('No planned downtime');
$downtimes = array();
} }
else {
foreach ($downtimes as $downtime) { foreach ($downtimes as $downtime) {
$data = array(); $data = array();
$total = get_db_sql ("SELECT COUNT(id_agent) FROM tplanned_downtime_agents WHERE id_downtime = ".$downtime["id"]); $total = get_db_sql ("SELECT COUNT(id_agent) FROM tplanned_downtime_agents WHERE id_downtime = ".$downtime["id"]);
@ -301,7 +304,7 @@ if ($create_downtime || $update_downtime) {
array_push ($table->data, $data); array_push ($table->data, $data);
} }
print_table ($table); print_table ($table);
}
echo '<div class="action-buttons" style="width: '.$table->width.'">'; echo '<div class="action-buttons" style="width: '.$table->width.'">';
echo "<form method=post action='index.php?sec=gagente&sec2=godmode/agentes/planned_downtime'>"; echo "<form method=post action='index.php?sec=gagente&sec2=godmode/agentes/planned_downtime'>";

View File

@ -1,20 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// CSS and some PHP additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to Pandora FMS 1.2 graph code and new XML reporting template management
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -23,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,9 +1,22 @@
<?php <?php
// Pandora - The Free Monitoring System
// This code is protected by GPL license. // Pandora FMS - the Flexible Monitoring System
// Este codigo esta protegido por la licencia GPL. // ============================================
// Sancho Lerena <slerena@gmail.com>, 2003-2007 // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Raul Mateos <raulofpandora@gmail.com>, 2005-2007 // Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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 // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2006 Artica Soluciones Tecnol<6F>gicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2008-2008 Evi Vanoost <vanooste@rcbi.rochester.edu>
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,10 +1,20 @@
<?php <?php
// Pandora - The Free Monitoring System // Pandora FMS - the Flexible Monitoring System
// This code is protected by GPL license. // ============================================
// Este codigo esta protegido por la licencia GPL. // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Sancho Lerena <slerena@gmail.com>, 2003-2006 // Please see http://pandora.sourceforge.net for full contribution list
// Raul Mateos <raulofpandora@gmail.com>, 2005-2006
// 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 for version 2.
// 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 // Load global vars
require_once ("include/config.php"); require_once ("include/config.php");

View File

@ -1,9 +1,21 @@
<?php <?php
// Pandora - The Free Monitoring System
// This code is protected by GPL license. // Pandora FMS - the Flexible Monitoring System
// Este codigo esta protegido por la licencia GPL. // ============================================
// Sancho Lerena <slerena@gmail.com>, 2003-2006 // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Raul Mateos <raulofpandora@gmail.com>, 2005-2006 // Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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.
// Evi Vanoost <vanooste@rcbi.rochester.edu> 2008 // Evi Vanoost <vanooste@rcbi.rochester.edu> 2008
// Load global vars // Load global vars

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2006 Artica Soluciones Tecnológicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,20 +1,20 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2008 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require_once ("include/config.php"); require_once ("include/config.php");

View File

@ -1,19 +1,21 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,22 +1,22 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U6 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require_once ("include/config.php"); require_once ("include/config.php");

View File

@ -1,19 +1,22 @@
<?php <?php
// Pandora FMS
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U6 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,4 +1,21 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System
// ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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.
$now = time(); $now = time();
// 1 day // 1 day

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,19 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// CSS and some PHP additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to Pandora FMS 1.2 graph code and new XML reporting template management
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -21,7 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,19 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// CSS and some PHP additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to Pandora FMS 1.2 graph code and new XML reporting template management
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -21,6 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,19 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// CSS and some PHP additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to Pandora FMS 1.2 graph code and new XML reporting template management
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -21,6 +15,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,19 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// CSS and some PHP additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to Pandora FMS 1.2 graph code and new XML reporting template management
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -21,6 +15,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,12 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -15,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,12 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,12 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -14,6 +15,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
?> ?>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<!-- <!--

View File

@ -1,12 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Ramon Novoa, rnovoa@artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -15,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global variables // Load global variables
require ("include/config.php"); require ("include/config.php");

View File

@ -1,12 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -15,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,12 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,19 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// CSS and some PHP additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to Pandora FMS 1.2 graph code and new XML reporting template management
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -21,6 +15,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,16 +1,21 @@
<?php <?php
// Pandora FMS - the Flexible monitoring system
// Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2004-2008 Sancho Lerena, <slerena@gmail.com> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // 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.
// Global variables // Global variables
require ("include/config.php"); require ("include/config.php");

View File

@ -1,13 +1,13 @@
<?PHP <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Login check // Login check
require ("include/config.php"); require ("include/config.php");

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -267,6 +266,9 @@ if (! $edit_layout && ! $id_layout) {
$table->align[2] = 'center'; $table->align[2] = 'center';
$maps = get_db_all_rows_in_table ('tlayout','name'); $maps = get_db_all_rows_in_table ('tlayout','name');
if (!$maps)
echo '<div class="nf">'.('No maps defined').'</div>';
else {
foreach ($maps as $map) { foreach ($maps as $map) {
$data = array (); $data = array ();
@ -278,6 +280,7 @@ if (! $edit_layout && ! $id_layout) {
array_push ($table->data, $data); array_push ($table->data, $data);
} }
print_table ($table); print_table ($table);
}
echo '<div class="action-buttons" style="width: 500px">'; echo '<div class="action-buttons" style="width: 500px">';
echo '<form action="index.php?sec=greporting&sec2=godmode/reporting/map_builder" method="post">'; echo '<form action="index.php?sec=greporting&sec2=godmode/reporting/map_builder" method="post">';

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -15,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,12 +1,13 @@
<?PHP <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,12 +1,13 @@
<?php <?php
// Pandora FMS - the Flexible monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,8 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,9 +1,20 @@
<?php <?php
// Pandora - The Free Monitoring System
// This code is protected by GPL license. // Pandora FMS - the Flexible Monitoring System
// Este codigo esta protegido por la licencia GPL. // ============================================
// Sancho Lerena <slerena@gmail.com>, 2003-2007 // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Raul Mateos <raulofpandora@gmail.com>, 2005-2007 // Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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 // Load global vars
require_once ("include/config.php"); require_once ("include/config.php");

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,9 +1,20 @@
<?php <?php
// Pandora - The Free Monitoring System
// This code is protected by GPL license. // Pandora FMS - the Flexible Monitoring System
// Este codigo esta protegido por la licencia GPL. // ============================================
// Sancho Lerena <slerena@gmail.com>, 2003-2007 // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Raul Mateos <raulofpandora@gmail.com>, 2005-2007 // Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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 globar vars // Load globar vars
require("include/config.php"); require("include/config.php");

View File

@ -1,8 +1,8 @@
<?PHP <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -18,9 +18,9 @@
//Pandora Version //Pandora Version
if (!isset ($build_version)) if (!isset ($build_version))
$build_version = "PC080821"; $build_version = "PC080822";
if (!isset ($pandora_version)) if (!isset ($pandora_version))
$pandora_version = "v2.0-beta1"; $pandora_version = "v2.0Beta1";
// This is directory where placed "/attachment" directory, to upload files stores. // This is directory where placed "/attachment" directory, to upload files stores.
// This MUST be writtable by http server user, and should be in pandora root. // This MUST be writtable by http server user, and should be in pandora root.

View File

@ -2,7 +2,7 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,16 +1,20 @@
<?php <?php
// Pandora FMS - the Flexible monitoring system
// Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2004-2008 Sancho Lerena, <slerena@gmail.com> // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // 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.
/** /**
* Check if login session variables are set. * Check if login session variables are set.

View File

@ -1,5 +1,21 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System
// ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// 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 for version 2.
// 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.
$extension_file = ''; $extension_file = '';
function extension_call_main_function ($filename) { function extension_call_main_function ($filename) {

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================= // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Main PHP/SQL code development and project architecture and management // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -23,6 +23,19 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
h1 {
font: bold 1em Arial, Sans-serif;
text-transform: uppercase;
font-size: 18px;
color: #ffffff;
}
h2 {
font: bold 1em Arial, Sans-serif;
text-transform: uppercase;
font-size: 14px;
}
div#install_container { div#install_container {
margin: 0 auto; margin: 0 auto;
margin-top: 35px; margin-top: 35px;

View File

@ -20,8 +20,8 @@
// Silk icon set 1.3 (cc) Mark James, http://www.famfamfam.com/lab/icons/silk/ // Silk icon set 1.3 (cc) Mark James, http://www.famfamfam.com/lab/icons/silk/
// Pandora FMS uses Pear Image::Graph code // Pandora FMS uses Pear Image::Graph code
$build_version="PC080226"; $build_version="PC080822";
$pandora_version="v2.0-dev"; $pandora_version="v2.0Beta1";
global $build_version; global $build_version;
global $pandora_version; global $pandora_version;

View File

@ -1,16 +1,12 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System
// Pandora FMS - the Free Monitoring System // ============================================
// ======================================== // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com
// Main PHP/SQL code development, project architecture and management.
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// CSS and some PHP code additions
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -36,8 +32,8 @@
<link rel="stylesheet" href="include/styles/pandora_minimal.css" type="text/css"> <link rel="stylesheet" href="include/styles/pandora_minimal.css" type="text/css">
<link rel="stylesheet" href="include/styles/install.css" type="text/css"> <link rel="stylesheet" href="include/styles/install.css" type="text/css">
</head> </head>
<body bgcolor="#555555">
<body>
<?php <?php
error_reporting(0); error_reporting(0);
@ -156,7 +152,7 @@ function install_step1() {
<h1>Pandora FMS installation wizard. Step #1 of 4</h1> <h1>Pandora FMS installation wizard. Step #1 of 4</h1>
<div id='wizard' style='height: 380px;'> <div id='wizard' style='height: 380px;'>
<div id='install_box'> <div id='install_box'>
<h1>Welcome to Pandora FMS 2.0 installation Wizard</h1> <h2>Welcome to Pandora FMS 2.0 installation Wizard</h2>
<p>This wizard helps you to quick install Pandora FMS console in your system.</p> <p>This wizard helps you to quick install Pandora FMS console in your system.</p>
<p>In four steps checks all dependencies and make your configuration for a quick installation.</p> <p>In four steps checks all dependencies and make your configuration for a quick installation.</p>
<p>For more information, please refer to documentation.</p> <p>For more information, please refer to documentation.</p>
@ -166,8 +162,9 @@ function install_step1() {
echo "<div class='warn'><b>Warning:</b> You already have a config.php file. Configuration and database would be overwritten if you continued.</div>"; echo "<div class='warn'><b>Warning:</b> You already have a config.php file. Configuration and database would be overwritten if you continued.</div>";
} }
echo "<div class='warn'><b>Warning:</b> This installer will <b>overwrite and destroy</b> your existing Pandora FMS configuration and <b>Database</b>. Before continue, please <b>be sure that you have no valuable Pandora FMS data in your Database.</b><br></div>"; echo "<div class='warn'><b>Warning:</b> This installer will <b>overwrite and destroy</b> your existing Pandora FMS configuration and <b>Database</b>. Before continue, please <b>be sure that you have no valuable Pandora FMS data in your Database.</b><br></div>";
echo "<div class='info'>If you want to <b>upgrade</b> from Pandora FMS 1.3.x to 2.0 version,
use the <a href='upgrade.php'>automated update wizard</a></div>"; echo "<div class='info'><b>Upgrade</b>: If you want to upgrade from Pandora FMS 1.3.x to 2.0 version,
please download the migration tool from our website at <a href='http://www.pandorafms.com'>PandoraFMS.com web site</a></div>";
echo " echo "
</div> </div>
<div id='logo_img'> <div id='logo_img'>
@ -191,15 +188,15 @@ function install_step2() {
<h1>Pandora FMS console installation wizard. Step #2 of 4</h1> <h1>Pandora FMS console installation wizard. Step #2 of 4</h1>
<div id='wizard' style='height: 300px;'> <div id='wizard' style='height: 300px;'>
<div id='install_box'>"; <div id='install_box'>";
echo "<h1>Checking software dependencies</h1>"; echo "<h2>Checking software dependencies</h2>";
echo "<table border=0 width=230>"; echo "<table border=0 width=230>";
$res = 0; $res = 0;
$res += check_variable(phpversion(),"4.3","PHP version >= 4.3.x",1); $res += check_variable(phpversion(),"4.3","PHP version >= 4.3.x",1);
$res += check_extension("mysql","PHP MySQL extension"); $res += check_extension("mysql","PHP MySQL extension");
//$res += check_extension("curl","PHP Curl extension");
$res += check_extension("gd","PHP gd extension"); $res += check_extension("gd","PHP gd extension");
$res += check_extension("snmp","PHP SNMP extension"); $res += check_extension("snmp","PHP SNMP extension");
$res += check_extension("session","PHP session extension"); $res += check_extension("session","PHP session extension");
$res += check_extension("gettext","PHP gettext extension");
$res += check_include("PEAR.php","PEAR PHP Library"); $res += check_include("PEAR.php","PEAR PHP Library");
//$res += check_exists ("/usr/bin/pdflatex","PDF Latex in /usr/bin/pdflatex"); //$res += check_exists ("/usr/bin/pdflatex","PDF Latex in /usr/bin/pdflatex");
echo "</table> echo "</table>
@ -235,7 +232,7 @@ function install_step3() {
<h1>Pandora FMS console installation wizard. Step #3 of 4 </h1> <h1>Pandora FMS console installation wizard. Step #3 of 4 </h1>
<div id='wizard' style='height: 640px;'> <div id='wizard' style='height: 640px;'>
<div id='install_box'> <div id='install_box'>
<h1>Environment and database setup</h1> <h2>Environment and database setup</h2>
<p> <p>
This wizard will create your Pandora FMS database, and populate it with all the data needed to run for the first time. This wizard will create your Pandora FMS database, and populate it with all the data needed to run for the first time.
</p> </p>
@ -246,7 +243,7 @@ function install_step3() {
<p> <p>
Now, please, complete all details to configure your database and enviroment setup. Now, please, complete all details to configure your database and enviroment setup.
</p> </p>
<div class='warn'><b>Warning:</b> This installer will <b>overwrite and destroy</b> your existing Pandora FMS configuration and <b>Database</b>. Before continue, please <b>be sure that you have no valuable Pandora FMS data in your Database.</b><br></div> <div class='warn'><b>Warning:</b> This installer will <b>overwrite and destroy</b> your existing Pandora FMS configuration and <b>Database</b>. Before continue, please <b>be sure that you have no valuable Pandora FMS data in your Database.</b><br><br></div>
<form method='post' action='install.php?step=4'> <form method='post' action='install.php?step=4'>
<div>DB User with privileges on MySQL</div> <div>DB User with privileges on MySQL</div>
<input class='login' type='text' name='user' value='root'> <input class='login' type='text' name='user' value='root'>
@ -318,7 +315,7 @@ function install_step4() {
<h1>Pandora FMS Console installation wizard. Step #4 of 4</h1> <h1>Pandora FMS Console installation wizard. Step #4 of 4</h1>
<div id='wizard' style='height: 380px;'> <div id='wizard' style='height: 380px;'>
<div id='install_box'> <div id='install_box'>
<h1>Creating database and default configuration file</h1> <h2>Creating database and default configuration file</h2>
<table>"; <table>";
if (! mysql_connect ($dbhost,$dbuser,$dbpassword)) { if (! mysql_connect ($dbhost,$dbuser,$dbpassword)) {
check_generic ( 0, "Connection with Database"); check_generic ( 0, "Connection with Database");
@ -383,7 +380,7 @@ $config["homeurl"]="'.$url.'"; // Base URL
} else { } else {
echo "<div class='warn'><b>There was some problems. Installation is not completed.</b> echo "<div class='warn'><b>There was some problems. Installation is not completed.</b>
<p>Please correct failures before trying again. <p>Please correct failures before trying again.
All database schemes created in this step have been dropped.</p></div>"; All database schemes created in this step have been dropped. Try to reload this page if you have a present Pandora FMS configuration.</p></div>";
if (mysql_error() != "") if (mysql_error() != "")
echo "<div class='warn'> <b>ERROR:</b> ". mysql_error().".</div>"; echo "<div class='warn'> <b>ERROR:</b> ". mysql_error().".</div>";
@ -407,10 +404,11 @@ function install_step5() {
<h1>Pandora FMS console installation wizard. Finished</h1> <h1>Pandora FMS console installation wizard. Finished</h1>
<div id='wizard' style='height: 300px;'> <div id='wizard' style='height: 300px;'>
<div id='install_box'> <div id='install_box'>
<h1>Installation complete</h1> <h2>Installation complete</h2>
<p>You now must delete manually this installer ('<i>install.php</i>') file for security before trying to access to your Pandora FMS console. <p>You now must delete manually this installer ('<i>install.php</i>') file for security before trying to access to your Pandora FMS console.
<p>Don't forget to check <a href='http://pandora.sourceforge.net'>http://pandora.sourceforge.net</a> for updates. <p>Now you need to install Pandora FMS server before trying to monitorize anything, please read documentation on how to install it.</p>
<p><a href='index.php'>Click here to access to your Pandora FMS console</a></p> <p>Don't forget to check <a href='http://pandorafms.com'>http://pandorafms.com</a> for updates.
<p><br><b><a href='index.php'>Click here to access to your Pandora FMS console</a></b></p>
</div> </div>
<div id='logo_img'> <div id='logo_img'>
<img src='images/pandora_logo.png' border='0'><br> <img src='images/pandora_logo.png' border='0'><br>

View File

@ -1,16 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -19,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
echo " echo "
<table cellpadding='3' cellspacing='3'> <table cellpadding='3' cellspacing='3'>
<tr><td class='f9i'> <tr><td class='f9i'>

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ==================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas S.L, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -17,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,22 +1,22 @@
<?php <?php
// Pandora FMS - the Free monitoring system
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // ============================================
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U6 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -2,7 +2,7 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");
check_login (); check_login ();

View File

@ -1,8 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -2,7 +2,7 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");
check_login (); check_login ();

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -15,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2004-2008 Raul Mateos Martin, raulofpandora@gmail.com // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load globar vars // Load globar vars
require("include/config.php"); require("include/config.php");
check_login(); check_login();

View File

@ -1,7 +1,8 @@
<?PHP <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -14,6 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require("include/config.php"); require("include/config.php");
check_login(); check_login();

View File

@ -1,20 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// CSS and some PHP code additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to code for Pandora FMS 1.2 graph code and new XML reporting template managemement
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -23,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require ("include/config.php"); require ("include/config.php");
check_login (); check_login ();

View File

@ -1,22 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2007 Leandro Doctors, ldoctors@gusila.org.ar
// For code belongs to average_per_hourday matrix report code
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// CSS and some PHP code additions
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// Javascript Active Console code.
// Copyright (c) 2006 Jose Navarro <contacto@indiseg.net>
// Additions to code for Pandora FMS 1.2 graph code and new XML reporting template managemement
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -25,6 +16,9 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Copyright (c) 2007 Leandro Doctors, ldoctors@gusila.org.ar
// For code belongs to average_per_hourday matrix report code
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,9 +1,13 @@
<?PHP <?php
// Copyright (c) 2008 Ramon Novoa, rnovoa@gmail.com
// // Pandora FMS - the Flexible Monitoring System
// ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -12,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora FMS
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora FMS
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
global $config; global $config;
check_login(); check_login();

View File

@ -1,13 +1,13 @@
<?php <?php
// Pandora FMS
// ==================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // ============================================
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas S.L, info@artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require ("include/config.php"); require ("include/config.php");

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System
// ======================================== // Pandora FMS - the Flexible Monitoring System
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ==================================== // ============================================
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas S.L, info@artica.es // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation for version 2.
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -17,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,7 +1,8 @@
<?php <?php
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
?> ?>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<!-- <!--
function CheckAll () { function CheckAll () {

View File

@ -1,12 +1,13 @@
<?php <?php
// Pandora FMS - the Flexible monitoring system
// Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2004-2008 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2008 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -15,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
error_reporting(E_ALL); error_reporting(E_ALL);
// Local settings for marquee extension // Local settings for marquee extension

View File

@ -2,12 +2,12 @@
// Pandora FMS - the Flexible Monitoring System // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
session_start(); session_start();
include ("../../include/config.php"); include ("../../include/config.php");

View File

@ -1,14 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -1,8 +1,8 @@
<?php <?php
// Pandora FMS - the Free Monitoring System // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Please see http://pandora.sourceforge.net for full contribution list // Please see http://pandora.sourceforge.net for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
$accion = ""; $accion = "";
require ("include/config.php"); require ("include/config.php");

View File

@ -1,16 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -18,6 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
?> ?>
<script language="javascript"> <script language="javascript">

View File

@ -1,16 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -18,6 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,16 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -18,6 +15,8 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,16 +1,13 @@
<?php <?php
// Pandora FMS - the Free monitoring system // Pandora FMS - the Flexible Monitoring System
// ======================================== // ============================================
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ -19,6 +16,7 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Load global vars // Load global vars
require("include/config.php"); require("include/config.php");

View File

@ -1,16 +1,13 @@
<?php <?php
// Pandora FMS - the Frexible monitoring system // Pandora FMS - the Flexible Monitoring System
// ============================================ // ============================================
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com // Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es
// Main PHP/SQL code development and project architecture and management // Please see http://pandora.sourceforge.net for full contribution list
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
// CSS and some PHP additions
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es
//
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 // as published by the Free Software Foundation for version 2.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

Some files were not shown because too many files have changed in this diff Show More