Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

HTTP view

Author: aarregi Create in: 01/26/2012 Update in: 02/01/2012
Rating:
Module type : Web module


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 modifcación de la extensión, VNC, pero para conectarse por HTTP.

Module data

<?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');
?>

Included files

  •  
    File: http_view.zip Size: 2KiB
    Uploaded in: 03/01/2017
    Description: