2011-01-26 22:08:40 +01:00
|
|
|
<?php
|
|
|
|
|
2011-03-22 23:11:57 +01:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
2011-01-26 22:08:40 +01:00
|
|
|
// ==================================================
|
2011-03-22 23:11:57 +01:00
|
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
2011-01-26 22:08:40 +01:00
|
|
|
|
|
|
|
// This program is free software; you can redistribute it and/or
|
2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
extensions/update_manager.php, extensions/users_connected.php,
extensions/extension_uploader.php, extensions/insert_data.php,
extensions/module_groups.php, extensions/plugin_registration.php,
extensions/agent_modules.php, extensions/resource_registration.php,
extensions/resource_exportation.php, extensions/dbmanager.php,
extensions/pandora_logs.php, general/*.php, ajax.php,
operation/search_*.php, operation/menu.php, operation/extensions.php,
godmode/menu.php, godmode/extensions.php, godmode/admin_access_logs.php:
CReverted unwanted license changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 17:13:28 +01:00
|
|
|
// modify it under the terms of the GNU General Public License
|
2011-03-22 23:11:57 +01:00
|
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
|
2011-01-26 22:08:40 +01:00
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2011-03-22 23:11:57 +01:00
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2011-01-26 22:08:40 +01:00
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
add_extension_opemode_tab_agent ('ssh_console','SSH Console','extensions/ssh_console/ssh.png',"main_ssh_console");
|
|
|
|
|
|
|
|
|
|
|
|
function main_ssh_console () {
|
|
|
|
|
|
|
|
$id_agente = get_parameter ("id_agente");
|
|
|
|
|
|
|
|
$ip = get_db_sql ("SELECT direccion FROM tagente WHERE id_agente = $id_agente");
|
|
|
|
|
|
|
|
?>
|
|
|
|
<div>
|
2011-03-22 23:11:57 +01:00
|
|
|
<applet code="com.mindbright.application.MindTerm.class" style="border: 2px;" archive="extensions/ssh_console/mindterm.jar" width="720" height="500">
|
2011-03-23 13:15:53 +01:00
|
|
|
<param name="sepframe" value="false">
|
|
|
|
<param name="debug" value="false">
|
|
|
|
<param name="verbose" value="false">
|
|
|
|
<param name="bg-color" value="black">
|
|
|
|
<param name="fg-color" value="white">
|
|
|
|
<param name="resizable" value="true">
|
|
|
|
<param name="save-lines" value="2000">
|
|
|
|
<param name="menus" value="pop2"5>
|
|
|
|
<param name="exit-on-logout" value="true">
|
|
|
|
<param name="server" value="<?PHP echo $ip; ?>">
|
2011-01-26 22:08:40 +01:00
|
|
|
</applet>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|