// 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 // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; 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. // ======================== // AGENT GENERAL DATA FORM // ======================== // Load global vars require("include/config.php"); if (give_acl($id_user, 0, "AW")!=1) { audit_db($id_usuario,$REMOTE_ADDR, "ACL Violation","Trying to access agent manager"); require ("general/noaccess.php"); exit; }; echo "

".$lang_label["agent_conf"]; if (isset($_GET["create_agent"])){ $create_agent = 1; echo " > ".$lang_label["create_agent"]."  ".$lang_label["help"].""; } else { echo " > ".$lang_label["update_agent"]."  ".$lang_label["help"].""; } echo "

"; echo "
"; echo '
'; if ($create_agent == 1) { echo ""; } else { echo ""; echo ""; } echo ''; echo ""; echo '"; echo '
'.$lang_label["agent_name"].' '; if ((isset($id_agente)) && ($id_agente != "")){ echo " "; } echo '
'; echo ''.$lang_label["ip_address"].''; echo ''; echo ''; echo "    "; echo ' ".$lang_label["delete_sel"]; echo "
'.$lang_label["group"].''; echo '
'; echo $lang_label["normal_mode"].' '; } else { echo $lang_label["learning_mode"].' '; echo $lang_label["normal_mode"].' '; } ?>
'; echo $lang_label["active"].' '; } else { echo $lang_label["disabled"].' '; echo $lang_label["active"].' '; } echo '
'; if ($create_agent == 1){ echo " "; } else { echo " "; } echo "
"; ?>