Commit Graph

4594 Commits

Author SHA1 Message Date
mdtrooper e9f5fc64cd 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed the fields as sql operations as field.
	
	Fixes: #3400237



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 16:42:56 +00:00
juanmanuelr 624c2edaff 2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
        function in order to not retrieve delete modules.

        Fixes: #3401666




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 15:22:44 +00:00
mdtrooper 149e5f5f57 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/main.php: fixed when the file is corrupted or
	empty.
	
	Fixes: #3400237



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 12:35:09 +00:00
mdtrooper 1272ea9275 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed in function "string2image" when generate a
	image in other location, now have one more parameter, $homeurl, by default
	empty string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 11:27:01 +00:00
juanmanuelr 4e2113b839 2011-08-31 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* unix/plugins/grep_log
	shellscript/linux/plugins/grep_log: Changed parse_log
	function in order to retrieve token correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 10:38:15 +00:00
juanmanuelr 055e0580c2 2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/users/user_edit.php: Reload page to update skin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 07:21:18 +00:00
koichirok c967267fbb 2011-08-31 Koichiro Kikuchi <koichiro@rworks.jp>
* include/functions_api.php: Fixed join parameter to avoid
	  generating unusable module lines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 06:36:36 +00:00
juanmanuelr 2303782c36 2011-08-30 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* scripts/webserver
	scripts/webserver/pandora_webserver.pl
	scripts/webserver/PandoraFMS_Monitorizacion_Webserver.odt: Added files
	with webserver plugin and documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 16:10:36 +00:00
Aldrioth 1bfb313fdf 2011-08-30 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server_installer: Added missing Perl Socket6 references.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 15:32:39 +00:00
juanmanuelr 41fb24f6fb 2011-08-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/configure_user.php: Now action state is showed
	when update user action is performed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 15:21:40 +00:00
juanmanuelr 2a8bc97958 2011-08-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/configure_user.php: Reload page to update skin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 14:51:03 +00:00
mdtrooper 7d1bd0f14c 2011-08-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
	include/graphs/fgraph.php: added the parameter $reduce_data_columns by
	default false for to use in vertical columns graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 09:33:07 +00:00
zarzuelo cb2172f595 2011-08-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php: Fixed URL injection replacing
	safe_input for safe_input_html



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 08:32:39 +00:00
jsatoh a4d62904c0 2011-08-30 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_standby_alerts.php: Added group recursion
	feature, it allows to search agents in child groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4847 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 06:55:49 +00:00
jsatoh 95964e93a2 2011-08-30 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/modificar_agente.php: Fixed group recursion does
	not work with IE8.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 06:45:38 +00:00
mdtrooper 39a180eb66 2011-08-29 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_fsgraph.php, include/graphs/fgraph.php: added
	$homeurl parameter to graph vertical column in flash.
	
	Fixes: #3398097



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 17:30:48 +00:00
ramonn 2f09c48527 2011-08-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc,
	  modules/pandora_module_regexp.h,
	  modules/pandora_module_factory.cc: Check file size to detect if the
	  file was truncated. Added a new configuration token to avoid seeking
	  to the eof.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 17:17:33 +00:00
darode 235c446437 2011-08-29 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php: Fixed a bug setting graphic
        * resolution
        to 1 that displays some errors with event graphs.  

        Fixes: #3398524



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 16:36:43 +00:00
javilanz 91e1a6878e 2011-08-29 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/ver_agente.php: Fixed a bug filling modules combo

        Fixes: #3397520


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 16:15:19 +00:00
zarzuelo 85a2544067 2011-08-29 Sergio Martin <sergio.martin@artica.es>
* images/attachment_del.png: Added new icon to policy queue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 15:19:26 +00:00
darode 42839cc64c 2011-08-29 Dario Rodriguez <dario.rodriguez@artica.es>
* modules/pandora_module_factory.cc: Fixed a bug collecting some module
	parameters like min_warning, max_warning, min_ff_event, etc.

	Fixes: 3396949



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 14:44:53 +00:00
zarzuelo 9c5984a1be 2011-08-29 Sergio Martin <sergio.martin@artica.es>
* include/db/mysql.php: Fixed the Rollback function in 
	mysql engine to reset auto mode after rollback action



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 14:44:02 +00:00
mdtrooper 7d27899f56 2011-08-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: added in the call
	"config_agents_write_module_in_conf" the parameter to disabled local
	modulo.
	
	Fixes: #3400159



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 13:57:14 +00:00
vgilc 80f17a6508 2011-08-29 Vanessa Gil <vanessa.gil@artica.es>
*godmode/agentes/fields_manager.php: Fixed: is possible to create custom fields with the same name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 12:30:16 +00:00
mdtrooper 1a668350a7 2011-08-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder.php: wrote the source code for copy the
	relationships between a copy of items in a visual console.
	
	Fixes: #3400124



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 12:25:33 +00:00
mdtrooper 31cf9f91d2 2011-08-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the clean $id_agent var for
	each iteration.
	
	Fixes: #3400111



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4835 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 11:44:58 +00:00
jsatoh 60050859b2 2011-08-29 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_alerts.php: Added group recursion
	feature, it allows to search agents in child groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 06:16:04 +00:00
jsatoh a7436811fa 2011-08-29 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_snmp_alert_field1.php: Added a new help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 05:53:18 +00:00
jsatoh 4482da9cf2 2011-08-29 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Fixed a typo in comments for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 05:43:20 +00:00
juanmanuelr 2d708f1827 2011-08-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/DataServer.pm: Added status to supported tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-26 11:34:48 +00:00
juanmanuelr 97396fc2d5 2011-08-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css
        operation/events/events_list.php: Fixed css style on th view.

        Fixes: #3394739




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-26 09:35:15 +00:00
ramonn 8227475beb 2011-08-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Updated package name to integrate
	  Nmap::Parser into Pandora FMS.

	* lib/PandoraFMS/ReconServer.pm: Removed recursive calls. Now parent
	  hosts are detected with a single call to nmap via Nmap::Parser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 20:52:42 +00:00
mdtrooper 3472e58ec9 2011-08-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/datos_agente.php: change the width of data table. 

	Fixes: #3398098



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 19:05:15 +00:00
mdtrooper 559d24908d 2011-08-25 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager.php: check if the field "update_server_path" in
	the table is the last path for Pandora v4 and update.
	
	* extensions/update_manager/main.php: rewrite the text to message for show
	only Pandora FMS instead the Pandora FMS vX.
	
	*extensions/update_manager/sql/update_manager.sql,
	extensions/update_manager/sql/update_manager.postgreSQL.sql,
	extensions/update_manager/sql/update_manager.oracle.sql: update the
	"update_server_path" to Pandora v4.

	Fixes: #3394754



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:52:35 +00:00
mdtrooper 901c843cb7 2011-08-25 Miguel de Dios <miguel.dedios@artica.es>
* ggodmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: added checkboxes in the elements in
	the list and main checkbox to select all checkboxes, for to multiple delete.
	
	Fixes: #3390017



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:27:47 +00:00
Aldrioth 1f052a1581 2011-08-25 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server.spec
        pandora_server/pandora_server.redhat.spec
        pandora_server/pandora_server_installer
        pandora_server/Makefile.PL
        pandora_server/DEBIAN/control: Added perl-XML-Twig, perl-SNMP
        and a missing libio-socket-inet6-perl reference.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:24:08 +00:00
juanmanuelr 8a3946ede5 2011-08-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css: Fixes style in notify css element.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 17:17:46 +00:00
javilanz eb75481eab 2011-08-25 Javier Lanz <javier.lanz@artica.es>
* godmode/groups/configure_group.php: Removed the non-desired icons

        Fixes: #3397548



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 17:04:50 +00:00
zarzuelo e742c3cf26 2011-08-25 Sergio Martin <sergio.martin@artica.es>
* include/db/mysql.php: Fixed a bug in the sql_commit
	function to reset the database to autocommit mode

	* include/functions_tags.php: Added a missed sql_begin call
	to the tags creation function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 16:13:51 +00:00
javilanz 9a42657eb4 2011-08-25 Javier Lanz <javier.lanz@artica.es>
* include/functions_config.php: Fixed checking if remote configuration
        directory is not writtable for the console.

        Fixes: #3396471



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 16:08:16 +00:00
jsatoh d2a0a77297 2011-08-25 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_copy_modules.php: Added group recursion
	feature, it allows to search agents in child groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 07:06:33 +00:00
ramonn 354a778683 2011-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Added to repository. Patched
	  Nmap::Parser. See http://search.cpan.org/dist/Nmap-Parser/.

	* lib/PandoraFMS/ReconServer.pm: Use Nmap::Parser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 18:07:59 +00:00
mdtrooper c9091ffbcc 2011-08-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php: added javascript alert message
	when the name in field and remote config is different.
	
	Fixes: #3397306

	* godmode/agentes/configurar_agente.php: fixed when copy a module the name
	now is safe input type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 17:52:52 +00:00
slerena 05d3e549fd 2011-08-24 Sancho Lerena <slerena@artica.es>
* include/help/en/help_snmp_alert_field1.php: New help page.

        * include/help/en/help_module_definition.php: Fixed odd chars.

        * images/groups_small/g_: Deleted unused icons.

        * images/groups_small/transmit.ok.png: Added margins and
        padding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 17:16:06 +00:00
mdtrooper 58cc93d072 2011-08-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: added the call to enterprise function for
	to copy the remote configuration when copy the modules.
	
	Fixes: #3397314



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 16:46:03 +00:00
juanmanuelr 674dff9405 2011-08-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/incidents/incident_detail.php: Fixed table width in this
        view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 15:44:40 +00:00
ramonn c665243b5c 2011-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Exclude the datalist tag from the
	  module's extended_info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 11:41:27 +00:00
mdtrooper da320f5f97 2011-08-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed the include of
	php file.
	
	Fixes: #3396828



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 10:19:50 +00:00
slerena 5da8b8eddf 2011-08-23 Sancho Lerena <slerena@artica.es>
* pandora_migrate_v3.2_to_v4.0.sql: Missing some alter sentences
        for trecon_task table. Added.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-23 17:53:53 +00:00
Aldrioth a810b0c1c0 2011-08-22 Tomas Palacios <tomas.palacios@artica.es>
* pandora_console/pandoradb_data.sql
        pandora_console/pandoradb.data.oracle.sql
        pandora_console/pandoradb.postgreSQL.sql:updated the
        default site news.

        Fixes: Bug ID 3396846



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-23 16:43:56 +00:00