Commit Graph

6499 Commits

Author SHA1 Message Date
mdtrooper 610615ff83 2013-03-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_tags.php, include/functions_reporting.php,
	include/constants.php, include/functions_ui.php,
	operation/agentes/estado_agente.php,
	operation/agentes/status_monitor.php, mobile/include/style/main.css:
	some cleans and remove unuseless code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-26 17:15:49 +00:00
Ramon Novoa 9154814f2c 2013-03-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/Tools.pm,
	  lib/PandoraFMS/DataServer.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  bin/pandora_server: Improved pandora_get_os to support custom operating
	  systems and moved it from Tools.pm to Core.pm.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-26 16:13:15 +00:00
hkosaka c17f9fd97d 2013-03-25 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_server_installer: Fixed false recognition of RHEL6.4.
	(it had been recoginzed as Ubuntu incorrecty because of its
	"/etc/lsb-release").


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-25 05:55:18 +00:00
hkosaka 1f8221a254 2013-03-25 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_console_install: Fixed false recognition of RHEL6.4
	(it had been recoginzed as Ubuntu incorrecty because of its
	"/etc/lsb-release".)


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-25 05:51:11 +00:00
jsatoh 8a6d43b77a 2013-03-25 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_manage_alert_list.php: Added description for
	threshold.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-25 05:36:42 +00:00
mdtrooper 7244193c66 2013-03-22 Miguel de Dios <miguel.dedios@artica.es>
* mobile/images/ajax-loader.gif, mobile/operation/events.php,
	mobile/include/ui.class.php, mobile/include/style/main.css: more
	changes in the events view.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 14:31:54 +00:00
mdtrooper 3411f0d1d9 2013-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/db/mysql.php: fixed the querys for the columns with
	empty string in the function
	"mysql_db_format_array_where_clause_sql".
	
	* include/functions_events.php: added lost parameter $similars in
	the function "events_change_owner".
	
	* operation/events/events.build_query.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 14:27:47 +00:00
Ramon Novoa a3762678af 2013-03-22 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php: Always display the source ip address
	  when calling db_pandora_audit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 13:23:26 +00:00
mariopulido 1d2d71d051 2013-03-22 Mario Pulido <mario.pulido@artica.es>
* godmode/alerts/configure_alert_template.php,
	include/help/en/help_conf_alert_template.php,
        include/help/en/help_manage_alert_list.php,
        include/help/es/help_conf_alert_template.php,
        include/help/es/help_manage_alert_list.php,
        images/help/alert1.png,images/help/alert2.png: Added helps in alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 12:55:57 +00:00
Ramon Novoa e932c4e8c6 2013-03-22 Ramon Novoa <rnovoa@artica.es>
* operation/gis_maps/ajax.php,
	  godmode/agentes/agent_conf_gis.php: Fixed coordinate precision and
	  display order. Fixes bug #3608628.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 11:55:42 +00:00
jsatoh 660852c5a8 2013-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Added missing
	types.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 01:26:26 +00:00
jsatoh 5af0508546 2013-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Fixed bad
	sql syntax.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 01:23:28 +00:00
mdtrooper a66683e048 2013-03-21 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/groups.php, mobile/operation/tactical.php,
	mobile/operation/alerts.php, mobile/operation/events.php,
	mobile/include/style/main.css, mobile/include/ui.class.php,
	mobile/include/user.class.php, include/functions_events.php: updated
	the code of events in mobile.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-21 18:47:28 +00:00
mdtrooper dba1396900 2013-03-20 Miguel de Dios <miguel.dedios@artica.es>
* mobile/index.php, mobile/operation/events.php,
	mobile/operation/alerts.php, include/functions_agents.php,
	include/functions_alerts.php,
	operation/agentes/alerts_status.functions.php: added first version
	of alert view.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 17:41:35 +00:00
Ramon Novoa 69a4a5e67a 2013-03-20 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/modificar_server.php: Added support for braa_retries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 15:52:25 +00:00
Ramon Novoa ec65703d8b 2013-03-20 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/Config.pm,
	  bin/pandora_server: Added the parameter braa_retries, which lets braa
	  retry SNMP modules a number of times before handing it over to the
	  network server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 15:50:41 +00:00
mdtrooper 0a59852587 2013-03-20 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/events.php, mobile/include/ui.class.php,
	mobile/index.php: added first version of events section.
	
	* include/functions_incidents.php, include/functions_users.php,
	include/functions.php, include/functions_groups.php,
	include/functions_events.php, include/functions_html.php,
	operation/events/events.build_table.php,
	operation/events/events.build_query.php,
	operation/events/events_list.php: some changes for interact with
	mobile version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 12:29:33 +00:00
mariopulido ae253e17ea 2013-03-20 Mario Pulido <mario.pulido@artica.es>
* godmode/setup/setup_general.php: Add help tip in Timezone Setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 11:39:07 +00:00
Ramon Novoa c9ea1c0200 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/modificar_server.php: Disable auto-refresh when reset
	  operations are executed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 18:32:25 +00:00
Ramon Novoa 33dfb15aff 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Moved a log message to verbosity 10.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 18:23:07 +00:00
Ramon Novoa 485d2d38fa 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/modificar_server.php: Added an option to reset
	  counts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 18:14:25 +00:00
Ramon Novoa 442bf2013c 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Style fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 18:12:53 +00:00
Ramon Novoa f1c5e74d8e 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Updated and fixed
	  some column types.

	* include/functions_alerts.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added support for on-demand module status
	  calculations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 17:24:40 +00:00
Ramon Novoa 3c9fe04dc2 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  bin/pandora_server,
	  util/pandora_db.pl: Added support for on-demand module status
	  calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 17:16:59 +00:00
jsatoh 403cb51f43 2013-03-18 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_performance.php,
	include/help/ja/help_plugin_policy.php: Added new help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-18 04:41:08 +00:00
jsatoh 5fac1a110c 2013-03-16 Junichi Satoh <junichi@rworks.jp>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql: Fixed a typo in the description of
	Internal Audit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-16 01:41:38 +00:00
slerena e06dd5823c 2013-03-15 Sancho Lerena <slerena@artica.es>
* util/pandora_database_check.pl: added to trunk repo. Tool to 
        measure transaction speed in pandora. Merged from 4.x branch.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 16:57:29 +00:00
mdtrooper 8c5e0dd4cf 2013-03-15 Miguel de Dios <miguel.dedios@artica.es>
* mobile/*: added first version of new mobile console.
	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 14:50:47 +00:00
mdtrooper 3c9153937f 2013-03-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.form.js: updated to last version.
	
	* include/functions_reporting.php, include/functions_groups.php:
	added changes for to get the data as hash instead a html.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 14:47:02 +00:00
mdtrooper df50d9f731 2013-03-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php, include/functions_html.php,
	include/functions_graph.php, include/functions_reporting.php,
	operation/events/events_list.php, operation/events/events.php,
	operation/agentes/group_view.php: improved source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 14:38:48 +00:00
mdtrooper 7025a8deec 2013-03-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_copy_modules.php: uploaded lost changes
	for previous fixed (days ago).
	
	* godmode/groups/group_list.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php, include/functions_agents.php,
	general/logon_ok.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 14:35:52 +00:00
mariopulido c91f41f0b3 2013-03-15 Mario Pulido <mario.pulido@artica.es>
* include/help/en/help_plugin_policy.php
	include/help/es/help_plugin_policy.php: Added plugin policy help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 13:41:38 +00:00
mariopulido 62538f18f2 2013-03-15 Mario Pulido <mario.pulido@artica.es>
* include/help/en/help_performance.php, include/help/es/help_performance.php
 	godmode/setup/setup.php: Add help in performance configuration.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 12:41:45 +00:00
vgilc e4abe5c00e 2013-03-15 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_ui.php
	  operation/agentes/status_monitor: Added popup with data
	module, remove column 'tags' and changed font size to
	column 'timestamp'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 12:06:49 +00:00
vgilc 2f7b2abe28 2013-03-15 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_treeview.php
	  include/functions_ui.php
	  include/ajax/module.php
	  include/javascript/pandora_modules.js
	  operation/tree.php: Added popup with data
	module.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 09:30:46 +00:00
hkosaka 86efc9c40e 2013-03-15 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Improved performance of
	get_tree_agents() API by omitting unnecessary data copies and
	queries when output fields are explicitly specified.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 06:30:26 +00:00
mariopulido f4060b8982 2013-03-14 Mario Pulido <mario.pulido@artica.es>
* operation/users/user_edit.php, godmode/users/configure_user.php: Add tip in edit users
	* include/help/en/help_profile.php, include/help/es/help_profile.php: Modified help file 
	in profiles management



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-14 16:52:05 +00:00
jsatoh 7f7e6adf2d 2013-03-14 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_history_database.php: Added a new help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-14 08:50:30 +00:00
Ramon Novoa 3063027721 2013-03-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added support for ranges to server cron
	  modules.

	* lib/PandoraFMS/ProducerConsumerServer.pm: Update queue stats after
	  queuing new new modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 18:46:37 +00:00
Ramon Novoa bfba9779b1 2013-03-13 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/modificar_server.php: Let an Enterprise SNMP server
	  claim back modules that were moved to the Network server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 18:20:32 +00:00
mdtrooper c12c553e44 2013-03-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed the notices PHP.
	
	Fixes: #3607807




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 14:28:52 +00:00
mdtrooper 13f69122e9 2013-03-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed the massive deletion of
	modules when only delete one module, the old code deleted all
	modules in the agents on operation.
	
	* godmode/massive/massive_delete_modules.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 12:59:29 +00:00
koichirok 494dc8e5a1 2013-03-13 Kikuchi Koichiro <koichiro@rworks.jp>
* extensions/update_manager/lib/functions.ajax.php: Added proxy
	 and bsdtar support.

	Merged from: branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 09:19:27 +00:00
koichirok 3ee7e319e8 2013-03-13 Kikuchi Koichiro <koichiro@rworks.jp>
* extensions/update_manager/lib/xmlrpc/xmlrpc.inc: Keep original
	 connection params when xmlrpc_client->sendPayloadHTTP10() follows
	 30x redirect.

	Merged from: branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 08:01:38 +00:00
Ramon Novoa 7cacb2a64b 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* pandora_revent: Added to repository. Pandora remote event generation
	  script.

	* pandora_agent_installer: Added the pandora_revent script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:53:25 +00:00
Ramon Novoa 4910921918 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_revent.exe: Added to repository. Compiled version of
	  pandora_revent.pl.

	* installer/pandora.mpi: Added pandora_revent.exe and curl.exe to the
	  installer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:01:54 +00:00
mdtrooper ae6dbd8b0f 2013-03-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_templates_form.php: improved the code
	style.
	
	* extensions/update_manager/lib/functions.ajax.php,
	include/graphs/functions_flot.php: fixed the warnings PHP messages.
	
	Fixes: #3607177




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 16:20:53 +00:00
mdtrooper 3dd28258e1 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/functions.ajax.php: disabled the
	trace.
	
	* operation/agentes/ver_agente.php: fixed the output of modules
	when the names is very large.
	
	Fixes: #3607080
	
	* godmode/agentes/module_manager.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 19:09:43 +00:00
slerena 136494e89d 2013-03-11 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.conf: Updated conf file to use the new
        threshold values in the generation of xml. Better defaults for
        proc types.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 18:46:46 +00:00
mdtrooper 592fc00155 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed PHP notices when the "homeurl"
	is empty in some installations.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 18:30:28 +00:00