Commit Graph

479 Commits

Author SHA1 Message Date
Ramon Novoa 207b60c541 2011-07-01 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/servers/manage_recontask.php,
	  godmode/servers/manage_recontask_form.php: Changes needed by the
	  improved Recon Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-01 12:41:56 +00:00
Ramon Novoa 19fea4a864 2011-06-10 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added support for
	  configuration change events (enterprise).
	
	* operation/events/events_list.php: Improved event grouping.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 12:38:59 +00:00
Ramon Novoa ffd88206e6 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Added support for event tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:14:32 +00:00
juanmanuelr c87a3dd689 2011-05-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/menu.css: Added new background image on css 
	tag entry.
	* include/functions_tags.php: Added new function code for tag 
	functionality.
	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added new tables "ttag",
	"ttag_module", "ttag_policy_module" and "ttag_event".
	* godmode/tag: Added new path.
	* godmode/menu.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Tag editor for events correlation engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-26 10:51:17 +00:00
vgilc eae12b8e9b 2011-05-25 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/module_manager_editor_common.php
	include/graphs/fgraph.php
	include/graphs/functions_fsgraph.php
	include/functions_graph.php
	include/functions_modules.php
	pandoradb.oracle.sql
	pandoradb.postgreSQL.sql
	pandoradb.sql: Added units to modules and graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-25 09:57:05 +00:00
javilanz 2d73a374af 2011-05-20 Javier Lanz <javier.lanz@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'server_name' column
	to treport_content, treport_content_sla_combined and treport_content_item


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-20 11:44:35 +00:00
zarzuelo 83aa193eed 2011-05-16 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Fixed default values into tusuario_perfil
	and tgrupo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 15:56:27 +00:00
zarzuelo 033cd59c90 2011-05-13 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Moved some alter tables 
	from Enterprise side



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-13 11:16:18 +00:00
mdtrooper cd3a886940 2011-05-09 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql: fixed the default value for
	timestamp, there was a own mistake in the order of date, sorry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 15:10:31 +00:00
mdtrooper 36d4a89535 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
	zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".

	* include/functions_graph.php,include/db/postgresql.php,
	include/functions_modules.php, include/functions_agents.php,
	operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php, operation/servers/view_server.php,
	operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
	godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
	PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 15:20:49 +00:00
Ramon Novoa 09d3c22541 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Fixed an error in last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:32:29 +00:00
Ramon Novoa 8c7a7431ea 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  general/logon_ok.php, godmode/admin_access_logs.php: Several fixes to
	  make things work in MySQL, PostgreSQL and Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:30:53 +00:00
jsatoh 62566f5d3e 2011-04-14 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	pandoradb.sql,
	pandoradb.postgreSQL.sql,
	pandoradb.oracle.sql: Changed tperfil.name type to fix field length
	shortage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 04:50:54 +00:00
marostegui 9416e1dc99 2011-04-09 Manuel Arostegui <manuel@todo-linux.com>
* pandoradb.sql: Added index to tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-09 18:09:52 +00:00
javilanz d0346fc2f5 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* pandoradb.postgreSQL.sql: Added 'id_group' & 'id_module_group' fields 
	to treport_content table
	* pandoradb.oracle.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'id_group' &
	'id_module_group' fields to treport_content table


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 15:42:05 +00:00
mdtrooper 1ad4276daf 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: added column "style" for to
	add style (as json encode) the many styles for the contents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 14:35:08 +00:00
javilanz 11d0a0f0b2 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added creation of treport_content_item and updated
	treport_content table
	* pandoradb.postgreSQL.sql: Added creation of treport_content_item and
	updated treport_content table
	* pandoradb.oracle.sql: Added creation of treport_content_item and
	updated treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added creation of
	treport_content_item and updated treport_content table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 12:57:26 +00:00
javilanz 67dc758841 2011-03-21 Javier Lanz <javier.lanz@artica.es>
* include/functions_events.php: Truncated agent and module name
	* include/functions_reporting.php: Added functionality to store info of
	General, Top n and Exception reports
	* include/pchart_graph.php: Added function graph_sla_horizontal to print
	sla horizontal graph bar. (Not working properly yet)
	* include/pandora_graph.php: Added prototipe for
	function graph_sla_horizontal
	* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
	* include/functions.php: Added options top n, exception and general for
	the combo box to select report type.
	* pandoradb.sql: added fome fields to treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to 
	treport_content table
	* godmode/reporting/reporting_builder.list_items.php: Truncated agent
	and module name
	* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
	bar to the report table
	* godmode/reporting/reporting_builder.php: Added variables for the new
	kinds of reports, top n, exception and general
	* godmode/reporting/reporting_builder.item_editor.php: Added html
	elements for the new kind of reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-21 17:20:18 +00:00
Ramon Novoa 716c90b318 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql, include/functions_alerts.php,
	  pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/alerts/alert_list.list.php, godmode/alerts/alert_list.php,
	  godmode/alerts/configure_alert_action.php, godmode/alerts/alert_actions.php,
	  godmode/alerts/alert_list.builder.php: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:40:23 +00:00
juanmanuelr 7a571a501c 2011-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added "block_size" and 
	"flash_chart" columns on tusuario table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 09:54:06 +00:00
javilanz e4217ce9d8 2011-02-09 Javier Lanz <javier.lanz@artica.es>
* include/functions_reportings.php: Added functionality to show only
	wrong modules
	* pandoradb.sql: Added column 'only_display_wrong" to treports_content
	* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
	'only_display_wrong" to treports_content
	* godmode/reporting/reporting_builder.php: Added functionality to show
	only wrong modules
	* godmode/reporting/reporting_builder.item_editor.php: Added functionality
	to show only wrong modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 12:57:00 +00:00
mdtrooper a25c82dc8b 2011-02-07 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 11:34:44 +00:00
slerena 76f68afcb9 2011-02-02 Sancho lerena <slerena@artica.es>
* pandoradb.sql: Altered lenght for custom SQL reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-02 18:18:48 +00:00
mdtrooper e6e1f0c071 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components.php: added the "post process"
	parameter to network component and use in network component editor and
	module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 09:23:05 +00:00
raulmateos 4d2dce37db 2010-01-16 Raúl Mateos <raulofpandora@gmail.com>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated
	year, just to know these files are updated from v3.2

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-16 22:56:39 +00:00
javilanz ab5b664f07 2010-01-14 Javier Lanz <javier.lanz@artica.es>
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
	* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
	* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
	* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
	* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-14 12:33:31 +00:00
slerena 8076ebef09 2010-12-22 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_v3.1_to_v3.2.sql,
        pandoradb.sql: Some fields are now TEXT due the problem with new
        HTML entities encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 19:41:05 +00:00
darode b937eb3072 2010-12-20 Dario Rodriguez <dario.rodriguez@artica.es>
* pandoradb.sql: Modify column external source of treport_content
	from tinytext to text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-20 14:44:15 +00:00
mdtrooper 8ecc1abbbe 2010-12-15 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the
	size of field "nombre" in table "tagente" for html entities.
	
	Fixes: #3136610



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-15 13:37:27 +00:00
raulmateos 19beef381f 2010-11-08 Raúu Mateos <raulofpandora@gmail.com>
* pandoradb.sql. pandoradb_data.sql, pandora_console_install: Updated
	year/version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 11:50:51 +00:00
slerena 234c127254 2010-10-20 Sancho Lerena <slerena@artica.es>
* pandoradb.sql
        extras/pandoradb_migrate_v3.1_to_v3.2.sql: TEXT type for some
        fields with small length now with the HTML encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 14:11:42 +00:00
slerena 0ae912e31d 2010-10-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
	custom script items (due the referencial integrity).
	
	* pandoradb_data.sql: Octopods instead octopus.
	
	* godmode/menu.php,
	* godmode/servers/recon_script.php: Added new option to manage recon scripts
	
	* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Changes to manage the new recon
	tasks using custom-defined scripts to detect and monitor things (neeed some
	Javascript improvements).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 18:16:45 +00:00
Ramon Novoa 0dad2f9075 2010-10-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Added support for recon scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 13:03:03 +00:00
mdtrooper e2edbcb416 2010-10-14 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
	table "tagente_modulo" the field "policy_adopted" for to set a module
	pre exist in policy as adopted.
	
	*operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted 
	but unlinked" in the list of modules.
	
	Pending tasks: #3083123
	

	
	* include/functions_modules.php: cleaned source code style in function
	"update_agent_module".
	
	* godmode/agentes/module_manager_editor_network.php: fixed warning messages
	when use this file in policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 15:09:29 +00:00
zarzuelo 428e4e0baf 2010-09-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Deleted several
	columns from the events view and adding a
	show/hide advanced fields feature. 
	Added a new state 'in process' to validation
	and an input comment when a status is changed.

	* include/fgraph.php: Fixed quotes
	in constant definition

	* include/functions_ui.php
	include/functions_agents.php
	include/functions_alerts.php
	operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php
	images/bell_pause.png
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_standby_alerts.php: Added
	the feature of set and set off on standby an alert
	in the alets management and view if an alert is in
	standby in the rest of views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 12:34:11 +00:00
Ramon Novoa 9a164c1b1c 2010-09-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-15 09:54:48 +00:00
Ramon Novoa d850cd98fa 2010-09-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
          new column to talert_template_modules to support standby alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 14:21:05 +00:00
slerena 724c0b96d3 2010-08-26 Sancho Lerena <slerena@gmail.com>
* include/functions_agents.php: Call to get_agents () with current
    user and without returning "all" group, this avoid to render non-visible
    (ACL) agents in the AJAX control to return an agent.

    * pandoradb.sql: ttrap value* information resized.

    * extensions/users_connected.php: ACL check before show users.

    * operation/events/events_marquee.php: Added ACL check.

    * operation/events/events.php: System events not shown to normal
    users.

    * operation/menu.php: Server view is now only for PM.

    * extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
    table.

    * general/noaccess.php: Added code to avoid image usage when called
    from different directories than standard.

    * godmode/agentes/agent_manager.php: Proper call to
    get_user_groups().

    * godmode/menu.php: Profiles are now under user management.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-26 15:51:09 +00:00
zarzuelo fe100460f5 2010-08-25 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/ver_agente.php
	operation/agentes/agent_fields.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	godmode/agentes/fields_manager.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/agent_manager.php
	godmode/menu.php: Added the custom field feature
	including agents custom fields managment, agent
	custom field viewer, custom fields added at the 
	agent configuration, customization of the custom
	fields to display it in the agent details and
	the creation of two new tables into the sql scripts
	All for pending task: 3052918



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-25 12:04:42 +00:00
zarzuelo e744767d15 2010-08-19 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql: Fixed a typo bug in the creation of agente_modulo table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3159 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-19 09:09:04 +00:00
zarzuelo 5c93a42a43 2010-08-19 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extra/pandoradb_migrate_v3.1_to_v3.2.sql: added a database field on
	agente_modulo to unlink the modules from policies
	
	* images/unlinkpolicy.png
	images/linkpolicy.png: Added two icons to linked and unlinked policies



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-19 08:24:09 +00:00
slerena 555f05848a 2010-08-18 Sancho Lerena <slerena@artica.es>
* include/functions_io.php: safe_input() modified to detect SQL injection
    attacks using /**/ strings.

    * index.php: Prevent HTTP response splitting attacks.

    * pandora_console.spec: Updated some spec variables and description.

    * pandoradb.sql,
    extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
    to store the snmp_community on detected hosts in a recon task.

    * extras/pandora_diag.php: Fixed security problem in relative path.

    * general/pandora_help.php, 
    general/footer.php: Fixed security problem in relative path/include.

    * general/login_page.php: Fixed security problem in URL parsing.

    * godmode/servers/manage_recontask_form.php, 
    manage_recontask.php: Implemented new feature to use a snmp comunity on all
    network modules added to a new detected host.

    * config_process.php: Updated build.

    * functions.php: New version of safe_url_extraclean() function (security fix)
    and modified also enterprise_include* functions to have a secure include.

    * functions_ui.php: Secured function get_include_contents().

    * operation/agentes/gis_view.php: Secured url extraction/parsing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-18 11:35:42 +00:00
Ramon Novoa 1e1c97f2b2 2010-08-12 Ramon Novoa <rnovoa@artica.es>
* include/functions_alerts.php,
          godmode/alerts/configure_alert_template.php: Added support for
          unknown status alerts.

        * pandoradb.sql, godmode/menu.php,
          extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added support for SNMP
          filters.

        * godmode/snmpconsole/snmp_filters.php: Added to repository. SNMP
          filter editor.

        * operation/snmpconsole/snmp_view.php: Fixed header placement.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-12 12:23:25 +00:00
zarzuelo 75520723ff 2010-08-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed the creation of
	tnetwork_map table creation adding the missed column 'center'



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 12:34:21 +00:00
mdtrooper 33e11d7034 2010-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added parameter $readOnly in the
	function "file_explorer".
	
	*pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added into the
	table "talert_template_modules" the column "id_policy_alerts".
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-05 17:02:45 +00:00
zarzuelo 30053e9fcc 2010-08-03 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module
	field into agente_modulo table for future use



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 11:23:16 +00:00
zarzuelo 08adfae6d0 2010-07-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/help/en/help_network_map.php
	include/help/es/help_network_map.php
	pandoradb.sql
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
	storage on database, clean the network maps code and fixed some
	little bugs of the same section



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:03:23 +00:00
mdtrooper 986a09f3ea 2010-07-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added new parameters in the function
	"get_agentmodule_sla", the parameters days of week to search and range of
	time. And use new parameteres in the call for SLA data in function
	"render_report_html_item".
	
	* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
	"treport_content" added the fields for set days of week and range time
	for SLA.
	
	* operation/reporting/reporting_xml.php: use new parameters in the call for
	SLA data.

	* godmode/reporting/reporting_builder.php: added source code for save,
	update new fields (days of week and time range).
	
	* godmode/reporting/reporting_builder.item_editor.php: added source code to
	show the fields (days of week and time range).
	
	Pending task: #3033457



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 18:11:42 +00:00
mdtrooper 263416f343 2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: added in the table tgrupo the column 'propagrate' for to
	use in the subgroups trees (new feature in comming for 3.2).
	
	* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to
	migrate from 3.1 to 3.2.
	
	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into
	repository the branch 3.1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 09:59:00 +00:00
mdtrooper 7c89c8954e 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: fixed the syntax of sql for compatibility of mysql 5.0 that
	this versión is used in Debian Lenny for example. Now run in 5.0 and next
	versións.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 15:14:38 +00:00
zarzuelo 24e7d86f72 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
        extras/pandoradb_migrate_v3.0_to_v3.1.sql
        godmode/setup/gis_step_2.php
        godmode/gis_maps/configure_gis_map.php: Added at the combos the
        group All and asigned in creation layers -1 value to None value 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 08:25:20 +00:00
mdtrooper f61c1f50b9 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: renamed the
	column "row_separator" to more exactly name "column_separator". Sorry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 19:33:14 +00:00
zarzuelo 476035f4a8 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
       extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
        foreign key between treport and tgrupo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 09:54:34 +00:00
mdtrooper 5eb65d93df 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and
	add_sla actions.
	
	* include/functions.php: added in the function "get_report_types" new types
	of items/contents for reporting.

	* pandoradb.sql: added columns custom_logo, header, first_page, footer,
	custom_font into the table treport. And in the table treport_content have
	new columns text, external_source, treport_custom_sql_id, header_definition,
	row_separator, line_separator. Added new table treport_custom_sql.
	
	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it
	same to pandoradb.sql. 

	* images/sort_none.png, images/sort_down.png, images/sort_up.png: added the
	images for order list items for reports.

	* godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.main.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: made new forms to
	manage the reporting, now Pandora have tabs and list of items. In the list
	of items, you can order manually or automatically the items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 19:01:47 +00:00
slerena 9c8b33b3d9 2010-02-25 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Alert information now show the default
	actions properly,and the action conditions (max/min).

	* include/functions_alerts.php: Added support on get_alert_templates_types
	for new alert type "onchange".

	* pandoradb.sql,
	extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new support for alert
	type "onchange".

	* godmode/alerts/alert_list.php: Alert information now shows the default
	action (if exist) and have a link to edit the template directly from here.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 18:48:36 +00:00
slerena e76cdb0747 2010-02-19 Sancho Lerena <slerena@artica.es>
* functions_events.php: Fixed typo (switched meaning) in two labels.

	* include/styles/pandora.css: Changed background color of th default style.

	* include/functions_reporting.php: Improved function get_group_stats(). Now
	supports stats from batch-mode and get realtime stats in a more efficient
	way. Fixed get_fired_alerts_reporting_table() to avoid problems in external 
	reporting (PDF & XML).

	* include/functions_servers.php: get_server_performance() now uses batch mode
	stats reporting, and improved also the realtime stats generation. Same with
	function get_server_info().

	* include/functions_config.php: Added new config tokens (not fully 
	implemented yet) for event, trap, strings and audit automatic purge.

	* include/functions_ui.php: Added new print_page_header() function to set
	the new standard header in all pages, using the "tabbed" format to show
	the title, subtitle and other options like help, or custom-tabs for the page

	* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to 
	tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
	agents_unknown.

	* extensions/ext_backup: New directory to place "deleted" extensions.

	* extensions/dbmanager/dbmanager.css: Table names now are in it's original
	lowercase/uppercase format.

	* extensions/dbmanager.php: Updated headers, and now return "empty" when
	a search is empty, instead "error" as before.

	* extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	extensions/pandora_logs.php
	operation/incidents/incident.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	godmode/agentes/planned_downtime.php
	operation/events/events.php
	operation/visual_console/index.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/exportdata.php
	operation/agentes/ver_agente.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/users/user_statistics.php: Added new header format.

	* operation/agentes/estado_grupo.php: Removed old group view.

	* operation/agentes/tactical.php: Adapted to use new realtime/batch 
	statistical system. Placed events above server info. Showing only pending
	events and other minor changes.

	* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
	most ugly, but much more useful than before.

	* operation/agentes/networkmap.php: Added title.

	* operation/messages/message.php: Added title and adding some exists in 	
	code was missing before.

	* operation/reporting/reporting_viewer.php: Added title.

	* operation/reporting/graph_viewer.php: Added title.

	* operation/reporting/custom_reporting.php: Added title.

	* operation/servers/view_server.php: 

	* operation/menu.php: Replaced old group view with new (this has english
	name). Removed autorefresh "by default" in server view.

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.

	* extras/pandora_diag.php: Minor changes, removed some info and added other.

	* general/logon_ok.php: Minor aesthetic changes.

	* general/header.php: Fixed missing ";"

	* operation/extensions.php,
	godmode/extensions.php: Added support for delete extensions.

	* godmode/menu.php: New setup items.

	* godmode/setup/setup.php,
	godmode/setup/performance.php,
	godmode/setup/setup_visuals.php: Reordered setup options, new setup section	
	"Performance", added new performance options to set  "realtime" statistics
	or "batchmode" with it's own interval. Some setup info is now shared with
	the servers (but it it's any change in setup, servers should be restarted 
	anyway).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 15:16:03 +00:00
Pablo de la Concepción Sanz fc6c4c678a 2010-02-17 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified data
    model using a new table tgis_data_status to save the current GIS data and
    the table tgis_data_history to store the historical GIS data. That also
    means that the GIS related fields from the table tagente are now in the
    table tgis_data_status. The foreign key in the table tgis_map_layer to
    tgrupo has been droped because now it's possible to have layers without
    group, just agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-17 19:35:39 +00:00
mdtrooper 2e1410f8dd 2010-02-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add the parameter id layer in the function
	"makeLayer" for add the id layer (id of db) in the layer. Fill in the
	sourcecode  in the function "activateAjaxRefresh" that now show new
	agents in the map in real time and add make changes in this function.
	 
	* operation/gis_maps/render_view.php: use the new parameter in the call
	of function "makeLayer".

	* operation/gis_maps/ajax.php: add code to return new positions (and name
	and icon) when the ask the positions in "activateAjaxRefresh".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-17 17:27:25 +00:00
eric_ross_c f445bdf12c Fix commit for adding LOG4X support
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 13:07:52 +00:00
mdtrooper b4dff4975c 2010-02-12 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: add new fields to tnetwork_component for support the
	snmp ver 3.
	
	* godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_components.php: add support to snmp ver 3,
	add the fields for this use, and now can create and edit network
	component with snmp ver 3.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-12 11:13:24 +00:00
Pablo de la Concepción Sanz 2a113ca682 2010-02-10 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/gis_maps/index.php: Fixed regresion, standarized using map_id
    as parameter.

    * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
    default_map to table tgis_map to mark the default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:31:26 +00:00
slerena 1a0d72164f 2010-02-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
	Added several index and dropped some fields in tagente_datos and 
	tagente_datos_string tagent_access.
	
	* godmode/setup/setup.php, 
	* include/functions_config.php: Management of new timezone settings and
	realtime stats parameters.

	* include/config_process.php: New timezone management. Updated build.

	* pandoradb_data.sql: Build update. Added new tokens realtimestats and
	stats_interval.

	* install.php: Several changes: Now display GPL licence, better SQL error
	management, and steps are shown now as text instead a progress bar. Also 
	show version and build of the installer.

	* extensions/dbmanager.php: Removed some warnings

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.

	* godmode/agentes/module_manager_editor_network.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Implemented partial support for
	SNMP v3. Miguel will finish the work :-)

	* index.php: Session close function deprecated, replaced by a more standard
	method with unset.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:10:10 +00:00
mdtrooper b3975d1797 2010-01-25 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: add the group column for SLA purposes.
	* operation/agentes/gis_view.php: page for GIS data in agents view.
	* operation/agentes/ver_agente.php: add the tab for GIS data.
	* operation/menu.php, godmode/menu.php: change the lines for show the
	entries in menu, now show the entries gis when it's set on.
	* godmode/setup/setup.php: add the field to set on or off the GIS features
	in the Pandora Console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-25 15:29:33 +00:00
Pablo de la Concepción Sanz 53b034fbd0 2010-01-22 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql, 
    pandoradb_data.sql: Modified the GIS related tables, to make a better
    GIS Data model, also included the activate_gis config parameter on tconfig.
    Added column timezone_offset to table tserver_export so the export server
    can send timezone information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-22 14:18:23 +00:00
Pablo de la Concepción Sanz d6140f4b3c 2010-01-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
    number_of_packages to tgis_data to track the number of data packages
    received while the agent is in the same position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-18 10:33:17 +00:00
Pablo de la Concepción Sanz a34bcfecc1 2010-01-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
    schema to give a default value to start_timestamp on tgis_data, without
    it as is a timestamp MySQL sets the default value as CURRENT_TIMESTAMP
    and also sets the CURRENT_TIMESTAMP ON UPDATE, setting the DEFAULT
    CURRENT_TIMESTAMP prevents MySQL to set the ON UPDATE CURRENT_TIMESTAMP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-15 14:03:31 +00:00
Pablo de la Concepción Sanz 98917006f3 2010-01-14 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
    schema to add, group_id and zoom_level to the table tgis_map and set the
    primary keys of the new tables as autoincremet.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-14 14:03:33 +00:00
Pablo de la Concepción Sanz 0b1a5833e8 2010-01-13 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
    schema to store more efficiently the GIS information,and added some
    comments to explain the use of the new columns. Also added the last
    change on the graph weights to the migrate script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-13 17:32:52 +00:00
Pablo de la Concepción Sanz 3cbf275395 2010-01-12 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql: Added GIS tables, and timezone_offset,
    icon, and update_gis_data to tagente.

    * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new migration script

    * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed old migration script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-12 18:08:08 +00:00
slerena c655bab09d 2009-12-31 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Custom graph weights now can be float.

        * include/config_process.php: Updated version to 3.1-dev

        This is the first commit of 3.1 version ! :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-31 11:28:16 +00:00
slerena 8616146e8f 2009-12-29 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: upps, too small, in huge systems could give a 
        problem in the autoinsert ID.

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed a broken line
        that make problems in our upgrade script. Added upgrade for
        update manager from 2.x to 3.0 version URL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-30 19:26:05 +00:00
slerena 6ee8335b7c 2009-12-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: tnetwork_component double(18,13) -> double
        (18,3) by a typo !¡¿?. That is the type for tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 15:52:17 +00:00
mdtrooper c5109fccb8 2009-10-07 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: change the field
	"name" in the table "tagente" to binary varchar.
	* include/functions_events.php, operation/events/events.php: add new
	columns, the severity colummn and the validate colummn.
	* images/tag_red.png, images/tick.png,
	images/status_sets/default/severity_informational.png,
	images/status_sets/default/severity_maintenance.png,
	images/status_sets/default/severity_critical.png,
	images/status_sets/default/severity_warning.png,
	images/status_sets/default/severity_normal.png: add the new files to use in
	the events list new colummns.
	* include/help/en/help_eventview.php: change the content in this help for
	show help info of new colummns.
	Comments: I hate the massive and mixed commits...but I have not choice, and
	in this commit there are two parts, the changes in the sql table and the
	changes in the event list colummn. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-07 18:43:08 +00:00
slerena 690cf5e4e3 2009-09-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Added id_group to talert_action, talert_templates and   
        tplanned_downtime to be able to segregate all pandora functions for
        different groups/users. Need to implement in interface code.

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Updated migration script 
        for latest SQL changes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 10:40:52 +00:00
slerena a1be60d837 2009-09-25 Sancho lerena <slerena@artica.es>
* pandoradb.sql: SUSE is not very happy with some comments, fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:21:00 +00:00
slerena 43db0f308e 2009-09-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: more changes to schema :(. Added id_group to custom graph

        * pandoradb_data.sql: Updated build number of DB schema,

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade
        script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 18:36:20 +00:00
slerena 94ed36ae48 2009-09-04 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Commented server type codes.

	* godmode/servers/manage_export_form.php: Fixed problem assigning 
	export server because wasn't using the new server_type field.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-04 18:41:27 +00:00
slerena 3cedd7b69c 2009-09-01 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated version, added two new module groups and 
	some cleanup.
	
	* pandoradb.sql: Added cascade_protection field in tagente and removed 
	old server information from 2.x scheme.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new fields (trecon_task 
	and tagente) and drop old server information from tagente table.
	
	* configurar_agente.php, agent_manager.php: Added cascade protection 
	GUI checkbox and logic.
	
	* images/help: Added graph directory for help.
	
	* help/en/cascade_protection.php: Added help topic.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-01 15:25:18 +00:00
slerena 7c3014607c 2009-08-19 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: A missing table was necessary to be added to allow recon
	to make scans depending on TCP ports profile (recon_ports field).

	* manage_recontask.php, manage_recontask_form.php: Added recon_port field
	to recon management system. Added some links and some aditional formatting.
	
	* include/funcions_db.php: Improved format_array_to_where_clause_sql()
	to accept condicionals like > and < in the array field.
	
	* operation/servers/view_server_detail.php: Quick link to recontask server
	admin.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-19 19:38:29 +00:00
Esteban Sanchez 8741c00690 2009-05-22 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql,
	pandoradb.sql: Added id_plugin. Database breakage requested and
	approved.

	* godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_plugin.php: Added
	to repository. New editor for network components.

	* godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php: Adapted to changes
	in component editors and missing fields. Added option to create
	plugin components.

	* godmode/modules/manage_network_components_form.php: Make the 
	different network component editors to reutilize the code and
	have a common UI.

	* godmode/agentes/module_manager_editor.php: Style correction.

	* include/styles/pandora.css: Style for network component editor.

	* include/functions_ui.php: Security fix in get_url_refresh() to
	avoid showing login info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-22 09:08:55 +00:00
Esteban Sanchez 80108d54e6 2009-04-13 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Fixed an error when an agent was
	created without name. Added support for new server assignment via server
	name instead of lot of comboboxes. Added os preview.
	
	* godmode/agentes/configurar_agente.php: Added support for new server
	assignment via server name. Do not show tabs on creation mode. Some 
	translatable strings replaced with common ones.
	
	* godmode/agentes/modificar_agente.php: Use Pandora agents.
	
	* godmode/modules/manage_nc_groups.php,
	godmode/setup/news.php,
	godmode/modules/manage_network_components.php,
	godmode/reporting/map_builder.php,
	godmode/agentes/planned_downtime.php: Some translatable strings replaced
	with common ones.
	
	* godmode/servers/modificar_server.php: Updated to changes in tserver. Use
	get_server_info() for that.
	
	* include/functions_db.php: Updated to changes in tserver about
	server_type field on get_server_info(). Style correction.
	
	* include/functions_servers.php: Added to repository. Servers API.
	
	* operation/servers/view_server.php: Style correction.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql, pandoradb.sql: Less space on
	server_name field on tagente.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 15:05:21 +00:00
slerena 36426d4c9e 2009-04-02 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Final DB changes proposed for closing this month the DB
	scheme. tagente-> new server_name field to assign server (old fields will
	be removed).  talert_templates has two new types (warning, critical).
	tevento has "user_comment" new field. Tserver has three new fields, 
	server_type (so some old fields will be deleted), threads and queued_modules
	this last two are for statistical options. Tusuario add language type to
	override global language.
	
	* update_manager/main.php: Minor changes for correct ACL usage. Non PM
	users could see in what revision it the system, but only that.
	
	* pandoradb_migrate_v2.x_to_v3.0.sql: Updated script for new DB changes.
	
	* general/noaccess.php: Added footer and ending div. Page was very ugly
	when showing noaccess errors, nobody see it ???.
	
	* godmode/menu.php: A LOT of ACL fixes on several options.
	
	* godmode/agentes/agent_manager.php: Fixed a crazy floating icon.
	
	* godmode/agentes/manage_config_remote.php: A LOT of changes, rewriting
	stuff, because was not working. This also adds a lot of ACL checks. 
	
	* godmode/agentes/massive_config.php, massive*: ACL changes.
	
	* godmode/agentes/modificar_agente.php: Fixed ACL problems.
	
	* godmode/agentes/module_manager_editor.php: Fixed bad module categories for
	some types (data, plugin and prediction).
	
	* godmode/alerts/alert_list.php: Fixed ACL problem.
	
	* godmode/reporting/graph_builder.php: Added ACl restriction for 
	non-viewable agents for current user. Seems to be a problem with data
	with more than 2 sources.
	
	* godmode/reporting/map_builder.php: ACL checks improved.
	
	* godmode/reporting/reporting_builder.php: ACL checks added (was missing), 
	some code ported from 2.1, other is new. New fields shown in list.
	
	* include/functions.php: Fixed the annoying bug of "bad counters" in
	function human_time_description_raw(). Function used,format_numeric() should
	not be used never to calculate nothing, only to print formatted strings.
	
	* include/functions_db.php: Added function user_access_to_agent() to know
	if a given user has access to a given agent.
	
	* include/functioins_report.php: get_report() should let admin to watch any
	report. Fixed.
	
	* agentes/alerts_status.php: Fixed ACL problem for view alert.
	
	* operation/incidents/incident.php: Bad call for pagination() was giving
	problems to pagination call. Somebody changes pagination() interface and 
	make this broken. Please if you change any interface, be sure that is compatible
	with old code or make a post in the list about this !
		
	* godmode/users/user_edit.php: Additional ACL check to do not let anybody
	to watch non accesible users. Even for see the username or description.
	
	* reporting/pchart_graph.php:Progress bar shown text in white when > 60%.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:16:59 +00:00
Esteban Sanchez 4afa5e190b 2009-04-01 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added
	priority field to talert_templates and removed from
	talert_template_module.

	* godmode/alerts/alert_list.php: Fixed SQL notice when fetching
	groups.

	* godmode/alerts/alert_templates.php: Added priority to the template
	tooltip.

	* godmode/alerts/configure_alert_template.php: Added priority field to
	alert templates.

	* include/functions_db.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-01 11:25:58 +00:00
Esteban Sanchez 68716acb0d 2009-03-27 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed
	constraint restrictions on alert actions.

	* godmode/users/configure_user.php: Many bugfixes when creating and
	editing.
	
	* include/auth/mysql.php: Fixed return value on create_user() because
	it does not return an insert id.

	* include/functions_db.php: Call debug() on SQL errors to get a
	backtrace.

	* include/functions_ui.php: Added a return value to debug().

	* operation/users/user_edit.php: Renamed user_update().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-27 11:33:11 +00:00
slerena 7e895479da 2009-03-26 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: SLA parameters now accept float values.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: SLA parameters now accept 
	float values after a table update.
	
	* godmode/setup/filemgr.php: New feature: a file manager, accesible only by
	pandora Administrators. Have some security checks but is not intended to be
	used by anyone not admin.
	
	* godmode/menu.php: Added filemanager and fixed minor problem under SNMP
	Godmode (fake submenu).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 18:00:56 +00:00
Esteban Sanchez 8bd22e5ca8 2009-03-24 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_compound.php: Fixed clean up div for
	variable width styles. Min and max fire values commented because it's
	not implemented yet.

	* include/config_process.php: Keep database connection resource in
	config.

	* include/functions.php: Use mysql_real_escape_string(), replacing
	deprecated function.

	* include/functions_alerts.php: Updated to use process_sql_*
	functions. Many fixes done such as updating a template name or
	escaping the value when duplicating a template.

	* include/functions_ui.php: Fixed an error on refresh header when
	using other web servers like Cherokee.

	* operation/agentes/estado_agente.php: Style corrections.

	* reporting/fgraph.php: Fixed a typo on grafico_db_agentes_paquetes().

	* pandora_db.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added
	foreign key on treport_content and id field on
	talert_compound_actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-24 10:22:37 +00:00
Esteban Sanchez e38b33958d 2009-03-18 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_edit_modules.php: Added to repository. New
	interface to update modules massively. Should be improved lately.

	* reporting/pchart_graph.php: Fixed mess with color pallete.

	* godmode/agentes/massive_operations.php: Fixed sec parameter on
	links. Changed label. Added link to the new modules editor.

	* godmode/agentes/module_manager.php: Fixed an error when showing
	module group titles.

	* godmode/agentes/module_manager_editor.php: Decode values from
	components.
	
	* godmode/agentes/module_manager_editor_wmi.php: Bigger WMI query
	input text.

	* include/functions_db.php: Fixed a bug when using group on
	format_array_to_where_clause_sql().

	* include/functions_modules.php: Fixed an error on
	get_network_components() which was not filtering fine. Many fixes in
	get_network_component_groups() so it works better now. Added
	update_agent_module().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-18 15:42:15 +00:00
guruevi e33f20f460 2009-02-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Fixed going up/down
	strings
	
	* godmode/setup/setup.php: Fixed event hours display
	
	* operation/events/events.php: Fixed several major bugs with pagination
	and the new event types.
	
	* include/functions.php, include/functions_ui.php, 
	include/functions_html.php: Moved pagination and print_help_tip to 
	functions_ui.php. Repeat id's are now fixed backwards compatible. 
	Also fixed a bug in print_select where type comparisons against would 
	fail since PHP evaluates strings to (int) 0
	
	* include/functions_events.php: Added print_event_type_img () and altered
	the other functions to work with it

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-20 21:48:09 +00:00
guruevi fd22412aed 2009-02-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandora_db.sql: Altered tmensajes for
	unixtime
	
	* general/header.php: New messages function added flashing 
	acknowledgment in case of new messages
	
	* general/logon_ok.php: Since messages are now in header, they don't need
	to be there per se
	
	* images/close.png, images/transparent.png: Background and close button
	for overlays.
	
	* include/javascript/jquery.pandora.js: Used for loop for flashing thing
	and added overlay function
	
	* include/javascript/jquery.overlay.js: You'll need this for overlay
	
	* include/functions_messages.php: Message functions are here. Messages are
	fully abstracted so they can be drop-in replaced with something else
	
	* include/functions_ui.php: Small fixes. Not necessary to load en language
	files for javascript since they're empty, it only adds to load/interpret
	
	* include/functions_db.php: Added get_group_users and get_db_array. Useful
	
	* include/functions_html.php: Small doc fixes and fixed table heads
	
	* include/styles/pandora.css: Added Overlay classes

	* ajax.php: We need to call safe_url_extraclean for cross scripting
	
	* operation/messages/message.php: Rebuilt to use new functions
	
	* operation/menu.php: New message link instead of group link
	
	* operation/visual_console/render_view.php: Fixed conflict with timer
	
	* index.php: Added div for overlay (not in pure mode) and fixed erroneous
	div in pure mode.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-19 21:34:27 +00:00
Esteban Sanchez 0d5884b55c 2009-02-18 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Removed from repository. Agent
	alerts manager is now done in alerts/alert_list.php

	* godmode/agentes/manage_config.php, godmode/alerts/configure_alert,
	godmode/agentes/configurar_agente.php: Use alerts/alert_list.php
	instead of deleted agentes/alert_manager.php.

	* godmode/alerts/alert_list.php: It can handle now a list of agents or
	be included by configurar_agente. Now it's a single page to manage all
	the alerts defined in agents.

	* godmode/reporting/map_builder.php: Javascript style correction.

	* include/javascript/jquery.pandora.controls.js: Added
	pandoraSelectAgent which allows the loading of a module list from an
	agent list.

	* include/styles/pandora.css: Styles for alert_list.

	* include/functions_agents.php: Added options to
	get_agent_alerts_compound() and get_agent_alerts_simple() to add extra
	user filtering.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql,
	include/functions_alerts.php: Actions in an alert module has now id or
	they cannot be removed.

	* include/functions_db.php: format_array_to_where_clause_sql() can now
	get limit and offset values.

	* include/functions_html.php: Removed select- prefix to print_select
	elements because it was breaking javascript code. Needs more works on
	that.

	* operation/agentes/estado_agente.php: Added
	get_agent_module_last_value AJAX operation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-18 12:29:30 +00:00
slerena 84358ba9a3 2009-02-17 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: treport_content, changed report type to string to allow
	new report types without altering DB schema. Added id_agent for supporting
	reports based on agent ids.  Tplugin new field for plugin type in order to
	support generic Nagios plugins.
	
	* pandoradb_migrate_20_to_21.sql: Updated with last changes.
	
	* module_manager_editor_common.php: Removed some ugly labels :-)
	
	* reporting_builder.php: New report (Agent detailed and grouped 
	event/alerts). Added support to add descriptions in each block.
	
	* plugin.php: Support for new plugin type option.
	
	* config_process.php: Build update.
	
	* functions.php: Updated new report type.
	
	* functions_db.php: Added support for new report type.
	
	* functions_reporting.php: Fixed problem with enterprise. Added new function
	to support new reports.
	
	* events.php: Support for grouping events. Fixed graph problem. Added quick
	search link to event fulltext.
	
	* reporting_viewer.php: Added support for adding descriptions in each block.
	Also show new report type.
	
	* fgraph.php: Fixed problem in event graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-17 20:39:42 +00:00
Esteban Sanchez e94a8f0fcf 2009-02-11 Esteban Sanchez <estebans@artica.es>
* general/main_menu.php, include/styles/menu.css: Selected menu style
	is done with a CSS classs. Slide effect removed. Submenus have now
	white background.

	* godmode/agentes/alert_manager.php: Allow creation of alerts without
	actions which have sense in compound alerts.

	* include/javascript/jquery.pandora.js: Added showMessage() function.

	* godmode/agentes/module_manager_editor.php: Use new showMessage()
	jQuery function.

	* godmode/alerts/configure_alert_compound.php: Added to repository.
	New compound alert editor interface.

	* godmode/alerts/alert_compounds.php: Added to repository. Compound
	alert list.

	* godmode/alerts/configure_alert_template.php: Better style for steps
	of the editor.

	* godmode/menu.php: Added compound alerts option. Changed default page
	on Manage alerts.

	* include/styles/pandora.css: Added style for editor steps. Added new
	generic classes.

	* include/functions.php: Added a new line when creating script list.

	* include/functions_agents.php: Fixed alert tables fields. Renamed
	get_agent_alerts_compound() and improved the returning value of
	get_agent_alerts().

	* include/functions_alerts.php: Added new functions to manage compound
	alerts. Avoid SQL errors when using process_sql functions.

	* include/functions_reporting.php: Temporary disabled compound alert
	reports.

	* include/functions_ui.php: Fixed format_alert_row() to fit compound
	alerts.

	* operation/agentes/alerts_status.php: Allow compound alert
	validation. Removed effect of cluetip.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql: New compound alert
	tables (talert_compound, talert_compound_elements and
	talert_compound_actions).
	
	* godmode/alerts/alert_list.php: Added to repository. Shows a list of
	all the alerts defined. Would be improved in the future to allow
	sorting and filtering.

	* index.php, godmode/snmpconsole/snmp_alert.php,
	include/functions_db.php: Code style correction.

	* godmode/agentes/configurar_agente.php: Removed old compound alerts
	code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-11 16:55:04 +00:00
Esteban Sanchez 5c32051348 2009-02-04 Esteban Sanchez <estebans@artica.es>
* general/login_page.php: Removed width of login error.

	* godmode/agentes/agent_manager.php,
	godmode/agentes/configurar_agente.php: Fixed various errors when
	creating an agent.

	* godmode/agentes/alert_manager.php: Typo error on em closing element.
	Use invisible class instead of style attribute.

	* godmode/agentes/modificar_agente.php: Style correction. Improved a
	bit the interface so the user can go directly to any tab. Fixed agent
	creation parameter.

	* pandoradb.sql: Make disabled field on tagente_modulo not null. It
	could cause some server side errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 11:20:31 +00:00
Esteban Sanchez 068d3fbcb6 2009-02-02 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/configurar_agente.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/module_manager_editor_wmi.php: Agent module editions
	rewritten. The interface should be clearer now and SNMP walking much
	more faster, since it's done with AJAX. Some cleanup might be needed
	yet.

	* godmode/agentes/module_manager_editor_common.php: Added to
	repository. Common part for agent module editors.

	* images/edit.png, images/spinner.gif: Added to repository.

	* include/javascript/jquery.form.js: Added to repository. jQuery form
	plugin.

	* include/javascript/jquery.pandora.js: Added to repository. Special
	Pandora addons for jQuery library.

	* include/javascript/pandora.js: Added an extension to Array
	javascript objects to check if an array has an element.
	
	* include/styles/pandora.css: Added styling for new module editors.

	* include/functions_db.php: Added get_moduletype_description().

	* index.php: Added Pandora jQuery extensions.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Removed alert_text
	useless field from talert_templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-02 15:40:31 +00:00
guruevi 8aba7e55e7 2009-01-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Added user table updates
	You'll have to do the alter tables before upgrading to the latest version
	but it adds functionality and enforces unique usernames
	
	* general/header.php: Don't rely on session variables
	
	* include/auth/dev.php, include/functions_ui.php: Minimal changes to 
	comply with guidelines and new links
	
	* include/auth/mysql.php, include/auth/ldap.php: Added functions and 
	removed bugs.
	
	* include/functions_db.php: Added some functions for profile handling
	
	* include/functions_html.php: Text input is now readonly instead of 
	disabled. This allows copying data from the textbox.
	
	* include/styles/tip.css: Set min-width instead of fixed width for tip
	that way we can have bigger tips without overflowing
	
	* operation/reporting/reporting_xml.php: Added auth there as well
	
	* operation/users/user.php, operation/users/user_edit.php, 
	operation/users/user_statistics.php: New auth functions, better look
	
	* index.php: Process_user_contact sits in logon_db. Saves a query
	
	* godmode/users/configure_user.php, godmode/users/user_list.php: New
	auth functions, better look.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 17:44:33 +00:00
Esteban Sanchez b1bd9513d4 2009-01-21 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Added id_agent field
	to tlayout_data. It's needed to give support to nodes in visual
	console that represents a whole agent which turns red if any module is
	down.

	* operation/visual_console/render_view.php: Removed refresh countdown
	and selection because it's now done in the page header.

	* include/functions_visual_map.php: Some fixes to support id_agent
	field in tlayout_data. Also fixed the SQL to check if any module on an
	agent is down.

	* godmode/reporting/map_builder.php: Update and insert id_agent when
	managing a node element.

	* include/styles/pandora.css: Added a style to input image elements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 09:29:02 +00:00
slerena 191e8105c2 2009-01-20 Sancho Lerena <slerena@artica.es>
* index.php: Added support for external authentication, based on a HASH.
    
    * pandoradb.sql: New tables for local templates.
    
    * pandoradb_migrate*: Updated script.
    
    * godmode/agentes/agent_manager.php: Fixed field for inventory server.
    
    * module_manager_editor.php: Fixed snmp community for WMI modules.
    
    * module_manager_editor_*.php: New fields in editor (War/Crit, FF).
    
    * config_process.php, 
    godmode/setup/setup.php: Added new option for hash auth.
    
    * functions.php: Added again (please don't delete it) function to remove
    quotes on automatic protection (magicquotes).
    
    * menu.css: Added icon to inventory server option in the menu.
    
    * estado_monitores.php: Fix module edit link, better data render on tooltip
    
    * estado_ultimopaquete.php: Fix module edit link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 10:37:04 +00:00
Esteban Sanchez 95a423e4e6 2009-01-19 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/configurar_agente.php: Removed references to old
        talerta and talerta_modulo tables.

        * godmode/agentes/alert_manager_editor.php,
        godmode/alerts/configure_alert.php: Removed from repository. It became 
        a useless file since the new alert system is implemented.

        * godmode/agentes/manage_config.php: Style correction. Copy alerts
        among agents using the new tables and structures.

        * godmode/reporting/reporting_builder.php: Do not sort report time 
        period, it was not human readable if it was alphanumeric sorted.

        * include/functions_agents.php: Fixed get_agent_alerts_simple() and
        commented get_agent_alerts_combined() code since it's not implemented 
        yet.

        * include/functions_db.php, include/functions_reporting.php: Fixed 
        function documentation format. Use structures, functions and tables of 
        the new alert system.

        * operation/reporting/reporting_viewer.php: Style correction.

        * pandoradb.sql: Removed default values on mediumtext fields because
        it was causing a SQL warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-19 14:42:34 +00:00
Esteban Sanchez d4b76f5a93 2009-01-16 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Added new field to talert_templates to specify if the
	alert should fire when on match or mismatch of the values.

	* general/header.php: Fixed the columns width. Added a control when
	the autorefresh is clicked so the user can select the refresh time. A
	countdown is also shown when the page is set to refresh.

	* godmode/alerts/configure_alert_template.php: Control the new flag on
	templates. Added an explanation to explain when the alert is going to
	fire.

	* include/javascript/jquery.js: Updated to v1.3. It promise to be
	quicker in a lot of situations.
	
	* include/javascript/jquery.countdown.js: Updated to latest version.

	* include/styles/pandora.css: Fixed duplicated input.ok. Style
	correction. Added invisible class and a style for alert templates
	page.

	* include/functions_alerts.php: Fixed a notice error on
	clean_alert_template_values().

	* operation/visual_console/render_view.php: Removed jquery inclusion
	because it's already done in the index page.

	* general/main_menu.php: Do not add refr if it's zero.

	* index.php: Avoid the recursive addition of 1=1 when autorefresh is
	set.
	
	* pandoradb_migrate_20_to_21.sql: Added new fields on the tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-16 10:55:29 +00:00
Ramon Novoa a4468758a8 2009-01-16 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Updated alert schema to work with the new alert
          engine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-16 09:10:00 +00:00
Esteban Sanchez 28df678873 2009-01-15 Esteban Sanchez <estebans@artica.es>
* include/styles/menu.css: Changed the z-index property of the menu
	which was overlapped in some cases.
	
	* include/functions.php: format_alert_row() moved to functions_ui.php

	* include/functions_ui.php: Added format_alert_row() from function.php

	* include/functions_agents.php: Added to repository.

	* include/functions_alerts.php: Added new functions
	get_alerts_agent_module_disabled(),
	set_alerts_agent_module_force_execution(),
	get_alerts_agent_module_last_fired().

	* include/functions_db.php, operation/agentes/estado_agente.php,
	operation/agentes/networkmap.php: Style correction.

	* include/functions_reporting.php: Use new functions_agent.php. Added
	a bit of documentation and style correction.

	* godmode/alerts/alert_templates.php: Improved a bit the template
	tooltip.

	* operation/agentes/alerts_status.php: Added to repository. New
	interface to list agent alerts.

	* operation/agentes/estado_alertas.php: Removed from repository.
	Replaced by alert_status.php.

	* operation/agentes/ver_agente.php: Removed flag_alert code snippet.
	Use new files added. Style correction.

	* operation/menu.php: Old files references replaced by new ones.

	* index.php: Removed build and pandora version references.

	* pandoradb.sql: Removed useless module_type field in
	talert_templates.

	* pandoradb_migrate_20_to_21.sql: Removed duplicate fields addition.
	Fixed some warnings. Added custom_id field to tagente. Style
	correction.

	* include/config_process.php: Updated build version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-15 10:21:38 +00:00
Esteban Sanchez fed437f321 2009-01-12 Esteban Sanchez <estebans@artica.es>
* include/functions_alerts.php: Removed debug output. Show no SQL
        error on delete_alert_* functions.

        * index.php: Added missing jQuery script.

        * godmode/alerts/alert_templates.php: Added a missing br. Show "empty"
        string if no value was set.

        * godmode/alerts/alert_commands.php: Added a check to avoid internal 
        commands removal.

        * pandoradb.sql: Removed talerta table.

        * pandoradb_data.sql: Data from talerta moved to talert_commands.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 15:09:10 +00:00
Esteban Sanchez 1b98e797a2 2009-01-12 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Complete rewritten of the alert
	system when assigned alerts to an agent.

	* pandoradb.sql: New tables for alert system. These are:
	talert_commands, talert_actions, talert_templates,
	talert_template_modules, talert_template_module_actions. No migration
	tool is available yet.

	* godmode/alerts/configure_alert_template.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php: Added to repository. Administration
	interface to new alert system.

	* godmode/alerts/modify_alert.php: Deleted from repository.

	* godmode/setup/setup.php: Added an example of the date format. Main
	table has now percentage width.

	* godmode/menu.php, operation/menu.php: Added new alert options.
	Removed refr value when it's not neccesary.

	* include/styles/pandora.css: Added width to textarea elements. Style
	correction and cleanup. Tables doesn't have a odd-even pattern, but
	the hovered row now changes its colour. New styles for alert pages.

	* include/functions_custom_graphs.php: Added to repository. custom
	graphs functions moved here.

	* include/functions_incidents.php, include/functions_events.php: Moved
	to LGPL. Style comment corrections.

	* include/functions_html.php: Documentation style correction. Added
	print_input_file() and print_label().

	* include/functions_ui.php: Doc style correction.

	* operation/reporting/graph_viewer.php: Include new function file with
	custom graphs. Use generic functions.

	* index.php: Unset pass from POST and REQUEST arrays.
	
	* include/functions_db.php: Some documentation updated to new format.
	Added format_array_to_update_sql() to generate SQL sentences for
	updates. Style correction.

	* godmode/agentes/configurar_agente.php: Variables renamed to have a
	meaning.

	* extensions/update_manager/main.php: Mark an string translatable.

	* extensions/update_manager/lib/libupdate_manager_client.php,
	godmode/alerts/configure_alert.php, include/functions.php,
	godmode/agentes/module_manager.php, operation/agentes/networkmap.php,
	operation/reporting/reporting_viewer.php, 
	godmode/agentes/manage_config.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 14:31:01 +00:00
slerena dfb96c6ae3 2009-01-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
	some indexes) on tagente_datos, tagente_datos_string and 
	tagente_datos_inc.

	tagente_estado table: removed cambio, added status_changes, last_status.
	tagente_modulo: added five new fields (warning,critical mgmt., flipflop
	detection, history module and delete_pending bit.
	
	* agent_manager.php: Group ALL not shown anymore.

	* configurar_agente.php: Support for new options. Delete a module now
	mark for deletion the module, not delete data (It's VERY slow!).

	* modificar_agente.php: Delete agent now uses the global function, 
	minor fixes.

	* module_manager_editor.php: New fields initializacion.

	* module_manager_editor_network.php: At this time, the first module
	editor who implements the new fields and improve old ones (tcp data).

	* setup.php: Added support for new token: event_view_hr (Filter of max
	old (in hr) for the event viewer. Removed old tokens show_unknown and 
	show_lastalert.

	* functions.php: format_for_graph() has an important BUG that makes
	all units rendered without the "K" !!!!. Fixed.

	* delete_agent.php: Delete remote config (if present). Also mark 
	for deletion modules instead delete them (and let the data without
	being deleted, because it's a HUGE consuming time, and it's left
	for the daily db maintance process).

	* estado_agente.php: Updated code for view new status.

	* estado_generalagente.php: Total packets are removed from this view, 
	this was a huge time consuming SQL operation that don't give important 
	infomation. Groupname is now visualized.
	
	* estado_ultimopaquete.php,
	* estado_monitores.php,
	* estado_grupo.php: Rewritten much code to view new status and other
	minor changes.

	* ver_agente.php: Data view now works under the tabs and other minor
	changes.

	* events.php: Support for the new events and status. Added filter for
	username and for a max. hours old events. Some boxes are now hidden
	by default.

	* fgraph.php: Some graphs are now fixed and uses tagente_datos and 
	tagent_access with utimestamp and without id_agent index. Works faster

	* images/*: Updated icons (module types) and two new bulb colors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 03:53:33 +00:00
Ramon Novoa 80e6fb75f1 2009-01-08 Ramon Novoa <rnovoa@artica.es>
* include/functions.php,
          pandoradb.sql,
          operation/agentes/estado_alertas.php,
          operation/agentes/estado_monitores.php,
          operation/agentes/ver_agente.php: Added support for forced alert
          execution.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-08 11:53:14 +00:00
Ramon Novoa 1e51f01713 2008-12-23 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql, include/config.php, pandoradb.sql,
          godmode/groups/configure_group.php,
          godmode/groups/group_list.php,
          godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor_plugin.php,
          godmode/agentes/module_manager_editor_prediction.php,
          godmode/agentes/module_manager_editor_data.php,
          godmode/agentes/configurar_agente.php,
          godmode/agentes/module_manager_editor.php,
          godmode/agentes/agent_manager.php: Added support for a custom ID to
          agents, modules and groups.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-23 13:12:03 +00:00
jorgonzalez ec794a1f31 2008-12-18 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql, pandoradb.sql: removed extra '-' which made the 
          file invalid for mysql population.   

        * include/languages/es.po, include/languages/es.mo: Updated Spanish
          translation.

        * include/languages/index.pot: Updated po template.

        * general/footer.php: changed format_datetime to print_timestamp.

        * godmode/setup/setup.php: moved the enterprise hook so the table 
          fields show properly in both versions. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-18 11:41:20 +00:00
guruevi adc80c1247 2008-12-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: format_for_graph is now much simpler and uses 
	format_numeric.
	
	* include/functions_db.php: give_note_author, give_incident_author, 
	dame_numero_notas, borrar_incidencia, event_insert and 
	return_event_description are now in their respective functions_*.php files
	but under a new name. Fixed delete_agent transaction error detection
	
	* include/functions_events.php: Added get_event_description and
	create_event (formerly return_event_description and event_insert)
	
	* include/functions_html.php: print_timestamp attributes should be default
	empty, not required. Added print_username for a consistent username print
	
	* operation/agentes/ver_agente.php: Function renaming (create_event)
	
	* operation/incidents/incident.php: Partial rewrite. Uses new functions. 
	Also added some of feature request #2264838
	
	* operation/incidents/incident_detail.php: Partial rewrite. Uses new 
	functions. Added some of feature request #2264838 functionality.
	
	* operation/incidents/incident_search.php, 
	operation/incidents/incident_statistics.php: Minor style update
	
	* pandoradb.sql: New tincidencia and tnota layout. No use for tnota_inc
	
	* include/functions_incidents.php: All incidents functions. Documentation
	will be online soon. Also includes an upgrade mechanism for SVN users. 
	Mechanism should be removed for a stable version and integrated into 
	install/upgrade tool.

	* lib/PandoraFMS/DB.pm: New table layout doesn't require timestamp anymore

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-10 20:15:38 +00:00
Ramon Novoa 73dcde4b71 2008-11-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Deleted 'id_inventory_server' column from 'tagente'
          (only needed in enterprise version).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 12:25:20 +00:00
guruevi 317e42821b 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Feature request #2166257

        * pandoradb.sql: Feature request #2166257

	* bin/pandora_snmpconsole: Feature request #2166257

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:05:15 +00:00
Esteban Sanchez 9aa3a05516 2008-10-22 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Style correction.

        * godmode/agentes/agent_manager.php,
        godmode/agentes/configurar_agente.php: Removed inventory server
        configuration, which was moved to an enterprise hook. Style
        correction.

        * include/functions.php: Added slash to enterprise_include() path to
        work in some rare cases.

        * include/functions_db.php: Errors in process_sql() are shown using
        trigger_error(), so they can be disabled setting error_reporting().

        * include/functions_html.php: Added print_input_image() to show input
        image HTML elements.

        * index.php: Added enterprise includes and hooks to show the future
        dashboard. Style corrections.

        * godmode/reporting/map_builder.php: Fixed error when creating a map.
        Javascript fixes. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 12:01:36 +00:00
Esteban Sanchez ee6f25ea52 2008-10-21 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Removed inventory tables and fields from previous
        commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 09:36:09 +00:00
Ramon Novoa e94f4f491e 2008-10-22 Ramon Novoa <rnovoa@artica.es>
* include/styles/op.css,
          include/styles/pandora.css,
          pandoradb.sql,
          operation/menu.php,
          godmode/agentes/configurar_agente.php,
          godmode/agentes/agent_manager.php,
          godmode/menu.php: Added inventory support.

        * operation/agentes/export_csv.php: Fixed, didn't work.

        * operation/agentes/ver_agente.php: Fixed tabs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 09:08:03 +00:00
guruevi 2005b69941 2008-10-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_data.sql, pandora_db.sql: id_npc was rendered unnecessary
        with the last rewrite of the profiles page and id_np should really be
        the key since that what we're selecting/sorting on.

        * operation/events/events.php: Fixed Bug #2174790 and fixed the
        brackets being in all the wrong places. Also added checks so that only
        admins can retrieve system events

        * include/functions_db.php: Added an option to get_user_groups so that
        other privileges than AR can be retrieved.

        * operation/visual_console/index.php: Added ACL check. Security issue 
        reported in bug #2174790

        * operation/menu.php: Added ACL check. Security issue reported in bug 
        #2174790


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 17:25:37 +00:00
Ramon Novoa d54978d7fe 2008-09-18 Ramon Novoa <rnovoa@artica.es>
* include/config_process.php,
          include/functions_db.php: Small fixes.
        * godmode/servers/manage_export.php,
          godmode/servers/manage_export_form.php: Added to repository. Export
          target configuration.
        * godmode/menu.php,
          pandoradb.sql: Added support for export target configuration.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-18 12:06:21 +00:00
slerena 9d562c2e14 2008-09-18 Sancho Lerena <slerena@artica.es>
* install.php: Fixed a bad description string.

	* pandoradb.sql: Precission for the float in post_process was
	insignificant (2 decimals), not valid to transform from bytes
	to MB for example, altered to have 13 decimals. Thanks to 
	darkgate for this bug report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-18 12:01:32 +00:00
slerena 4fa38d78e2 2008-09-01 Sancho lerena <slerena@artica.es>
* include/, fgraph.php: Moved licence of libraries to LGPL.

	* install.php: Added dependency check for several new includes
	from pear (xml_rpc and DB), also graphviz twopi binary and check
	in step1 for a writable config.php and ./include dir. Some other
	minor fixes (esthetic).

	* pandoradb.sql: Table tagent_data_image was still there. This
	comes with next version (I hope), not this one.

	* pandoradb_data.sql: db_scheme_build update and removed modules
	components without proper id_module.

	* networkmap.php: Another foreach() notice fixed.

	* upgrade.php: Moved to contrib branch in SVN.

	Old pandora SQL conversion files, deleted (was present in its branches).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 04:22:26 +00:00
slerena 5e653848b1 2008-08-21 Sancho Lerena <slerena@gmail.com>
* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp 
	types, added executed field and removed id_agent_module.

	* manage_config.php:  (Problem copying keep_alive modules
	and alerts and solved bad message with no data supplied.

	* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing 
	extension in filename check.

	* planned_downtime.php: Major rewrite. Now works with server model of
	planned downtimes based on select agents to disable in specific times.
	Using unixtime was a very nice idea, so the javascript controls are 
	fantastic to do this job!. Thanks Esteban and Evi!.

	* manage_recontask*: Some issues with styles, using new div for button.

	* modificar_server.php:  Some issues with styles, using new div for button

	* config.inc.php: By default, show errors, easy to debug first problems.

	* functions_db.php: Fixed problems detected in borrar_incidencia() function
	(this is delete_incident in spanish).

	* estado_agente.php: Added support to search by IP address in agent view.

	* networkmap.php: Regen on by default, Font label shortened.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:16:16 +00:00
Esteban Sanchez f5f4164911 2008-08-11 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added __ as an alias of lang_string().

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/functions.php,
	include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.php,
	operation/snmpconsole/snmp_view.php, operation/users/user.php,
	operation/users/user_edit.php, operation/users/user_statistics.php,
	operation/events/event_statistics.php, operation/events/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php, operation/extensions.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.php, operation/agentes/export_csv.php,
	operation/agentes/datos_agente.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/bulbs.php,
	operation/agentes/status_events.php, operation/agentes/sla_view.php,
	operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, ajax.php,
	general/logoff.php, general/pandora_help.php, general/footer.php,
	general/noaccess.php, general/logon_failed.php,
	general/links_menu.php, general/login_page.php, general/logon_ok.php,
	general/header.php, general/main_menu.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/setup/news.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/profiles/profile_list.php,
	godmode/admin_access_logs.php, godmode/db/db_info_data.php,
	godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php,
	godmode/db/db_info.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/extensions.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced $id_user with $config['id_user']. Use __a
	instead of $lang_label to future use of gettext. Style
	corrections.

	* godmode/agentes/planned_downtime.php: Rewritten to use Pandora
	functions and adopt the UI style. Replaced lang_string with __().

	* pandoradb.sql: Fields in tplanned_downtime renamed to fit
	guidelines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-11 10:59:07 +00:00
slerena b16aac61f6 2008-08-05 Sancho Lerena <slerena@gmail.com>
* AUTHORS: Added Evi to AUTHORS file.

	* pandoradb.sql: MAJOR UPDATE and normalization of database
	structure. trecon_task table has changed from previous 2.0 version.

	* pandoradb_data.sql: Minimal updates.

	* reporting_builder.php: Fixed bug #2035570 (Two weeks instead one 
	week in combo to select SLA period).
	.
	* manage_config_remote.php: Fixed bug #2032889: Show configurations
	not present in disk and fail to copy them.

	* manage_recontask.php: Show OS, and some stetical changes and code
	optimization. Removed old code for assigned network servers and so on.

	* manage_recontask_form.php: Removed old fields, added new fields, fixed
	old bugs (create incident combo).

	* config_inc.php: Code cleanup, updated variables.

	* config_process.php: Updated version info.

	* estado_ultimopaquete.php: Added refresh icon.

	* view_server.php: Added missing link to view_server_detail.php for
	recon servers. Somebody take it prisoner :-)

	* view_server_detail.php: Code stype update, and some fixes and new 
	column information.

	* modificar_agente.php, configurar_agente.php: Fixed use of $id_user.

	* index.php: Temporal workaround to use $id_user as global. Need to fix.
 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 11:42:08 +00:00
Ramon Novoa 73ef5ae856 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_wmiquery.php,
          include/help/en/help_wmifield.php,
          include/help/en/help_wmikey.php: Added to repository. WMI help pages.
        * include/languages/language_en.php, pandoradb.sql,
          pandoradb_data.sql,
          godmode/agentes/agent_template.php,
          godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor.php,
          godmode/modules/manage_network_components_form.php,
          godmode/modules/manage_network_components.php: Added support for WMI
          modules, including components and templates.
        * godmode/modules/manage_network_components_form_network.php,
          godmode/modules/manage_network_components_form_wmi.php: Added to
          repository. Component editors.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 11:26:02 +00:00
slerena 627e1187ad 2008-07-30 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Some changes in structure for new export server. Removed
	and extra comma in tplanned_downtime.

	* pandoradb_data.sql: Deleted some stuff from Gigabit module templates, 
	too much.

	* logon_ok.php: Header update.

	* menu.php: Plugin editor moved under server section.

	* modificar_agente.php: Added icon to agent config editor from manage
	agents view.

	* links.php: Some code cleanup.

	* pandora.ico: New .ICO file for web, this will be official one for
	2.0 version.

	* functions_db.php: Fixed a problem in audit_db() where parameters
	was not properly cleaned and with ' chars this makes an SQL error.
	Fixed BUG #2032885, in function get_monitors_in_agent () where a 
	bad SQL forced an error in report.

	* estado_agente.php, estado_generalagente.php: Added link to group 
	view from group icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:39:40 +00:00
guruevi 6f8feafda3 2008-07-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb.sql: Updated schema for tplanned_downtime

	* include/functions_db.php: Small bug that gave a warning in case there were no events for an agent

	* godmode/agentes/planned_downtime.php: You can now create planned downtime schedules. This 
	won't work yet as the server doesn't support it yet. So I didn't integrate it in the menu either, but it can be.

	* general/links_menu.php: The first link will also show up. It wasn't showing up because the mysql function
	that was used moved the internal pointer ahead while checking if it existed. Used new functions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:19:58 +00:00
slerena 33e3cfd3cc 2008-07-25 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Added new tables for planned downtimes.
	
	* godmode/menu.php: Added entry for manage downtimes.

	* group_list.php: Stetic changes in table.

	* modificar_server.php: Fixed timestamp render for start/update 
	timestamp of each server.

	* functions.php: Minimal estetic changes in help function.

	* functions_db.php: Change header (Flexible <- Free)

	* functions_html.php: Now select admits multiselect option. Default
	class for table render is now databox not databox_color.

	* AUTHORS: Update list of authors and make a reference to contributors.

	* function_reporting.php: Header change, updated datetime string format.

	* language_en.php, language_es_es.php: Changed FREE for Flexible.

	* pandora.css: Minimal changes. Update color of Monitor count in tactical.

	* menu.php: Added some new event options: CSV Export, RSS and new marquee
	event visualizer. 

	* estado_ultimopaquete.php: Header update.

	* tactical.php: Added link to data module alerts. 

	* ver_agente.php: Fixed a problem in ajax code that was rending bad 
	count of down monitors. Using boolean comparation on result of function
	get_db_sql(). This kind problem could be in more lines of code.

	* events.php: New quicklinks to RSS, CSV and Marquee in event viewer.

	* export_csv.php, events_rss.php: Fixed duped call to function includes. 

	* graph_viewer.php: I hope this fix FINALLY the annoying bug of graph
	type selector.

	* visual_console/index.php: Updated header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-25 18:37:32 +00:00
guruevi 5403c96f09 2008-07-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/pandoradb.sql: Updated indexes

        * pandora_agents/mac_osx: Updated pieces here and there including the installer and startup scripts to make them more compatible and reliable

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 16:41:13 +00:00
slerena 5c36d4115a 2008-07-01 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Added several indexes, patch from Guruevi.

	* configurar_agente.php: Default "public" for snmp_community
	was causing a fail on blank communities (snmp community is used
	on WMI modules as filter key). Default value is now "" due the way
	get_parameter works, and don't want to change a global function.

	* module_manager_editor_wmi.php: Added two new fields: filter key
	for WMI output (using snmp_community to store it) and WMI response
	field number (using tcp_port to store it).

	* setup.php: Added global "sla_period" item to setup page.

	* sla_view.php: Fixed code to be more close on our coding standards. 
	Need to improve and uses the global table functions on functions_html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:48:27 +00:00
slerena 2fdf0e435b 2008-06-23 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Removed table "tquicksession". Not ever used.

	* pandoradb_data.sql: Updated Scheme build.

	* agent_manager.php: Removed a debug "echo".

	* db_sanity.php: Added feature to delete id_module 0 modules.

	* 3.png: Added image for AIX in network maps.

	* functions_db.php: Fixed a div0 in return_moduledata_avg_value(). 
	Added server_status() that calculate modules for each server kind,
	and return a consistent LAG calculation.

	* menu.php: Better Server view menu visualization.

	* estado_ultimopaquete.php: Don't show disabled modules anymore.

	* vier_server.php,
	tactical.php: Removed old server status code, and used server_status()
	function to get all data.

	* graph_viewer.php: Added ACL checks for each graph element.

	* fgraph.php: Negative values are now rendered in single graphs.

	* pandoradb*.sql (1.3 to 2.0, and 1.3 to 2.0): Deleted, not working.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 14:36:22 +00:00
slerena b6e45a9d99 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandoradbdata_13_to_20.sql: prototype. not functional.

    * operation/events/export_csv.php: Event export to CSV. Support
    passed filters.

    * images/networkmap/*.png: Updated icons for network map.

    * godmode/menu.php,
    * godmode/db/db_sanity.php: New sanity tool for database in interactive
    mode using console (ported from pandora_db.pl).

    * reporting/fgraph.php: Added graphs for string data types. Fixed
    event by agent/module graph for system events.

    * general/logon_ok.php, tactica.php: Fixed a div0.

    * godmode/agentes/manage_config.php: Several fixes, and added a new
    option to mass-deletion of agents.

    * godmode/agentes/agent_manager.php,
    godmode/agentes/modificar_agente.php: Delete of remote configuration
	when delete an agent and manually, by user. 

    * operation/servers/view_server_detail.php: Added refresh option and 
    fixed layout.

    * status_monitor.php: Added new filter by state, most code rewritten.
    Added pagination fixes, and corrected labels and legends.

    * operation/agentes/networkmap.php: Several fixes and modification to 
    render small maps and huge (>200 agents) maps. This should be fine by
    now. Need "Group/Section" drawing /by click into section line/.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:24:05 +00:00
Esteban Sanchez cfd8d08561 2008-06-17 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Drop foreign key of inexistent column.

        * godmode/reporting/reporting_builder.php: Fixed order when deleting a 
        report content. Deleted id_agent reference from treport (local
        inconsistence is the reason why I couldn't see it before), also
        id_user insertion was failing. Added a link to view group on report
        form. Added module column on report content list. Use id_user from
        config object.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 16:03:33 +00:00
Esteban Sanchez 00b5a1eaec 2008-06-17 Esteban Sanchez <estebans@artica.es>
* ajax.php: Added to repository. AJAX interface for Pandora. A new
	time is coming...

	* pandoradb.sql: Added id_group to treport. A report is now assigned
	to a group of agents. Changes in treport_content to add an order
	field, drop sla fields and use an enum for the type. NOTE: This will
	break all your current defined reports, update under your
	responsabillity. Added table treport_content_sla_combined to define
	SLAs in the SLA types reports.

	* godmode/reporting/graph_builder.php: Use Pandora functions. Adde
	javascript code to display the module icon when changing from the
	dropdown menu.

	* godmode/reporting/reporting_builder.php: Almost complet rewritten to
	use Pandora HTML functions. Style correction.

	* include/functions.php: Added new report types. Style correction.

	* include/functions_db.php: Use Pandora database functions to get
	simple values. Added functions get_agents_in_group(),
	get_modules_in_agent(), get_simple_alerts_in_agent(),
	get_combined_alerts_in_agent(), get_alerts_in_agent(),
	get_monitor_downs_in_period(),
	get_monitor_last_down_timestamp_in_period(),
	get_alert_fires_in_period(),
	get_alert_last_fire_timestamp_in_period(). Deleted debug output and
	fixed calling to an inexistent function in
	return_moduledata_sum_value().

	* include/functions_html.php: Tab style correction. Thanks to Ramon
	for the advice. Fixed some errors on print_table that was causing not
	to work fine if rowclass or colspan was defined.

	* include/functions_reporting.php: Adde date support to
	return_module_SLA(), event_reporting(). Added alert_reporting(),
	monitor_health_reporting(), general_group_reporting() and
	agents_detailed_reporting() to implement new report types. Style
	correction.

	* include/javascript/pandora.js: Added html_entity_decode() function
	to decode some AJAX results.

	* javascript/jquery.js: Added to repository. jQuery version 1.2.4a

	* include/javascript/jquery.timeentry.js: jQuery plugin to manage time
	inputs.

	* include/javascript/jquery.ui.datepicker.js: jQuery plugin to manage
	date inputs in a dropdown calendar.

	* include/languages/date_*.js, include/languages/time_*.js: Added to
	repository. Translation of date and time strings for the new calendar
	javascript support.

	* include/languages/language_en.php: Added new strings relatives to
	reports.

	* include/languages/language_de.php,
	include/languages/language_fr.php, include/languages/language_gl.php,
	include/languages/language_pt_br.php: Fixed a variable name.

	* godmode/groups/group_list.php: Avoid the use of an extra indentation
	by returning if no success on comprueba_login().

	* include/styles/pandora.css: Add some classes. Tab style correction.

	* operation/agentes/ver_agente.php: Added AJAX support to agent
	operations.

	* operation/reporting/graph_viewer.php: Period dropdown selection
	improved and printed with Pandora functions.

	* operation/reporting/reporting_viewer.php: Massive rewritten.
	Implemented date and time support, added new report types, use Pandora
	functions...

	* reporting/fgraph.php: Documentation fix. Added a new graphic to show
	monitors health.

	* godmode/agentes/agent_manager.php,
	operation/reporting/custom_reporting.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 14:30:44 +00:00
slerena 8fbed5f59f 2008-06-13 Sancho Lerena <slerena@gmail.com>
* index.php: Added pure (Fullscreen). HTML code cleanup and user session.
    
    * pandoradb.sql: talert_snmp: Added priority field. 
    
    * pandoradb_data.sql: Changes default values in talerta. tconfig_os, tgrupo
    and some links.
    
    * header.php: Fixed some user session management.
    
    * logon_ok.php: New design for welcome screen, odometer is over.
    
    * menu.php, godmode/menu.php: Some ACL improvements.
    
    * agent_disk_conf_editor.php: Minor fix in view link.
    
    * configurar_agente.php, agent_manager.php: Added parent combo and better
    ACL checks. New remote configuration control for get timestamp info of
    config file.
    
    * modify_alert.php: Changes to use new internal Mail alert.
    
    * config.php: Some items moved to config_process. (font, attachment and 
    default style).
    
    * functions.php: Added form_agent_combo(), form_event_type_combo(),
    form_priority() and return_priority() functions.
    
    * functions_db.php: Added smal_event_table() to render a variable table
    with latest events (filtered).
    
    * pandora.css. Added pure and priority colors.
    
    * estado_alertas.php: Fixed ACL problems.
    
    * stado_generalagente.php: Graph of modules now represents modules that
    has generated events. Old graph is not used anymore. Also display parent.
    
    * estado_grupo.php: Border of boxes is now thicker.
    
    * tactical.php: New screen, almost all code changed. Odometer is not used
    anymore, added some new items, like module LAG meter, module sanity, and
    other general metrics.
    
    * ver_agente.php: Now renders also event for each agent view. Alert manual
    validation generate a new event.
    
    * events.php: New event system. 90% new code. A LOT of new features, 
    including full screen, coloured (by priority) and filters by six fields.
    
    * snmp_alert.php: Added support for alert priority.
    
    * operation/users/user.php: No longer a user with UM privileges could
    see any other user.
    
    * render_view.php: Added fullscreen support for visual maps.
    
    * fgraph.php: Added support for session checking in graphs (at least!).
    New graphics for events (some changed it's function like events by group),
    and feature added to progress GD implementation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 16:59:54 +00:00
slerena dcea995ade 2008-06-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Updated tevent structure. Added criticity and 
    other important and new fields.

    * pandoradb_data.sql: Added "remote_config" token for setup.

    * setup.php: Added support for token remote_config.

    * config_process.php: Added support for token remote_config.

    * incident_detail.php: Solved small problems in attachment.

    * snmp_view.php: Solved small problems in pagination.

    * fgraph.php: Added support to generate graphs on any interval 
    in time, not only "last XX". Need to implement user interface
    controls to work with it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 10:48:11 +00:00
slerena 71b4261d5d 2008-04-24 Sancho Lerena <slerena@artica.es>
* operation/reporting/reporting_viewer.php,
    operation/reporting/graph_viewer.php
    include/functions_reporting_pdf.php: Render stacked custom graphs.

    * include/styles/pandora_red.css: Improved RED style :-)

    * include/styles/pandora.css: Added background.

    * include/languages/language_en.php: Added stacked token.

    * pandoradb.sql: Added field "stacked" to custom graphs.

    * images/backgrounds/background_red.gif: Added cool background ;)

    * reporting/fgraph.php: stacked custom graph support.

    * godmode/db/db_main.php: Uses new config tokens.

    * godmode/db/db_purge.php: Works also with "all" agents (like 1.1)

    * godmode/reporting/graph_builder.php: Able to define stacked or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-23 23:29:50 +00:00
slerena b464bcc544 2008-04-09 Sancho Lerena <slerena@gmail.com>
* AUTHORS: Updated.

        * pandoradb.sql: Added new index proposed for tagente_datos.

        * upgrade.php: Disabled until was functional.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-09 14:50:15 +00:00
slerena 5b65d42409 2008-04-09 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: New header.

	* pandoradb_data.sql: Removed /**/ comments, due problems with
	installer.

	* install.php: Updated installer for 2.0 version.

	* functions.php: Fix small problem in pandora_help() with icon.

	* estado_alertas.php: Do not show header "combined alert" if there
	is no complex alerts.

	* reporting_viewer.php: Round data for monitor SLA report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-06 22:18:33 +00:00
slerena 9855c65076 2008-04-03 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: IA to prediction in description.

    * pandoradb.sql: Added priority to alert and custom recovery fields.

    * include/styles/tip.css, include/styles/pandora.css: New styles
    for tooltip info (combined and alerts) and some changes in frames for
    agent management / view.

    * include/functions_db.php: Added check_server_status() function to check
    from console server status. If in 15 minutes there is no updated keepalive
    from any server, they will be marked as down. And function return down. 
    This function is now called on each page. Added funtions to display alert
    status in a tooltip.

    * include/languages/language_en.php: More strings.

    * include/functions.php: Added several funtions to simplify alert report.

    * operation/agentes/estado_alertas.php: Updated. Shows also combined 
    alerts and give a lot of information in different tooltips.

    * operation/agentes/estado_ultimopaquete.php: Clean blank spaces in URL.

    * operation/agentes/estado_monitores.php: now is possible to force a
    module refresh from main view.

    * operation/agentes/ver_agente.php: Tab has been upgraded.

    * images/mod_data.png,
      images/mod_data_inc.png
      images/mod_proc.png
      images/mod_keepalive.png
      images/mod_string.png: Added new type icons and updated old ones.

    * general/header.php: Global check for servers and autorefresh control.

    * godmode/agentes/alert_manager.php: New alert management for combined
    alerts, visualization, etc.

    * godmode/agentes/configurar_agente.php: Included new alert management.

    * godmode/agentes/alert_manager_editor.php: New alert management editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-03 15:43:34 +00:00
slerena 5d9b702454 2008-04-01 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Alert type 0 is not 1. 1-3 are reserved. Removed 
    prediction module (nosense since it uses normal modules).

    * include/functions_db.php: Added wrapper give_db_value to get_db_value
    because A LOT of code uses old syntax and this makes too many errors.

    * include/functions.php: Fixed pagination issues with blocksize config.

    * pandoradb.sql: Change alert command lenght and added some comments
    for future implementation of alert criticity and others.
 
    * operation/incidents/incident.php: Fixed some bugs calling to old
    funcions / variables.

    * operation/events/events.php: Fixed some bugs calling to old
    funcions / variables. Removed graph and simplified header.

    * operation/agentes/estado_alertas.php: Changed get_db_value call
    and removed (Raul) button to create alert from here.

    * operation/agentes/estado_grupo.php: Implemented support for optional
    view of down modules and fired alerts.

    * operation/agentes/ver_agente.php, 
    operation/agentes/datos_agente.php: Uses of new get_db_value and
    new session id variable.
    
    * images/mod_async_string.png: Added image.

    * images/mod_async_inc.png: Added image.

    * images/mod_image_png.png: Added image.

    * images/mod_async_data.png: Added image.

    * images/mod_async_proc.png: Added image.

    * images/mod_image_jpg.png: Added image.

    * godmode/setup/setup.php: Several fixes.

    * godmode/agentes/alert_manager.php: Several changes for new alert manager. 
    Not finished. Interim commit.

    * godmode/agentes/configurar_agente.php: More changes needed to alert editor.

    * godmode/agentes/alert_manager_editor.php: New file for alert management.

    * godmode/modules/module_list.php: Some updates, removed invalid column.

    * godmode/alerts/modify_alert.php: Alert types < 4 cannot be modified (this
    includes combined, internal audit and Pandora FMS log).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 13:53:11 +00:00
slerena 97cda20640 2008-03-23 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Upgraded SQL schema for Pandora FMS 2.0

        * pandoradb_13_to_20: Moved filename (renamed). This don't work yet.

	* README: Deleted. Not used anymore.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-26 16:47:39 +00:00
slerena 01e41b1710 2008-03-13 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Added show_server_type (): Return a string
        containing image tag for a given target id. Updated some generic db
        access calls to new function names.

        * pandoradb.sql: Removed unused field.

        * operation/agentes/estado_generalagente.php: Some fixes for new schema

        * reporting/stat_win.php: Uses new $config hash.

        * godmode/agentes/module_manager.php: Some fixes. Added visualization
        for module type (by server type).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-13 18:57:21 +00:00
slerena 0f60a3f6ca 2008-03-06 Sancho Lerena <slerena@gmail.com>
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0

        * pandoradb_data.sql: Added correct tnetwork_components, fixed
        ttipo_modulo (categoria values).

        * include/styles/pandora.css: Added some server icons, tab style
        for module editor has been improved.

        * include/functions_db.php: added new functions, lang_string and
        check_login, and a first review of several functions that currently
        need change for new config session parameters in array $config[]

        * include/javascript/pandora.js: Added a new global include for
        spare javascript functions before included into a few pages.

        * include/languages/language_en.php: New tokens.

        * include/help*: New contextual help system.

        * include/config_process.php: New way to manage config.

        * include/functions.php: Added new functions to manage global

        * operation/agentes/estado_ultimopaquete.php: removed old javascript
        code from there.

        * operation/agentes/estado_agente.php: Removed references to deprecated
        field "agent_type".

        * operation/agentes/tactical.php: Some code cleanup and progressbar 
        issues merged from 1.3.1 branch. Need to add support to new server 
        types and new module types.

        * operation/servers/view_server.php: Added support to new servers, code
        cleanup.

        * reporting/fgraph.php: Code cleanup, changes to use new config method,
        and a lot of style change. 

        * general/pandora_help.php: New source for contextual help in the way 
        of moodle.

        * general/footer.php, general/noaccess.php: Code cleanup and uses of
         new config.

        * module_manager_editor: New editors for each module family. Need
         finish and implement EDITION of data, now only inserts data.

        * godmode/agentes/agent_manager.php: Implemented new server assigment
         and edition. 

        * godmode/agentes/configurar_agente.php: Small changes that affects 
        module management, visualization and agent management.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 16:22:16 +00:00
slerena 87f3dc06a4 2008-02-25 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql, pandoradb.sql: Modified, added and altered 
        SQL structure. This is a final aproximation to 1.4 version. Probably
        more changes are coming in the next future before to close 1.4 database
        definition.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-25 18:08:52 +00:00
slerena a516087894 2008-02-21 Sancho Lerena <slerena@gmail.com>
* Added new structures for predictive module, plugin server, and other
        planned functionalities for 1.4.x version.

        * Merged code from 1.3.1 branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-21 15:16:54 +00:00
slerena 38a03d9978 2008-01-10 Sancho Lerena <slerena@gmail.com>
Code merged from 1.3.1 branch:

        * functions_db.php: Some changes in future generic SQL interface access.

        * pandora_console/include/functions.php: Added generic acces to HTTP 
        parameters.

        * status_monitor.php: Fixed problems detected by Pierre Gaxatte.

        * estado_agente.php: Fixed the same kind of problems (ACL / Group acces)
        and added a Agent search field as request by J.Corona.

        * tactical.php: Rename of generic SQL function access.
        
        * view_server.php: Rename of generic SQL function access.

        * modificar_agente.php: Fixed some render problems, added a Agent search
        option and better formatting.

        * configurar_agente.php: New management for KeepAlive module.

        New code for 1.4 development branch (trunk)

        * pandoradbdata_13_to_14.sql: Migration SQL (data) code from 1.3 to 1.4

        * pandoradb_13_to_14.sql: Migration SQL (schema) code frrom 1.3 to 1.4

        * pandoradb_data.sql: Modified code to fresh install SQL data.

        * pandoradb.sql: Modified code to fresh install SQL schema.

        * index.php,
        * install.php: new version info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-10 16:40:00 +00:00
slerena 1aae32eedf 2007-12-16 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: New field for tagente_modulo: disabled, to be
        able to disable individual modules on an agent.

        * index.php: Version number is now officially "1.4dev". There is 
        a long way to finish 1.4.

        * operation/servers/view_server_detail.php: FIX. If no tasks, show
        a little message.

        * images/console/icons/smalldot*: New small graph for graph console.

        * reporting/fgraph.php: FIX. Combined graphs with components of scale =1
        does not readjust automatically.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-12-16 23:56:31 +00:00
slerena a231aaa397 2007-12-14 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: BUG FIXED, generic_data_inc data don't work with 
        small float data. Need to alter tagente_datos_inc table for field
        "datos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-12-13 22:51:37 +00:00
slerena 86f9d2dcbd 2007-08-20 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Used UTF-8 by default

        * index.php. UTF-8 Default.

        * README: Updated texts for Readme.

        * INSTALL: Deteled old stuff



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-20 15:32:27 +00:00
slerena 0590bc5aee 2007-08-06 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql, alert_manager.php: Alert time support uses TIME format
        instead numeric (changes requested by esanchezm).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-06 15:50:05 +00:00
slerena 1c3572bc00 2007-07-18 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: With last change in server, we
        have control of not initilizated modules (those who never got
        data/contact), we need to take care of them here.

        * pandoradb.sql: last_execution_try field is added to
        tagente_estado to be able to keep last execution try from network
        server, later method was incompatible with automatic compatation
        of data and with data server.

        * operation/agentes/estado_grupo.php: Unknown data not includes
        non initialized data. It's possible that need to make changes of
        this kind in other files because the nature of the problem
        detected.

        * operation/agentes/tactical.php: BugFix: LAG is now correct and
        makes reference to the oldest module that has been processed. Also
        are shown non initialized data.


        * operation/servers/view_server.php: BugFix: LAG is now correct
        (see above).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-18 18:01:06 +00:00
slerena ff334cefc8 2007-06-21 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: More new tokens added.

        * include/functions.php: Added function render time for alert time
        limiters format (multiplier of 30).

        * pandoradb.sql: Added support for alert time limiters format.

        * operation/visual_console/render_view.php: Added support for
        single lines a few fixes.

        * images/console/background/globalmap.jpg: Nice world background.

        * images/console/icons/computer.png: Added new icon for workstation.

        * godmode/agentes/configurar_agente.ph,
        godmode/agentes/alert_manager.php: Added support for alert time
        limiters.

        * godmode/reporting/map_builder.php: Tool to build/manage maps
        elements. Finished!.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-21 15:48:47 +00:00
slerena b063fcbb07 2007-06-17 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: Just a few words added.

        * pandoradb.sql: Added disable field for alerts.

        * operation/agentes/estado_alertas.php: Show disabled alerts.

        * godmode/agentes/configurar_agente.php,
        godmode/agentes/alert_manager.php: Allow to disable individual
        alerts.

        * godmode/reporting/map_builder.php: First version of map
        builder. It doesnt work yet, but has some features implemented.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-17 10:34:39 +00:00
slerena effc9b3c70 2007-06-08 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: New strings

        * include/functions_reporting.php: Added generic function to parse
        information of all monitors / data checks for statistical usage in
        several sections of console.

        * pandoradb.sql: Updated field "timestamp" of tnews table.

        * operation/agentes/estado_grupo.php: Better management of unknown
        monitors, this should fix odd behaviour detected.

        * operation/agentes/tactical.php: New tactical view.

        * operation/menu.php: New option for group view and
        tactical. Default option now is tactical view.

        * images/backgrounds/background4.jpg: Updated background.

        * reporting/Image/Graph/Plot/Odo.php: Fixed warning in original code.

        * reporting/Image/Canvas/GD.php: Again playing with canvas options.

        * reporting/fgraph.php: New odo graph.

        * general/logon_ok.php: New welcome screen :-)

        * godmode/setup/news.php: New news manager.

        * godmode/reporting/map_builder.php: Future map/visual console
        editor, not ready yet.

        * godmode/menu.php: Updated a few options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 15:55:53 +00:00
slerena 47579d155d 2007-06-07 Sancho Lerena <slerena@artica.es>
* include/styles/god.css: Added god51 (reporting).

        * include/styles/pandora.css: Added h4 (for reporting).

        * include/functions_db.php:

        * include/functions_reporting.php: Reporting functions should be
        here. Now is SLA, tomorrow will be more ;)

        * include/functions.php: Added generic POST/GET parameter
        management, and a few functions to mangle dates.

        * pandoradb.sql: A few changes on treport_content table.

        * operation/agentes/datos_agente.php: Added option to delete
        individual data from here. Useful to purge bad data.

        * operation/reporting/reporting_viewer.php: New report viewer on
        HTML.

        * operation/reporting/custom_reporting.php: Moved.

        * operation/reporting/graph_builder.php: Moved to godmode
        directory.

        * operation/menu.php: Added few options and removed other
        (Reporting)

        * reporting/fgraph.php: Few changes to use graphs in reports
        without titles.

        * godmode/reporting: Added.

        * godmode/reporting/reporting_builder.php: The Pandora FMS report
        editor :-)

        * godmode/reporting/graph_builder.php: Graph builder almost done,
        only a few bugs to finish.

        * godmode/menu.php: New reporting options in godmode menu.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 17:46:38 +00:00
slerena f186f7ab72 2007-05-23 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Added field to tlayout_data (no_link_color)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-23 06:11:08 +00:00
slerena 32d96a89a0 2007-05-20 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Uptated network component data.

        * include/styles/pandora.css: Few updates for style.

        * include/functions_db.php: Added functions for visual console
        features.

        * include/languages/language_en.php: New strings.

        * include/javascript: Moved all javascript files here.

        * include/javascript/x_slide.js, include/javascript/x_event.js:
          Copied from branch / console from Azabel.

        * include/javascript/wz_jsgraphics.js: New functions to draw
        lines.

        * pandoradb.sql: Created new tlayout and tlayout_data tables.

        * index.php: Small changes. Added support to refresh any page via
        POST.

        * operation/visual_console: Added Visual Console feature.

        * operation/agentes/estado_alertas.php: Updated styles and fixes
        damm bug when no alert available.

        * operation/agentes/status_monitor.php: Updated styles.

        * operation/agentes/estado_generalagente.php: Update styles.

        * operation/agentes/estado_agente.php: Updated style.

        * operation/servers/view_server.php: Updated style.

        * operation/reporting/graph_builder.php: Fixed some minor
        bugs. Needs to fix more bugs :(

        * operation/menu.php: Updated menu. Visual Console has dynamic items!.

        * images/pandora_logo_head.png: New header logo !

        * images/pandora_logo.png: New Pandora FMS 1.3 logo ! :-))

        * images/console/background: More samples added.

        * images/console/icons: Icons to be used in visual console.

        * reporting/fgraph.php: New feature added to simple graph to show
        only average values.

        * reporting/stat_win.php: Added support to avg_only and show avg,
        max and min values from each graph. Zoom factor is more usable
        now.

        * general/logoff.php: New style.

        * general/footer.php: Fixed style.

        * general/logon_failed.php: Fixed style.

        * general/login_page.php: New style.

        * general/header.php: Fixed style.

        * godmode/agentes/configurar_agente.php: Fixed styles.

        * godmode/agentes/agent_manager.php: Fixed styles.

	* operation/active_console: Removed from trunk: not ready to be used.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-20 17:12:31 +00:00
slerena fd37be0e44 2007-04-22 slerena <slerena@artica.es>
* pandoradb.sql: Fixed small problem with tgrupos




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-01 13:34:03 +00:00
raulmateos 3a477467d3 2007-05-01 Raul Mateos <raulofpandora@gmail.com>
* images/bricks.png: Changed red colour to orange one.
	* include/pandora.css: Changed background colour for View Mode tab.
	* operation/agentes/estado_agente.php: Changed space between combo and
	table, including the style into the table, deleting div.
	* operation/agentes/estado_grupo.php: Style correction.
	* operation/messages/message.php: Added style to some table cells.
	* pandoradb.sql, pandoradb_data.sql: Added column disable to table tgrupo
	and default value 0.
	* operation/snmpconsole/snmp_alert.php: Deleted duplicated br tag.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-01 13:28:33 +00:00
slerena 145ca40616 2007-04-19 Sancho Lerena <slerena@artica.es>
* pandora.css: added some classes for graphical input buttons.
	
	* languages/language_en.php: More strings to go !
	
	* include/config.php: Deleted from repo, now has no sense.
	
	* pandoradb.sql: Added `alert_text` to talerta_agent for new text
	alerts. Added tables for custom graphs and reporting: tgraph,
	tgraph_source, treport, and treport_content.
	
	* operation/users/user.php: Fixed problem with last Raul's commit.

	* godmode/usuarios/lista_usuarios.php: Fixed problem with last
	Raul's commit.
	
	* operation/agentes/estado_alertas.php: Code cleanup. Implemented
	render for text alerts.
	
	* operation/agentes/datos_agente.php: Fixed small bug with text output.
	
	* operation/agentes/datos_agente_calendar.php: Added contribution
	from Leandro Doctors. Need to work on it before use several
	problems detected.
	
	* operation/servers/view_server.php: Fixed some bugs.
	
	* operation/reporting/graph_viewer.php: Added viewer for custom graphs.
	
	* operation/reporting/custom_reporting.php: Initial code, not
	finished yet.
	
	* operation/reporting/graph_builder.php: Work for modules in the
	same agent, several problems, but works.
	
	* operation/menu.php: Updated options for new reporting menu.
	
	* reporting/stat_win.php: New menu is great :-)
	
	* general/login_page.php: Updated login page.
	
	* godmode/agentes/alert_manager.php, configurar_agente.php: New
	code for text alerts and better user help.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:50:07 +00:00
raulmateos 06e7769132 2007-04-18 Raul Mateos <raulofpandora@gmail.com>
* pandoradb_data.sql, pandoradb.sql: Fixed small warnings.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 17:17:06 +00:00
slerena 660665348c 2007-04-18 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Added frame and changed basic form input 
	styles (fixed the old problem with radio and checkboxes).
	
	* include/functions_db.php: Finished function
	agent_add_address(). Added functions: agent_delete_address(),
	give_agent_address() and give_agent_address_from_list().

	* include/languages/language_en.php: More strings !

	* include/functions.php: Added numeric render for graph Y scale
	and for numeric data output in screen: format_for_graph().
	
	* pandoradb.sql: Several small fixes and cleanup (deleted drop check).

	* operation/agentes/estado_alertas.php: Fixed old bug with
	visualization of alerts (min/max) vs (max/min). Now alert is a
	real value, not integer.
	
	* operation/agentes/datos_agente.php: Better render for numeric
	(float) data.
	
	* operation/agentes/estado_ultimopaquete.php: Better render for numeric
	(float) data and fixed a small costemic bug.
	
	* operation/agentes/estado_generalagente.php: Fixed a small
	costemic bug, list of ip's have some white space before and this
	have better visualization for user due to combo style stripping
	some space.
	
	* reporting/fgraph.php: Graph improvement: graphs now could show
	alerts associated to an agent and draw alert limits. Preprocessor
	function is now used to render axis label with (M,K) symbols and
	decimal commas. Title and subtitle has been improved.
		
	* reporting/stat_win.php: Graph menu improvement. Fully completed
	work. This should work for final version without more changes.
	
	* godmode/agentes/agent_template.php: Template/Wizard module
	assigment form for agent.
	
	* godmode/agentes/alert_manager.php: Several fixes (links) and
	alert max/min render.
	
	* godmode/agentes/configurar_agente.php: Fixed several navitation
	bugs. Added agent ip addition/deletion code.
	
	* godmode/agentes/agent_manager.php: Address list management code.
	
	* godmode/modules/module_list.php: Deleted link to "module type
	editor" and create button: This has no sense since there is no
	moduletype editor yet :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 09:58:26 +00:00
slerena fa5263c4d0 2007-04-13 Sancho Lerena <slerena@artica.es>
* include/functions_db.php: Added function add_address() not finished!.
	
	* pandoradb.sql: Added field "notify_email" in tincidencia. More
	changes are coming in incident management coming from FRITS
	project. Added tnews
	
	* index.php: VERY IMPORTANT: Added Session locking concurrency
        speedup, taken from
        http://es2.php.net/manual/en/ref.session.php#64525. This solve GUI
        lookups when one page it's processing huge data and one user
        cannot access to other pages. This is a common PHP issue for
        bad-susing SESSION functions.
	

	* operation/agentes/estado_grupo.php: Added checks for timeout in
	agents. Now render gray icons/boxes if agent is completely timeout
	(with no modules in time).
	
	* operation/agentes/estado_generalagente.php: Show IP address in
	combo. More changes are coming to agent address management
	(multiaddress).
	
	* general/logoff.php: Fixed, "babel" string :-)
	
	* general/logon_ok.php: Added news display in main logon screen.
	
	* godmode/agentes/configurar_agente.php: Delete address code, not
	finished.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-13 18:47:58 +00:00
slerena 70e2f9d797 2007-04-10 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Fixed some odd problems with schema data.

        * pandoradb.sql: Fixed some odd problems with schema structure and
        added new table tnews for publish board updates.

        * include/styles/pandora.css: Changed color for data2 style.

        * include/config.inc.php: Deleted two last blank lines who makes
        config.php unusable for graphs. FIXED.

        * include/languages/language_en.php: Added some new strings.

        * include/config.php: some problems with new config
        variables. Need to recheck.

        * include/functions.php: Added function to render normal text,
        replacing carriage return with HTML br tag.

        * install.php: Many small bugs fixed. Now uses dbname variable and
        use default variables in form.

        * estado_grupo.php: Small bug fixed.

        * estado_ultimopaquete: Small bug fixed.

        * estado_generalagente.php: Small bug fixed.

        * view_server.php: Small bug fixed.

        * fgraph.php: Now agent with only one kind of module render module
        distribution graph.

        * stat_win.php: Fixed small bug with windows ids.

        * module_manager.php: Fixed small bug.

        * modificar_agente.php: Fixed small bug.

        * module_list.php: Fixed stupid bug.

        * god_mode/menu.php: Fixed problem with menu position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 03:12:48 +00:00
raulmateos b601bd7cbe 2007-04-01 Raul Mateos <raulofpandora@gmail.com>
* pandoradb.sql, pandoradb_data.sql: Removed comments that
	caused some warnings. Solved small bug when adding table tmodule.
	Changed (again) HPUX to HP-UX.
	
	* godmode/agentes/modificar_agente.php: Removed some notice error.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-01 18:29:11 +00:00
Esteban Sanchez b887172f46 2007-03-28 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Changed MyISAM tables to InnoDB. Deleted charset
        definition to Latin1. Some changes to be consecuent with the data.
        Deleted unnecesary field from tagente_estado. Added tmodule table and
        a field in tagente_module to point there. Fixed some default dates to
        become the same. Removed mysqldump comments.

        * pandoradb_data.sql: Removed mysqldump comments.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 14:51:39 +00:00
slerena 8bfab2347a 2007-03-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Updated SQL.

	* pandoradb_data.sql: Updated data. Some info must be corrected
	before final version (network components, groups and some other).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 13:08:10 +00:00
Esteban Sanchez 78392e56fe 2007-03-23 Esteban Sánchez <estebans@artica.es>
* pandoradb.sql: Default value of flag field in tagente_module 
	changed to 1, so the module is forced to be executed the first 
	time.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-23 12:35:50 +00:00
raulmateos fadf63374f 2007-03-19 Raul Mateos <raulofpandora@gmail.com>
* pandoradb.sql, pandoradb_data.sql: Solve small problem in last commit
	with groups table and language code for more than 5 chars (as ast_es).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 21:27:10 +00:00
slerena 02acab8e95 2007-03-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Upgraded scheme, many changes and many tables
	added. I Need to commit the new "preloaded" data for this scheme,
	give me some days, this stuff are on development.

	* includes/styles/*: Many additions to reflect new menu options,
	and the tab menu title.

	* reporting/fgraph.php: Minor changes to format progressbar.

	* godmode/modules/*: Many many changes and additions (manage_*)
	for the new management system using tabs :-)

	* include/languages/language_es_es.php: Many additions.

	* operation/servers/view_server.php: Implemented detailed load for
	each servertype and latency time to each server to detect problems
	with high load.
	
	Many changes in godmode subsystem. Not detailed at this time.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-12 17:58:52 +00:00
slerena 4f827de5f0 2007-03-02 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Modified, but needs update!, not
          finished.

	* .png: Many files added.
	
	* Massive commit. Updated almost every file for agent
	visualization, module visualizacion, agent management, index,
	styles, and more. Added many icons, and altered so many files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-02 17:56:07 +00:00
Esteban Sanchez 28eb116928 2007-02-22 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Changed a 'utimestamp' field from mediumint to
        integer.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-22 16:45:10 +00:00
slerena 4906a23681 2007-02-22 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Fixed some problems in last commit and fixed
          utimestamp length.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-22 15:47:58 +00:00
raulmateos 3aaa3a6b58 2007-02-21 Raul Mateos <raulofpandora@gmail.com>
* pandoradb.sql: Solved small problems that caused some tables not 
	to be created.
	
	* operation/active_console/lib/db_functions.php: Remove ".." in include
	path for config file.
	
	* general/logon_ok.php: Use new styles and small check to show some text if
	no data.
	
	* include/styles/pandora.css: New styles.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-20 21:45:44 +00:00
slerena 2d148cc0a5 2007-02-20 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Upgraded SQL. Improved lenght for some fields.
	
	* index.php: Better permission checks
	
	* operation/agentes/estado_ultimopaquete.php: Changed some
	parameters for agent graphics.
	
	* operation/agentes/estado_generalagente.php: Changed some
	parameters for agent graphics.
	
	* reporting/fgraph.php: MAJOR UPGRADE. Replacement for three main
	graphics from agents now using Image Graph.
	
        * reporting/stat_win.php: MAJOR UPGRADE.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-20 18:09:54 +00:00
slerena 51c2517a46 2007-02-16 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: added unixtime field to tagente_datos,
	tagente_datos_string and tagente_estado tables. Future queries
	will use UNIX time instead of "Human" timestamp strings.
	
	* index.php: Small fix of duplicated body html tag.

	* agentes/estado_ultimopaquete.php: [DEBUG] Add a debug ICON for new
	graph... need to be delted.

	* /active_console/styles/main.css, and many .js: Style correction
	(massive changes), only indented and commented, no changes in
	code.

	* reporting/fgraph.php: CURRENTLY CHANGING CODE, NOT USE.

	* reporting/stat_win.php: Unified parameter parsing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-16 18:29:37 +00:00
slerena 2fdfe5d5b5 2006-09-21 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Altered tagente_datos field "datos" to have
	DOUBLE(18,2) instead of DOUBLE (12,2).

	* pandora_db1.1_to1.2.sql: Altered tagente_datos field "datos" to
	have DOUBLE(18,2) instead of DOUBLE (12,2).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-21 16:30:34 +00:00
raulmateos bc4813b017 2006-09-16 Raul Mateos <raulofpandora@gmail.com>
* Set all timestamp values in pandoradb.sql file to 0000-00-00 00:00:00

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-16 16:00:09 +00:00
raulmateos ca48216a51 2006-09-10 Raul Mateos <raulofpandora@gmail.com>
* Massive upload several files, to reflect changes in help, only text, no code changed.
	
* pandoradb.sql: change value of ultimo_contacto row in  tagente table to 0000-00-00 00:00:00, to solve a small issue when the agent haven't send any data

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-10 16:48:18 +00:00
raulmateos 5e927537b9 - Create new var. for help language in config.php and changed in all the .php files where the help was available (Pandora Console)
- Change tlanguage table definition to add ISO 639-2 compliant lang codes in pandoradb.sql file and also changed the name of bable from bb to ast_es in pandoradbdata.sql and changed name of include lang files and help files (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 14:58:02 +00:00
raulmateos a7a42f1b91 - Update pandoradb.sql (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@87 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 13:29:11 +00:00
slerena 0cd002810a Initial Pandora load from our internal SVN
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-03-27 03:37:27 +00:00