Commit Graph

3957 Commits

Author SHA1 Message Date
Ramon Novoa d7e2b902ee 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 746907b39c 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 bdeea06d24 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 7dfd20ce70 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 4645c875fe 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 aa9507a0ac 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 c4aa6c0e8a 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 3f00788795 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 df3a5ede46 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 3356be60c3 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 241a51bf35 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
Ramon Novoa 175b94c034 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 b6d7106496 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 718aaa5508 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
Ramon Novoa 8830ccdaf3 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
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
javilanz e881b7b674 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 42bf4f324d 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 41e6b7ffd4 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 c2bf93a079 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 9daa27c4c6 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 e2a1c7823e 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 126b0616bb 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 5af8479b74 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
Ramon Novoa cd9c926435 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
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
vgilc d0bd876295 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 39828a68c4 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
Ramon Novoa 0035e2937e 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 3a73b47476 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 862cc8198d 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 d6b145170f 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
Ramon Novoa 93bd4b86a0 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 f27ddd9e5e 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 f0d7ba1a15 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 be580cd25e 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 8a5132fa8b 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
juanmanuelr 7e1795ca4a 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php: Some mofications over update_tag
	function.
	* include/functions_alerts.php: Added new function 
	alerts_get_alerts_module_name() to retrieve alerts of a module
	in html select tag format.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 12:04:14 +00:00
juanmanuelr c4a067a340 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Added new parameters to function 
	tags_search_tag().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 11:42:50 +00:00
juanmanuelr c755e03c55 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/alert_list.ajax.php: Added new callback function 
	for jQuery requests. 
	* godmode/menu.php: Added alert events entry. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 11:16:48 +00:00
slerena d8903afee8 2011-06-03 SanchO Lerena <slerena@artica.es>
* pandora_inventory_change.pl
        pandora_inventory_change.README: New remote plugin to check
        changes in inventory, using a direct database check (only MySQL
        supported).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 14:25:13 +00:00
juanmanuelr e9a68f3b1b 2011-06-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Some modifications in update tag 
function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 13:33:01 +00:00
javilanz a51b7517fe 2011-06-03 Javier Lanz <javier.lanz@artica.es>
* godmode/agentes/module_manager_editor_prediction.php: Edited to get
	"custom_integer_2" parameter & Added period combo 
	* godmode/agentes/module_manager_editor.php: Edited to get
	"custom_integer_2" parameter


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 13:16:35 +00:00
Ramon Novoa 2171d8f48b 2011-06-02 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not include BADXML files when
	  evaluating max_queue_files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-02 15:28:29 +00:00
Ramon Novoa b92617e056 2011-06-01 Ramon Novoa <rnovoa@artica.es>
* include/auth/mysql.php: Do not allow empty passwords when
	  authenticating against an LDAP server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-01 10:51:53 +00:00
vgilc dd62d4a431 2011-06-01 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Allow the agent to include additional configuration files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-01 10:34:05 +00:00
javilanz e096e30c67 2011-06-01 Javier Lanz <javier.lanz@artica.es>
* include/functions_graph.php: Fixed a deprecated function call
	* include/functions_reporting.php: Fixed a deprecated function call and
	removed some connection error messages
	* include/functions.php: Disabled agents/modules report type when
	metaconsole is active
	* operation/agentes/ver_agente.php: Removed some connection error messages
	* godmode/reporting/reporting_builder.list_items.php: Removed some
	connection error messages
	* godmode/reporting/reporting_builder.php: Added getting server name for
	sql reports & custom graph in metaconsole
	* godmode/reporting/reporting_builder.item_editor.php: Added Server
	combo box, custom graph for metaconsole & removed some connection error
	messages


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-01 10:28:10 +00:00
javilanz cf1e4703af 2011-05-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Edited "render_report_html" function
	to work with metaconsole printing metaconsole elements
	* include/javascript/pandora.js: Modified autocomplete javascript to use
	with metaconsole
	* include/ajax/reporting.ajax.php: Edited to work with metaconsole
	* include/ajax/agent.php: Edited autocomplete to work with metaconsole
	* operation/agentes/ver_agente.php: Modified to get the agent's modules
	using metacofacensole
	* godmode/reporting/reporting_builder.list_items.php: Edited to display
	agents & modules in metaconsole. Edited top filters to work with
	metaconsole
	* godmode/reporting/reporting_builder.php: Added getting parameter
	server_name & fixed deleting items
	* godmode/reporting/reporting_builder.item_editor.php: Edited to send
	the host when metaconsole is active


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 17:04:34 +00:00
Ramon Novoa 5a95033fc2 2011-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed the query to get the number of unknown
	  agents. Thanks to Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 16:53:42 +00:00
juanmanuelr 80fbad1709 2011-05-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Fixed typo mistake in this file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 14:40:17 +00:00