Commit Graph

6585 Commits

Author SHA1 Message Date
ramonn 683a8901c4 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
ramonn 1c7b69e0c2 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 d8d78581d5 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
mariopulido87 1680894b0e 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
ramonn d52b9051d7 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
ramonn 8a0d5529c8 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
ramonn 8fbb6963dd 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
ramonn 8c07c49770 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
ramonn d214f29c9d 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
ramonn a0f9483cfd 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 19cbf66a03 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 e5387210f2 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 7c398b96b9 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 70aac98112 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 ae058ea152 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 d5f1e50535 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 cd58bcd01b 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
mariopulido87 5a393ac856 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
mariopulido87 1bdb6f1c4e 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 008823c88f 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 059862cf07 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 0a08bbe8b7 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
mariopulido87 37ad9fc46f 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 417226385d 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
ramonn 3c15f525c7 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
ramonn adc0dceb05 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 b1b095e11a 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 87c5be69d8 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 1df7a559d4 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 e6726ddda3 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
ramonn 8f157b7a67 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
ramonn 1ba51b28a7 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 5547e637af 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 c17b95ffee 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 5b4bd91bea 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 ba2d3c829d 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
vgilc e7fc6d2e39 2013-03-11 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_revent.pl: Addapted to API's function
	'create_event'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 17:53:13 +00:00
mdtrooper 32b9319110 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: change the text of legends of "Data"
	for "Avg".
	
	Fixes: #3607218




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 17:46:25 +00:00
darode 6542a52ef0 2013-03-11 Dario Rodriguez <dario@artica.es>
* win32/bin/util/curl.exe: Added curl binary for
        windows systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 17:28:50 +00:00
slerena 80be5583df 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. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 17:23:19 +00:00
ramonn fed3cdbcc4 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Added support for critical and warning
	  thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 16:24:25 +00:00
zarzuelo f2276e57b7 2013-03-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php
	include/functions_graph.php: Added extral controls in status
	count retrieving functions to avoid negative numbers for
	bug 3607315

	* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	the data of unknown modules to new fields in migration




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 15:57:35 +00:00
mdtrooper 9e66f14612 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php: fixed the lost data
	from planned downtime, show in the table of audits.
	
	Fixes: #3607608




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 14:28:12 +00:00
mdtrooper c715ec8231 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_tags.php: fixed the function
	"tags_get_acl_tags_module_condition" when the user profile is in
	the all group.
	
	* include/functions_reporting.php, include/functions_alerts.php,
	operation/agentes/estado_monitores.php: improve the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 13:57:41 +00:00
mdtrooper 3bd61d3c01 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: show only the
	tags that the user has.
	
	Fixes: #3607617
	
	* include/functions_tags.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 13:01:42 +00:00
ramonn 3f187523cb 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Reset configuration to default values before
	  launching broker agents. Fixed bug #3519092.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 12:10:56 +00:00
ramonn 514d2b63af 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Added debugging information to the execution of
	  module_exec modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 11:51:32 +00:00
koichirok 7aec1470af 2013-03-11 Kikuchi Koichiro <koichiro@rworks.jp>
* extensions/update_manager/lib/libupdate_manager_client.php,
	  extensions/update_manager/lib/xmlrpc/xmlrpc.inc: Added HTTP redirect
	 support. It fixes an issue that update manager behind http proxy
	 failed to communicate with update server due to the server's
	 "301 Moved Permanently" HTTP response.

	Merged from: branch_4.0

> Description of fields to fill in above:                     76 columns --|
> PR:            If a GNATS PR is affected by the change.
> Submitted by:  If someone else sent in the change.
> Reviewed by:   If someone else reviewed your modification.
> Approved by:   If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
> Security:      Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.

_M   pandora_console
M    pandora_console/ChangeLog
M    pandora_console/extensions/update_manager/lib/xmlrpc/xmlrpc.inc
M    pandora_console/extensions/update_manager/lib/libupdate_manager_client.php


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 10:28:23 +00:00
koichirok bffe9ec587 2013-03-11 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Fixed bug that the send_buffered_xml_files
	 doesn't remove xml files successfully sent.

	Merged from: branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 05:41:51 +00:00
mdtrooper 3d1301ddb8 2013-03-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php: added event when some
	user stop a downtime manuallity.
	
	Fixes: #3607163




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-08 13:47:07 +00:00