1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
Loading...
:

Module data

Permite conectarse al agente, desde la vista detalla del agente, por HTTP. Por ejemplo, si tenemos, un gateway de voz o un PBX, y falla algún módulo, nos podrías conectar a él directamente desde la consola.

Es una modificación de la extensión, VNC, pero para conectarse por HTTP.

<?php 

// Egilea : Aitor Arregi 

// 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. 

function http_view() { 
$idAgent = (int)get_parameter('id_agente', 0); 
$ipAgent = db_get_value('direccion', 'tagente', 'id_agente', $idAgent); 

echo "<iframe src='http://$ipAgent' width='100%' height='650'>"; 
echo "</iframe>"; 
} 
extensions_add_opemode_tab_agent('http_view',__('HTTP'),'images/http_view.png','http_view'); 
?>

Files:

http_view.zip

(Visited 296 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X