Commit Graph

4170 Commits

Author SHA1 Message Date
juanmanuelr 918340e8d9 2011-06-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php: Added initialization variable 
	value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 15:01:34 +00:00
juanmanuelr 78a21a6ea4 2011-06-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	include/functions_tags.php: Correct a mistake that doesn't allow
	to create network modules correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 14:50:31 +00:00
zarzuelo 031e4f568c 2011-06-20 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php: Fixed total events query
	used in pagination



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 09:55:14 +00:00
ramonn 4dcda3bf8b 2011-06-17 Ramon Novoa <rnovoa@artica.es>
* godmode/alerts/alert_actions.php: Aesthetic fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-17 14:44:17 +00:00
zarzuelo 7a1696703e 2011-06-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Fixed duplication of comments
	when validate events merged from 3.2.1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-17 09:45:53 +00:00
slerena e2790a2b75 2011-06-16 Sancho Lerena <slerena@artica.es>
* include/styles/install.css,
    include/styles/pandora.css,
    install.php: Yeeeha!, new look & feel for 4.0 version ! :-)

    * index.php: Minimal changes in session close (after the header
    render).

    * images/greyback.gif: New background for 4.0 (included the
    installer)

    * COPYING: removed bad carriage returns.

    * general/login_page.php: Small modifications to have a better
    style.

    * operation/system_alert.php,
    include/javascript/jquery.pandora.js,
    general/header.php: Implemented a "alert" icon who shows the general
    problems, instead naggin the user in each page. Incorporated the new 
    feature to warn user when he doesn't change the default password :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 19:26:45 +00:00
ramonn 0297d3e682 2011-06-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 17:50:45 +00:00
mdtrooper 458a9e91e5 2011-06-16 Miguel de Dios <miguel.dedios@artica.es>
Merge from the branch.
	
	* godmode/alerts/alert_actions.php: fixed the url to copy the alert action.
	The file didn't upload to repository.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 15:32:12 +00:00
juanmanuelr 7250b017c6 2011-06-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/skin
	images/skin/skin_default
	images/skin/skin_default/images
	images/skin/skin_default/include
	images/skin/skin_default/include/styles
	images/skin/skin_default/include/styles/tip.css
	images/skin/skin_default/include/styles/common.css
	images/skin/skin_default/include/styles/pandora.css
	images/skin/skin_default/include/styles/menu.css: Default skin
	files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 12:28:56 +00:00
juanmanuelr fda16c8c3f 2011-06-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php: Changed the way to include css files 
	when skin functionality is enabled.
	* general/pandora_help.php: Some modifications in css link help 
	file.
	* godmode/alerts/alert_list.php: Changed enterprise_include() 
	function to enterprise_include().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 10:56:48 +00:00
mdtrooper 4a460b7a49 2011-06-15 Miguel de Dios <miguel.dedios@artica.es>
Merge from the branch.
	
	* godmode/alerts/alert_actions.php: fixed the url to copy the alert action.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 15:21:14 +00:00
darode 3c56f7cd2f 2011-06-15 Dario Rodriguez <dario.rodriguez@artica.es>
* include/graphs/fgraph.php: Adding homedir to radar, polar and kiviat
	graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 14:39:30 +00:00
ramonn e324ecd7e6 2011-06-15 Ramon Novoa <rnovoa@artica.es>
* operation/events/events_list.php: Merged from trunk. Do not show
	  repeated comments when grouping events. Raise the maximum permitted
	  result length for GROUP_CONCAT.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 09:38:36 +00:00
ramonn 61c25ee46f 2011-06-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb.oracle.sql: Removed unneeded code.

	* operation/events/events_list.php: Do not show duplicate messages when
	  grouping events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 09:23:28 +00:00
zarzuelo 324102f2d7 2011-06-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Fixed repeated values into
	array of event ids in delete function merged from validate function




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 09:19:06 +00:00
koichirok 119d0d718a 2011-06-15 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added FreeBSD specific code to load_average()
	  and free_mem() functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 07:22:39 +00:00
koichirok e486dc1203 2011-06-15 Koichiro Kikuchi <koichiro@rworks.jp>
* include/functions_ui.php: Fixed typos



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 06:41:58 +00:00
zarzuelo 8da5c2dbe8 2011-06-14 Segio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fixed manual definition of
	homedir



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-14 14:08:14 +00:00
zarzuelo 7b4e42008f 2011-06-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	operation/events/events.php: Fixed multiple validation
	when events are grouped



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-14 11:45:17 +00:00
zarzuelo 0b61e885aa 2011-06-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/fgraph.php: Added ttl parameter to all 
	pdf report graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-14 08:46:57 +00:00
javilanz f75db92cd1 2011-06-14 Javier Lanz <javier.lanz@artica.es>
* godmode/agentes/module_manager_editor_prediction.php: Added enterprise
	hook for synthetic modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-14 07:43:41 +00:00
zarzuelo d441f9f5c6 2011-06-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php: Added time to live to
	area graphs in pdf calls

	* operation/reporting/reporting_xml.php: Fixed bad characteres in
	xml 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 16:55:19 +00:00
javilanz 4b1e8ed2b7 2011-06-13 Javier Lanz <javier.lanz@artica.es>
* images/mult.png, images/subs.png, images/div.png: Added png images


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 15:59:37 +00:00
slerena 64f1786c58 2011-06-13 Sancho Lerena <slerena@artica.es>
* Tools.pm: Avoid errors when provide an empty string to md5.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 14:03:59 +00:00
ramonn 74e616e5a8 2011-06-13 Ramon Novoa <rnovoa@artica.es>
* operation/events/events_list.php: Always show pending events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 12:17:28 +00:00
slerena 0ef05dff62 2011-06-13 Sancho Lerena <slerena@artica.es>
* NetworkServer.pm: Avoid warning messages on pandora_server.error




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 12:05:55 +00:00
zarzuelo 51f145c203 2011-06-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php
	include/functions_reporting.php
	include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	include/config_process.php
	include/include_graph_dependencies.php
	operation/agentes/stat_win.php
	operation/reporting/reporting_xml.php: Fixed missed parameters
	in sparse graph functions.
	Fixed graph includes and bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 11:12:32 +00:00
ramonn 87fbdbb1cd 2011-06-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the group of an agent.

	* lib/PandoraFMS/Core.pm: Fixed a prototype.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 12:50:56 +00:00
ramonn 5f3f41c571 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
javilanz 069497235d 2011-06-10 Javier Lanz <javier.lanz@artica.es>
* include/graphs/functions_fsgraph.php: Updated a deprecated function
	call
	* include/functions_reporting.php: ixed a mistake using the wrong
	variable to print pie graph
	* godmode/agentes/module_manager_editor_prediction.php: Removed a
	html_debug_print call


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:55:20 +00:00
juanmanuelr ad5a88b028 2011-06-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: New field "tags" in 
	"tevento" table for Oracle, Postgresql and migration script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:38:16 +00:00
juanmanuelr ce22ae8f59 2011-06-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Graph's dependencies now are included
	by calling a new file with require_once sentence in order to avoid 
	duplicate function declaration problem.
	* include/include_graph_dependencies.php: All graph's dependencies
	in this file. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:19:04 +00:00
juanmanuelr 063b347da9 2011-06-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php
	operation/agentes/estado_monitores.php: Tooltip with module tag
	information in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-09 16:21:29 +00:00
juanmanuelr 062a783eaa 2011-06-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Changed tag assigment
	interface inside module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-09 15:35:34 +00:00
vgilc a067583d02 2011-06-09 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Clean the code: parse configuration files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-09 08:48:11 +00:00
juanmanuelr aae3cc2bc1 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Added tag information in this 
	view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 17:25:00 +00:00
juanmanuelr 96f97ebd8b 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/tag/edit_tag.php: Comma characters are erased 
	during tag creation/update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 15:15:25 +00:00
ramonn c220594014 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Use commas to separate tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 15:08:52 +00:00
ramonn 5d45306cb7 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
vgilc af5398ede5 2011-06-07 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	  win32/pandora_agent_conf.h
	  win32/modules/pandora_module_list.cc
	  win32/modules/pandora_module_list.h: Allow the windows agent to include additional configuration files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:12:57 +00:00
juanmanuelr 6f0c66999a 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	include/functions_tags.php: Support for policy's tag functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:11:12 +00:00
ramonn 872f7d49bc 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the name of an alert
	  template given the alert id.
	
	* lib/PandoraFMS/Core.pm: Added support for module tags.
	
	* lib/PandoraFMS/DataServer.pm: Do not queue more than max_queue_files
	  files (not max_queue_files + 1!).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 11:07:39 +00:00
juanmanuelr cd786b5cab 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/massive/massive_edit_modules.php: Tags editor inside massive 
	operations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 08:49:34 +00:00
javilanz a7fc24ba97 2011-06-07 Javier Lanz <javier.lanz@artica.es>
* operation/events/events_list.php: Added rawurlencode and io_safe_input
	where they were necessary


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-07 16:37:51 +00:00
jsatoh 7b82850813 2011-06-07 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/datos_agente.php: Improved filter. It allows
	to select 'Specify time range' and search string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-07 02:30:48 +00:00
ramonn fd1f6141bd 2011-06-06 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Use days_compact instead of days_purge in
	  pandora_compactdb.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 16:33:32 +00:00
juanmanuelr 7819b1207c 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/ver_agente.php: Added callback function
	for JQuery requests.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 16:22:30 +00:00
juanmanuelr 205d298a9d 2011-06-06 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/menu.php: Changed old name functions to 4.0v.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 14:15:03 +00:00
darode e99f60754f 2011-06-06 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/manage_recontask.php: User with flag AW can manage recon
	task, only for their group.
	* godmode/servers/modificar_server.php: User with AW flag can view server
	status but only Pandora Admin can delete one of them.
	* godmode/servers/manage_recontask_form.php: User with flag AW can manage recon
	task, but only for their group.
	* godmode/menu.php: Allowing user with flag AW see manage server tab and 
	manage recon task subtab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 14:00:48 +00:00
juanmanuelr 0f13923eff 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Fixed problem on
	update tag function. 
	* godmode/tag/tag.php
	* godmode/tag/edit_tag.php: Added tab that links to 
	tag list view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 13:58:34 +00:00