2012-06-21 Sancho Lerena <slerena@artica.es>

* extensions/update_manager/sql/update_manager.oracle.sql,
        extensions/update_manager/sql/update_manager.sql,
        extensions/update_manager/sql/update_manager.postgreSQL.sql: Updated
        some default details for update manager.

        * pandoradb_data.sql: Some updates on default data load.

        * include/help/es/help_main_help.php,
        include/help/es/help_gis_setup_map_connection.php,
        include/help/es/help_setup_gis_index.php,
        include/help/es/help_snmp_alert_field1.php,
        include/help/es/help_local_component.php: Missing help files for
        spanish added.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2012-06-21 14:17:38 +00:00
parent 2150abc506
commit 6f11608fe3
10 changed files with 114 additions and 7 deletions

View File

@ -1,3 +1,20 @@
2012-06-21 Sancho Lerena <slerena@artica.es>
* extensions/update_manager/sql/update_manager.oracle.sql,
extensions/update_manager/sql/update_manager.sql,
extensions/update_manager/sql/update_manager.postgreSQL.sql: Updated
some default details for update manager.
* pandoradb_data.sql: Some updates on default data load.
* include/help/es/help_main_help.php,
include/help/es/help_gis_setup_map_connection.php,
include/help/es/help_setup_gis_index.php,
include/help/es/help_snmp_alert_field1.php,
include/help/es/help_local_component.php: Missing help files for
spanish added.
2012-06-21 Ramon Novoa <rnovoa@artica.es>
* include/functions_servers.php: Merged from 4.0 branch. Added inventory

View File

@ -1,7 +1,7 @@
CREATE TABLE tupdate_settings ( key VARCHAR2(255) default '' PRIMARY KEY, value VARCHAR2(255) default '')
/INSERT INTO tupdate_settings VALUES ('current_update', '0')
/INSERT INTO tupdate_settings VALUES ('current_update', '412')
/INSERT INTO tupdate_settings VALUES ('customer_key', 'PANDORA-FREE')
/INSERT INTO tupdate_settings VALUES ('keygen_path', '/usr/share/pandora/util/keygen')
/INSERT INTO tupdate_settings VALUES ('keygen_path', '/usr/share/pandora_server/keygen.i386.static')
/INSERT INTO tupdate_settings VALUES ('update_server_host', 'www.artica.es')
/INSERT INTO tupdate_settings VALUES ('update_server_port', '80')
/INSERT INTO tupdate_settings VALUES ('update_server_path', '/pandoraupdate4/server.php')

View File

@ -1,5 +1,5 @@
CREATE TABLE "tupdate_settings" ( "key" varchar(255) default '' PRIMARY KEY, "value" varchar(255) default '');
INSERT INTO "tupdate_settings" VALUES ('current_update', '0'), ('customer_key', 'PANDORA-FREE'), ('keygen_path', '/usr/share/pandora/util/keygen'), ('update_server_host', 'www.artica.es'), ('update_server_port', '80'), ('update_server_path', '/pandoraupdate4/server.php'), ('updating_binary_path', 'Path where the updated binary files will be stored'), ('updating_code_path', 'Path where the updated code is stored'), ('dbname', ''), ('dbhost', ''), ('dbpass', ''), ('dbuser', ''), ('dbport', ''), ('proxy', ''), ('proxy_port', ''), ('proxy_user', ''), ('proxy_pass', '');
INSERT INTO "tupdate_settings" VALUES ('current_update', '412'), ('customer_key', 'PANDORA-FREE'), ('keygen_path', '/usr/share/pandora_server/keygen.i386.static'), ('update_server_host', 'www.artica.es'), ('update_server_port', '80'), ('update_server_path', '/pandoraupdate4/server.php'), ('updating_binary_path', 'Path where the updated binary files will be stored'), ('updating_code_path', 'Path where the updated code is stored'), ('dbname', ''), ('dbhost', ''), ('dbpass', ''), ('dbuser', ''), ('dbport', ''), ('proxy', ''), ('proxy_port', ''), ('proxy_user', ''), ('proxy_pass', '');
CREATE TABLE "tupdate_package"( "id" SERIAL NOT NULL PRIMARY KEY, "timestamp" TIMESTAMP without time zone default NULL, "description" varchar(255) default '');
CREATE TYPE type_tupdate_type AS ENUM ('code', 'db_data', 'db_schema', 'binary');
CREATE TABLE "tupdate" ( "id" SERIAL NOT NULL PRIMARY KEY, "type" type_tupdate_type, "id_update_package" INTEGER default 0 REFERENCES "tupdate_package"("id") ON UPDATE CASCADE ON DELETE CASCADE, "filename" varchar(250) default '', "checksum" varchar(250) default '', "previous_checksum" varchar(250) default '', "svn_version" INTEGER default 0, "data" TEXT default '', "data_rollback" TEXT default '', "description" TEXT default '', "db_table_name" varchar(140) default '', "db_field_name" varchar(140) default '', "db_field_value" varchar(1024) default '');

View File

@ -1,5 +1,5 @@
CREATE TABLE `tupdate_settings` ( `key` varchar(255) default '', `value` varchar(255) default '', PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `tupdate_settings` VALUES ('current_update', '0'), ('customer_key', 'PANDORA-FREE'), ('keygen_path', '/usr/share/pandora/util/keygen'), ('update_server_host', 'www.artica.es'), ('update_server_port', '80'), ('update_server_path', '/pandoraupdate4/server.php'), ('updating_binary_path', 'Path where the updated binary files will be stored'), ('updating_code_path', 'Path where the updated code is stored'), ('dbname', ''), ('dbhost', ''), ('dbpass', ''), ('dbuser', ''), ('dbport', ''), ('proxy', ''), ('proxy_port', ''), ('proxy_user', ''), ('proxy_pass', '');
INSERT INTO `tupdate_settings` VALUES ('current_update', '412'), ('customer_key', 'PANDORA-FREE'), ('keygen_path', '/usr/share/pandora_server/keygen.i386.static'), ('update_server_host', 'www.artica.es'), ('update_server_port', '80'), ('update_server_path', '/pandoraupdate4/server.php'), ('updating_binary_path', 'Path where the updated binary files will be stored'), ('updating_code_path', 'Path where the updated code is stored'), ('dbname', ''), ('dbhost', ''), ('dbpass', ''), ('dbuser', ''), ('dbport', ''), ('proxy', ''), ('proxy_port', ''), ('proxy_user', ''), ('proxy_pass', '');
CREATE TABLE `tupdate_package` ( id int(11) unsigned NOT NULL auto_increment, timestamp datetime NOT NULL, description varchar(255) default '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tupdate` ( id int(11) unsigned NOT NULL auto_increment, type enum('code', 'db_data', 'db_schema', 'binary'), id_update_package int(11) unsigned NOT NULL default 0, filename varchar(250) default '', checksum varchar(250) default '', previous_checksum varchar(250) default '', svn_version int(4) unsigned NOT NULL default 0, data LONGTEXT default '', data_rollback LONGTEXT default '', description TEXT default '', db_table_name varchar(140) default '', db_field_name varchar(140) default '', db_field_value varchar(1024) default '', PRIMARY KEY (`id`), FOREIGN KEY (`id_update_package`) REFERENCES tupdate_package(`id`) ON UPDATE CASCADE ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tupdate_journal` ( id int(11) unsigned NOT NULL auto_increment, id_update int(11) unsigned NOT NULL default 0, PRIMARY KEY (`id`), FOREIGN KEY (`id_update`) REFERENCES tupdate(`id`) ON UPDATE CASCADE ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@ -0,0 +1,39 @@
<?php
/**
* @package Include/help/es
*/
?>
<h1>Configuración de las conexiones GIS</h1>
<p>
En esta sección, es donde el administrador puede configurar <strong>una conexión a un servidor de mapas GIS</strong>.
</p>
<h2>Tipos de conexión</h2>
<p>
Ahora mismo, Pandora FMS soporta tres tipos de conexiones:
OpenStreetMap, Google Maps e imágenes estáticas.
</p>
<h3>Open Street Maps</h3>
<p>
Para usar el conector de Open Street maps, puede montar su propio servidor (lea más sobre esto en <a href="http://wiki.openstreetmap.org/wiki/Main_Page">http://wiki.openstreetmap.org/wiki/Main_Page</a> y <a href="http://wiki.openstreetmap.org/wiki/Mapnik">http://wiki.openstreetmap.org/wiki/Mapnik</a> como ejemplo de como hacer el render de sus propios "tiles"), tambien puede acceder a un servidor de mapas publico online de Openstreet maps de esta manera:<br />
</p>
<pre>
http://tile.openstreetmap.org/${z}/${x}/${y}.png
</pre>
<p>
Verifique los términos de <a href="http://wiki.openstreetmap.org/wiki/Licence">Licencia</a> de Openstreet maps antes de usarlo.
</p>
<h3>Google MAPS</h3>
<p>
Primero, necesta registrar y obtener una API KEY. Puede leer acerca de este proceso en <br/>
<a href="http://code.google.com/intl/en/apis/maps/signup.html">http://code.google.com/intl/en/apis/maps/signup.html</a></p>
<p>Una API de google maps es similar a:</p>
<pre>
ABQIAAAAZuJY-VSG4gOH73b6mcUw1hTfSvFQRXGUGjHx8f036YCF-UKjgxT9lUhqOJx7KDHSnFnt46qnj89SOQ
</pre>
<h3>Imagénes estáticas</h3>
<p>
También es posible usar una imagen estática (un PNG, por ejemplo) como el único origen del mapa. Para usarla, debe especificar la URL, la información de posición de la imagen y el alto y ancho de la imagen.
</p>

View File

@ -0,0 +1,9 @@
<?php
/*
* @package Include/help/en
*/
?>
<h1>Componente local</h1>
<p>Los componentes locales son elementos que pueden aplicarse a agentes como plantillas. Con la versión Enterprise, esto se puede automatizar y aplicar de forma remota con las políticas.</p>

View File

@ -0,0 +1,14 @@
<?php
/**
* @package Include/help/en
*/
?>
<h1>Pandora FMS - Índice de la ayuda</h1>
<h3>Introdución</h3>
<p>
Esta es la ayuda online para la consola de Pandora FMS. Esta ayuda es -en el mejor de los casos-, simplemente una ayuda contextual breve, no pretende enseñar en detalle como usar Pandora FMS. La documentación oficial de Pandora FMS son 1000 páginas, y probablemente no es necesario leerla entera, pero en cualquier caso, es importante echarle un buen vistazo.
<br><br>
<a href="http://pandorafms.com/pandora/doc/"><b>Descargue la documentación oficial</b></a>
</p>

View File

@ -0,0 +1,13 @@
<?php
/**
* @package Include/help/en
*/
?>
<h1>Configuracion de conexiones GIS</h1>
<p>
En esta sección, es donde el administrador puede configurar <strong>una conexión a un servidor de mapas GIS</strong>.
</p>
<p>
Puede ver aqui la lista de las conexiones configuradas, y editar cualquier valor de ellas haciendo click sobre su nombre. También puede borrar cualquier conexión o crear nuevas conexiones.
</p>

View File

@ -0,0 +1,16 @@
<?php
/**
* @package Include/help/en
*/
?>
<h1>SNMP Trap - Macros de datos para las alertas </h1>
<p>
Una vez que ha parseado los campos de datos mediante regexp, puede usar esos campos de datos, para sustituir sus valores en las alertas. Para ello, se pueden usar las macros especiales _snmp_f1_, _snmp_f2_ y _snmp_f3_. Estas macros no tienen valor o sentido fuera del contexto de las alertas de traps SNMP.
Para contruir un mensaje, podríamos usar la siguiente cadena en el "campo1":
Alerta de Chasis: _snmp_f2_ en dispositivo _snmp_f1_
Puede usar esas macros en el campo1, campo2 y campo3 de cualquier alerta.
</p>

View File

@ -194,11 +194,10 @@ UNLOCK TABLES;
LOCK TABLES `tlink` WRITE;
INSERT INTO `tlink` VALUES
(1,'Pandora FMS Manual','https://openideas.info/wiki/index.php?title=Pandora'),
(2,'Pandora FMS','http://pandorafms.org'),
(2,'Pandora FMS','http://pandorafms.com'),
(3,'Report a bug','https://sourceforge.net/tracker/?func=add&amp;group_id=155200&amp;atid=794852'),
(4,'Suggest new feature','http://sourceforge.net/tracker/?group_id=155200&amp;atid=794855'),
(5,'Module library','http://pandorafms.org/?sec=community&amp;sec2=repository&amp;lng=es'),
(6,'Commercial support','http://pandorafms.com');
(5,'Module library','http://pandorafms.com/pandora/repository/en');
UNLOCK TABLES;