Commit Graph

8203 Commits

Author SHA1 Message Date
Ramon Novoa 4f5e94b450 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Fixes the ps call on HP-UX.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 09:55:15 +00:00
alexhigh df12717958 2014-08-07 Alejandro Gallardo <alejandro.gallardo@artica.es>
* pandoradb.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
	Modified the decimal precision of the column "post_process"
	for the table 'tagente_modulo' (Ticket #1124).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 09:47:10 +00:00
slerena 9a9cee5d92 2014-08-06 Sancho Lerena <slerena@artica.es>
* NetBSD/pandora_server.conf,
        conf/pandora_server.conf.new,
        conf/pandora_server.conf.windows: New default value for icmp_retries
        to have default setup more realiable but a bit slower.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 21:21:03 +00:00
alexhigh 9260d1b8d5 2014-08-06 Alejandro Gallardo <alejandro.gallardo@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Little syntax fix.

	* util/pandora_revent_create.pl: Changed the url encode
	separator of the api call from "," to "|".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 18:01:48 +00:00
Ramon Novoa 06ea5990ec 2014-08-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Rewrote TCP module socket code for
	  sending data (tcp_send). Fixes ticket #1096.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 15:48:59 +00:00
slerena 8f49a022b0 2014-08-06 Sancho Lerena <slerena@artica.es>
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
        pandoradb.sql: Fixed bug introduced in commit 9604
        altering tagente_modulo.post_process double precission
        making conversion from bytes to megabytes impossible
        (0,00000095367432). Pending to fix also the interface for
        module creation/edition which also fails. This is critical
        for SP1 release :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 07:37:46 +00:00
alexhigh 125f1c19b8 2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Improved the submenus state
	persistence functionality.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 13:16:54 +00:00
alexhigh 825852d324 2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Fixed the menu position when
	it's fixed and the header's not.

	* include/functions_graph.php,
	  include/graphs/pandora.d3.js: Added colors to the elements
	depending on their status on the functions 'sunburst' and
	'graph_monitor_wheel'.

	* include/styles/pandora.css: Fixed the z-index of the
	shortcut bar.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 13:09:46 +00:00
hkosaka 6ab46fe635 2014-08-05 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Suppress "going to normal (warning,
	critical)" events from "unknown" status, if you disable "Throw
	unknown events" at the Console.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 07:15:52 +00:00
hkosaka dd712435c6 2014-08-05 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed that unknown modules would be
	set to normal if its status is not normal, when new data
	arrives but ff_threshold is greater than 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 06:50:51 +00:00
alexhigh d974a5bb6c 2014-08-04 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/header.php: Now the header can be configured
	to be fixed at the top.

	* general/main_menu.php: Now the menu can be configured
	to be fixed at the left.

	* godmode/setup/setup_visuals.php,
	  include/functions_config.php: Added new options to
	enable the fixed header and menu.

	* include/styles/menu.css,
	  include/styles/pandora.css: Changes on the menu styles.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 16:50:36 +00:00
mdtrooper 34f41362b7 2014-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php,
	include/functions_update_manager.php: some fixes into the update
	manager.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 16:00:58 +00:00
alexhigh 877fd5a834 2014-08-04 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Now the submenus opened by the
	user remain opened when navigating through Pandora FMS.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 12:17:13 +00:00
mdtrooper f503c79a35 2014-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: added global config var for the
	quote strings (for example, PostgreSQL).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 11:38:00 +00:00
jsatoh 3156501716 2014-08-03 Junichi Satoh <junichi@rworks.jp>
* include/functions_ui.php: Fixed that the fast forward and the going
	to the last of pagination doesn't work in the modal window for module
	data display.
	And fixed incorrect offset calculation for the fast forward.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-03 01:52:06 +00:00
jsatoh b30317d0e5 2014-08-02 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_monitores.php: Fixed that module data
	display does not work correctly when time range mode is selected
	and paginated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-02 09:04:57 +00:00
jsatoh 36b44e3b9d 2014-08-02 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php: Fixed sql error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-02 07:09:28 +00:00
mdtrooper 4c311f7cf1 2014-08-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.editor.php: fixed the acl.
	
	MERGED FROM THE BRANCH 5.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-01 10:36:19 +00:00
mdtrooper a6197fccb2 2014-07-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_graph.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/functions_api.php, extensions/agents_alerts.php,
	operation/search_main.php, operation/search_agents.getdata.php,
	operation/agentes/status_monitor.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/ver_agente.php,
	operation/search_modules.getdata.php, operation/search_results.php,
	operation/events/events_list.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_template.php,
	godmode/modules/manage_network_components_form.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php: tiny fixes for the improve the
	support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-31 14:27:43 +00:00
mdtrooper fa3b615111 2014-07-30 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/module.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 16:54:10 +00:00
alexhigh 798d099f98 2014-07-30 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Finished the function
	"graph_monitor_wheel". This function returns a sunburst
	graph representing all the group>agent>module group>module
	hierarchy.
	
	* include/functions_groups.php: Added the function
	"groups_get_tree". This function returns an array representing
	the group hierarchy of the passed groups array.

	* include/graphs/pandora.d3.js: Improved the function
	"sunburst". Now this graph can show tooltips.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 15:58:27 +00:00
mdtrooper 478d521f59 2014-07-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php,
	include/functions_treeview.php, include/ajax/module.php,
	include/functions_reporting.php, include/db/postgresql.php,
	include/functions_servers.php, operation/agentes/estado_agente.php,
	operation/tree.php: tiny fixes for the improve
	the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 14:29:44 +00:00
Ramon Novoa 50fd3afc56 2014-07-30 Ramon Novoa <rnovoa@artica.es>
* util/trap_rate.sh: Added to repository. Script to calculate the rate of
	  SNMP traps received by snmptrapd.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 22:41:09 +00:00
Ramon Novoa 37b9dc584d 2014-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set unknown modules to normal if new data
	  arrives but ff_threshold is greater than 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 22:39:07 +00:00
mdtrooper 514ad60da7 2014-07-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php,
	operation/agentes/estado_monitores.php: tiny fixes for the improve
	the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 15:11:23 +00:00
jsatoh 9ee4829497 2014-07-29 Junichi Satoh <junichi@rworks.jp>
* include/functions_events.php: Fixed a bug that event's comment
	is not shown when it includes newline.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 06:42:33 +00:00
Ramon Novoa d91a102537 2014-07-28 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm: Added configuration tokens to disable the
	  translation of enterprise strings and variable bindings (SNMP console).

	* lib/PandoraFMS/SNMPServer.pm: Added thread support to the SNMP console.

	* lib/PandoraFMS/DB.pm: Fixed a warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-28 16:24:40 +00:00
jsatoh a271695ba8 2014-07-28 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php: Fixed sql error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-28 00:49:39 +00:00
mdtrooper ff89315554 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2014-07-25 13:16:46 +00:00
mdtrooper f679cec04c 2014-07-25 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/GIS.pm, lib/PandoraFMS/DB.pm,
	lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
	lib/PandoraFMS/DataServer.pm: tiny fixes for to improve the support
	of PostgreSQL.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-25 13:15:24 +00:00
jsatoh 8d7541ce56 2014-07-25 Junichi Satoh <junichi@rworks.jp>
* util/pandora_db.pl: Fixed error when 'dbengine' token is not defined
	in pandora_server.conf with enterprise installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-25 03:47:55 +00:00
mdtrooper 56bc6820bc 2014-07-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php,
	operation/events/events_list.php, operation/incidents/incident.php,
	extensions/files_repo.php,
	extensions/files_repo/sql/files_repo.postgreSQL.sql,
	extensions/files_repo/functions_files_repo.php,
	extensions/files_repo/files_repo_list.php,
	godmode/agentes/modificar_agente.php,
	godmode/snmpconsole/snmp_alert.php, godmode/db/db_info.php,
	include/functions_graph.php, include/functions_db.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/db/mysql.php, include/functions_update_manager.php,
	include/functions_events.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 16:02:06 +00:00
mdtrooper 213143122d 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* extensions/module_groups.php, extensions/agents_alerts.php,
	include/functions_agents.php, operation/agentes/exportdata.php: tiny
	fixes for the improve the support of postgreSQL databases.
	
	* include/functions_db.php: fix blank screen when the connection
	fail, now it shows the error message again.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 08:40:59 +00:00
mdtrooper 591a984a66 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php: tiny fixes for the improve the
	support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 16:59:05 +00:00
mdtrooper 5f1f44fb9a 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php, include/functions_reporting.php:
	tiny fixes for the improve the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 14:42:55 +00:00
mdtrooper 1dc69b6e21 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: fixed the show the
	agent access box when the agent is new without data.
	
	INCIDENT: #1078




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:48:28 +00:00
mdtrooper e62792c36b 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* util/plugin/snmp_remote.pl: some fixed for the snmp v3.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:11:36 +00:00
mdtrooper a90a97e86d 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_wizard.snmp_explorer.php,
	godmode/agentes/module_manager_editor_plugin.php: some fixes for
	the snmp version 3.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:08:57 +00:00
juanmanuelr 2a11c5ab1e 2014-07-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/events.php: Fixed custom fields view in
        metaconsole event extended view.

        This is my last commit for Pandora guys! Bye ;-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-22 17:41:39 +00:00
mdtrooper 7503a1f5be 2014-07-22 Miguel de Dios <miguel.dedios@artica.es>
* 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-22 16:07:31 +00:00
mdtrooper cb19580233 2014-07-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed to show the QR code image
	in the creation of a new agent.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-22 16:03:27 +00:00
mdtrooper b670c9c922 2014-07-21 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: fixed the SQL.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-21 12:24:16 +00:00
mdtrooper f078174609 2014-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php:
	fixed to show the unknown graph in simple graph.
	
	INCIDENT: #1035




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-18 09:45:20 +00:00
mdtrooper 509b8a8c1b 2014-07-17 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/ldap.php, include/auth/mysql.php: fixed the
	parameters with white spaces.
	
	INCIDENT: #1063




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-17 16:07:07 +00:00
mdtrooper b4c9a92ecc 2014-07-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_groups.php: added parameter to avoid the check
	the propagation in the function "groups_get_childrens".
	
	* include/functions_networkmap.php,
	operation/agentes/networkmap.php,
	operation/agentes/networkmap.topology.php: added feature to show the
	agents in subgroups (or not).
	
	INCIDENT: #1018




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-17 14:28:59 +00:00
vgilc a3cb1f7e26 2014-06-17 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Added macros
	'_alert_critical_instructions_' and
	'_alert_warning_instructions_'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-14 07:09:16 +00:00
vgilc ce8438645d 2014-07-14 Vanessa Gil <vanessa.gil@artica.es>
* godmode/admin_access_log.php
	  include/functions.php: Added export to csv.

	* godmode/audit_log_csv.php: Added file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-14 06:18:11 +00:00
hkosaka 292aa7f6f1 2014-07-11 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_manage.pl: To handle multi-byte strings in
	command line arguments (assumes utf-8).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-11 06:51:39 +00:00
mdtrooper 091ed258dd 2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the call "set_update_agent"
	because before the call get the id_server but this data never
	was translated to name_server. And added id_server into the call
	"get_pandora_servers" in the last position.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-10 09:32:14 +00:00
mdtrooper 700f0a8055 2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: restored the parameter name server in
	the api call "set_new_agent", thanks KOSAKA.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-10 09:10:30 +00:00