Commit Graph

1422 Commits

Author SHA1 Message Date
Ramon Novoa 8c36bfd6e8 2009-04-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Server.pm: Enabled thread status detection when
          available.

        * lib/PandoraFMS/Core.pm: Fixed module status calculation. Moved and
          rewrote the old pandora_ping* functions. Small aesthetic fixes.

        * lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/NetworkServer.pm: Use
          the new pandora_ping* functions. The old functions were not thread
          safe and had to lock.

        * bin/pandora_server: Properly shutdown on error.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 09:36:32 +00:00
marostegui 1d2992c4d9 2009-04-22 Manuel Arostegui <marostegui@artica.es>
* install.php: Fixed bug #2777317

	* godmode/agentes/planned_downtime.php: Fixed bug #2777475

	* godmode/reporting/map_builder.php: Fixed bug #2777347



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 09:12:18 +00:00
marostegui 203fcf3ed9 2009-04-22 Manuel Arostegui <marostegui@artica.es>
* operation/agentes/sla_view.php: Fixed bug #2777504



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 08:06:45 +00:00
guruevi b4f446fbad 2009-04-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_ui.php: Added get_url_refresh which gets the correct
	url to refresh a page against instead of manually reconstructing for each
	form. Modified process_page_head to use this new function
	
	* general/header.php: Use of new function get_url_refresh. Fixes some
	minor annoyances I had with this refresh when groups were selected with
	a post
	
	* ajax.php: Error message didn't display the right page name
	
	* operation/agentes/estado_agente.php: Fixed bug #2770377

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 19:03:16 +00:00
slerena 97cc0fc556 2009-04-21 Sancho Lerena <slerena@gmail.com>
* operation/servers/view_server.php: New stats for server (threads,
	modules in queue) and new render view (more useful and with tips in head).

	* functions_db.php: Server info server[img] don't return "master" icon.
	This icon is now stored in server[master_img].



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 17:33:26 +00:00
jorgonzalez bc824acde5 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* util/pandora_dbstress.README: fixed many typos and width, now fits
          80 columns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 14:32:05 +00:00
jorgonzalez 1cf26760fa 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/pt_BR.po, include/languages/it.mo,
          include/languages/sk.po, include/languages/pt.mo,
          include/languages/pt_BR.mo, include/languages/fr.po,
          include/languages/sk.mo, include/languages/fr.mo,
          include/languages/ru.po, include/languages/it.po,
          include/languages/pt.po, include/languages/ru.mo: Updated
          Brazilian Portuguese, Italian, Slovak, French, Russian and
          Portuguese translations thanks to Rosetta translators.

        * include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 14:04:31 +00:00
jorgonzalez da43d5b918 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated
          Spanish translation.

        * include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 13:38:25 +00:00
jorgonzalez 21f4050840 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated
          Spanish translation.

        * include/languages/index.pot: Updated po template.

        * godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_plugin.php: moved an  
          assigned translatable string down to avoid error at language
          compilation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 13:17:29 +00:00
Ramon Novoa 75773f72da 2009-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Re-enabled detection of duplicate data
          within a 48 hour interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 16:53:37 +00:00
slerena 7b1ef8c44f 2009-04-20 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Added --no-tentacle switch, added more
        descriptive labels.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 15:14:04 +00:00
Esteban Sanchez 06815860a5 2009-04-20 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/module_manager.php: Some fixes to allow form
	reutilization.
	
	* include/javascript/jquery.pandora.controls.js: Fixed a typo. Added 
	pandoraSelectGroup control.
	
	* include/javascript/jquery.pandora.js: Separate between auto executed code
	and document ready function.
	
	* include/javascript/pandora_modules.js: Added to repository. Functions to
	use on module editors.
	
	* include/functions_agents.php: Added get_agents().
	
	* include/functions_db.php: Added get_user_first_group(). Changed
	user_access_to_agent() parameters order.
	
	* include/functions_reporting.php: Style corrections.
	
	* include/functions_ui.php: Added doc to print_status_image(). Added 
	print_ui_agents_list() to print a list of agents with a search form and
	a lot of configuration options easily.
	
	* include/functions_ui_renders.php: Added to repository. New API for
	renders on UI components.
	
	* operation/agentes/estado_agente.php: Make table wider.
	
	* godmode/reporting/reporting_builder.php: Replaced exit with return. Use
	pandoraSelectGroup control.
	
	* godmode/servers/manage_recontask_form.php: Style corrections to fit
	Pandora styles.
	
	* godmode/servers/modificar_server.php: Removed a notice from a typo.
	
	* godmode/setup/setup.php: Fixed table data indexes. Removed javascript
	code from visual setup.
	
	* godmode/setup/setup_visuals.php: Some strings changed. Style correction.
	
	* godmode/menu.php: Added policies enterprise menu option.
	
	* images/policies.png: Added to repository.
	
	* godmode/agentes/modificar_agente.php: Style correction by using pandora
	functions.

	* godmode/agentes/massive_operations.php: Fixed tab styles that was showing
	wrong the .

	* godmode/agentes/manage_config_remote.php: Changes in
	user_access_to_agent()

	* general/ui/agents_list.php: Added to repository. Reusable render for an
	agent list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 14:00:27 +00:00
Ramon Novoa 137ecd9885 2009-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed another typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 12:08:47 +00:00
Ramon Novoa 4e4c63acf3 2009-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Temporarily disabled TCP scans, the
          Recon Server was too slow. Fixed a bug that reset recon tasks
          when scanning large networks.

        * lib/PandoraFMS/DataServer.pm: Small fix.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 09:44:24 +00:00
jorgonzalez b3274ec1af 2009-04-20 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated PO template.

        * operation/messages/message.php: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 07:50:35 +00:00
slerena c566281320 2009-04-18 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Altered order of agent icon
        status (unknown shown after waerning and critical, not before)

        * operation/agentes/estado_generalagente.php: Agent group is
        not shown twice.

        * operation/agentes/estado_agente.php: module status count shown
        only when > 0.

        * operation/agentes/estado_monitores.php: Dont show module type.

        * godmode/agentes/module_manager.php: Show icon of non-init module
        in godmode view, to easily identify non-init modules.

        * godmode/servers/manage_recontask_form.php: Fixed server assigment
        on recon task.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-18 14:35:53 +00:00
slerena 97cc55c26f 2009-04-19 Sancho Lerena <slerena@artica.es>
* bin/tentacle_server: Added to repo.

        * pandora_server_installer: Added tentacle install to setup process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-18 12:37:18 +00:00
Ramon Novoa a90f94c9a5 2009-04-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Properly set
          module interval when auto-creating modules.

        * lib/PandoraFMS/NetworkServer.pm: Disabled error messages from
          snmpget. The logs where flooded with timeout messages.

        * util/pandora_db.pl: Updated to work with the new code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-17 11:52:28 +00:00
jorgonzalez 554479a377 2009-04-017 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated PO template.                              



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-17 11:11:45 +00:00
Ramon Novoa 1241158a9b 2009-04-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/PredictionServer.pm,
          lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/NetworkServer.pm,
          lib/PandoraFMS/WMIServer.pm: Fixed some references to database
          columns.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-17 08:33:47 +00:00
Ramon Novoa 3fb901a06b 2009-04-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ProducerConsumerServer.pm: Important fix. Queued
          elements were processed in the wrong order.

        * lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
          lib/PandoraFMS/DataServer.pm: Updated pandora_create_agent to
          reflect the latest changes. Some fixes to Recon Server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-16 18:19:39 +00:00
Ramon Novoa a56d982475 2009-04-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed a typo that made the server go
          down.

        * bin/pandora_server: Prevent alarm from bombing the main thread when
          called within a thread.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-16 09:18:18 +00:00
Ramon Novoa 0207651a64 2009-04-14 Ramon Novoa <rnovoa@artica.es>
* pandora_ctl, pandora_network, pandora_wmi, pandora_plugin,
          pandora_prediction, bin/pandora_wmi, bin/pandora_plugin,
          bin/pandora_prediction, bin/pandora_snmpconsole, bin/pandora_recon,
          bin/pandora_network, pandora_recon, pandora_snmpconsole: Deleted
          from repository. Old server code and startup scripts.

        * Makefile.PL, pandora_server_installer, lib/PandoraFMS/Config.pm
          lib/PandoraFMS/DB.pm, lib/PandoraFMS/Tools.pm, bin/pandora_server,
          pandora_package_installer, pandora_server: Updated to work with the
          new code, removed unneeded dependencies, fixed some bugs etc.

        * lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/PluginServer.pm,
          lib/PandoraFMS/ProducerConsumerServer.pm, lib/PandoraFMS/Server.pm,
          lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/DataServer.pm,
          lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Added
          to repository. New server code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-14 19:13:16 +00:00
Esteban Sanchez 35159c7a74 2009-04-14 Esteban Sanchez <estebans@artica.es>
* operation/servers/view_server.php: Removed notice message when no
	servers were found.
	
	* reporting/fgraph.php: Use get_db_value_filter().
	
	* include/styles/pandora.css: Updated copyright date.
	
	* include/styles/menu.css: Added policies enterprise style.
	
	* reporting/pChart/pChart.class: Fixed a infinite loop that happened
	sometimes on drawScale().
	
	* include/config_process.php: Updated build version.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-14 12:59:55 +00:00
guruevi 36466099fe 2009-04-13 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/htmlawed.php: HTML cleaner-upper. If compact_header is set will
	actually strip the HTML for less bandwidth usage.
	
	* include/functions_ui.php: If compact_header is set, it will strip 
	whitespace out of the included files
	
	* include/functions_config.php, godmode/setup/setup_visuals.php,
	godmode/setup/setup.php: Made checkboxes into radioboxes. Split
	files were resetting the values every time.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 16:13:55 +00:00
Ramon Novoa 63efa31699 2009-04-13 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/networkmap.php: Added support for group filtering
          and node navigation (clicking on the edges).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 15:11:55 +00:00
Esteban Sanchez 80108d54e6 2009-04-13 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Fixed an error when an agent was
	created without name. Added support for new server assignment via server
	name instead of lot of comboboxes. Added os preview.
	
	* godmode/agentes/configurar_agente.php: Added support for new server
	assignment via server name. Do not show tabs on creation mode. Some 
	translatable strings replaced with common ones.
	
	* godmode/agentes/modificar_agente.php: Use Pandora agents.
	
	* godmode/modules/manage_nc_groups.php,
	godmode/setup/news.php,
	godmode/modules/manage_network_components.php,
	godmode/reporting/map_builder.php,
	godmode/agentes/planned_downtime.php: Some translatable strings replaced
	with common ones.
	
	* godmode/servers/modificar_server.php: Updated to changes in tserver. Use
	get_server_info() for that.
	
	* include/functions_db.php: Updated to changes in tserver about
	server_type field on get_server_info(). Style correction.
	
	* include/functions_servers.php: Added to repository. Servers API.
	
	* operation/servers/view_server.php: Style correction.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql, pandoradb.sql: Less space on
	server_name field on tagente.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 15:05:21 +00:00
slerena 00b5eb5a13 2009-04-13 Sancho Lerena
* images/console/icons/server_warning.png: Added missing icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 13:48:18 +00:00
jorgonzalez fce2391f9e 2009-04-13 <jorgegonz@artica.es>
* images/console/icons/smalldot.png: Modified icon for the maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 13:01:59 +00:00
jorgonzalez 4b87bdf26f 2009-04-13 Jorge Gonzalez <jorgegonz@artica.es>
* images/console/background/white_boxed.jpg,
          images/console/background/white_boxed2.jpg: Added/modified one
          background for the maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 12:56:37 +00:00
jorgonzalez 30c444b582 2009-04-13 Jorge Gonzalez <jorgegonz@artica.es>
* images/console/icons/gateway.png,  
        images/console/icons/routerap.png,   
        images/console/icons/pbx_warning.png,
        images/console/icons/pbx_ok.png, images/console/icons/hub_bad.png,
        images/console/icons/bridge_ok.png,
        images/console/icons/gateway_warning.png, 
        images/console/icons/routerap_warning.png,
        images/console/icons/nat_bad.png,    
        images/console/icons/gateway_ok.png, 
        images/console/icons/routerap_ok.png,
        images/console/icons/bridge_bad.png,
        images/console/icons/pbx_bad.png,
        images/console/icons/gateway_bad.png,
        images/console/icons/hub_ok.png,
        images/console/icons/routerap_bad.png,
        images/console/icons/nat_ok.png, images/console/icons/hub.png,
        images/console/icons/nat.png, images/console/icons/bridge.png,
        images/console/icons/hub_warning.png,   
        images/console/icons/nat_warning.png,   
        images/console/icons/bridge_warning.png,
        images/console/icons/pbx.png: Added several images for the maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 12:50:54 +00:00
Esteban Sanchez 4a24502829 2009-04-13 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_odbc.cc: Fixed log message when no username
        was found.

        * modules/pandora_module_factory.cc: Removed duplicated assignment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 10:49:08 +00:00
Esteban Sanchez 6e649b2121 2009-04-13 Esteban Sanchez <estebans@artica.es>
* godmode/setup/file_manager.php: Fixed javascript code on directory
        select.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 10:21:58 +00:00
Esteban Sanchez 62b2912d29 2009-04-13 Esteban Sanchez <estebans@artica.es>
* general/footer.php: Removed Firefox icon. Style correction.

	* godmode/agentes/agent_manager.php: Replaced &gt; with &raquo;. Style
	correction when setting bold attributes.

	* godmode/agentes/manage_config_remote.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/module_manager.php,
	godmode/alerts/alert_list.php, godmode/db/db_audit.php,
	godmode/db/db_event.php, godmode/db/db_info.php, godmode/db/db_main.php,
	godmode/db/db_purge.php, godmode/db/db_refine.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_network_templates.php, 
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/module_list.php, godmode/profiles/profile_list.php,
	godmode/reporting/graph_builder.php, godmode/reporting/map_builder.php,
	godmode/reporting/reporting_builder.php, godmode/servers/manage_export.php,
	godmode/servers/manage_export_form.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php,
	godmode/servers/modificar_server.php, godmode/setup/setup_visuals.php,
	godmode/setup/links.php, godmode/setup/news.php,
	godmode/snmpconsole/snmp_alert.php, godmode/users/configure_user.php,
	godmode/users/user_list.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/estado_grupo.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/exportdata.php, operation/agentes/networkmap.php,
	operation/agentes/status_monitor.php, operation/agentes/tactical.php,
	operation/events/events.php, operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php,
	operation/messages/message.php, operation/reporting/custom_reporting.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/reporting_viewer.php, operation/servers/view_server.php,
	operation/users/user.php, operation/users/user_edit.php, 
	operation/users/user_statistics.php, operation/visual_console/index.php,
	godmode/agentes/agent_template.php: Replaced &gt; with &raquo;

	* operation/agentes/datos_agente.php: Return instead of exit

	* include/javascript/jquery.pandora.controls.js: Added pandoraSelectOS
	control to preview the OS icon on a select.

	* include/functions_reports.php: Fixed a bug on delete_report() that
	returns error when the report has no content.

	* include/functions_ui.php: Removed border attribute on print_os_icon().
	Some fixes to meta refresh element on process_page_head(). Fixed 
	format_filesize() when length is zero.
	
	* godmode/menu.php: Replaced link to file manager. Added enterprise hook.

	* godmode/setup/file_manager.php: Renamed from obfuscated name filemgr.php

	* include/styles/pandora.css: Textarea width reduced to 99%

	* godmode/setup/setup.php: Added get_os_icon AJAX operation.
	
	* images/mimetypes/, images/mimetypes/zip.png, images/mimetypes/image.png,
	images/mimetypes/unknown.png, images/mimetypes/directory.png: Added to
	repository. Mime type icons.

	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed date comments.
	
	* include/functions_filemanager.php: Added to repository. Minimal API for
	file manager system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 09:50:56 +00:00
guruevi d1bf374dac 2009-04-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: get_group_agents fixed search
	
	* operation/agentes/estado_agente.php: Small style changes and bugfixes

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-10 14:03:24 +00:00
guruevi 2b083b7904 2009-04-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_reporting.php: Added get_agent_module_info which gives
	valuable information that can be re-used and expanded
	
	* include/functions_events.php, include/functions_ui.php: The chunk_split 
	only works with set width removed for wide css. General cleanup
	
	* include/functions_db.php: get_group_agents allows search now
	
	* include/styles/pandora_width.css, include/styles/pandora.css, 
	include/styles/menu.css: The menu for the agent editor is now even with the
	operation menu and also takes up the whole width
	
	* operation/agentes/tactical.php: Changed for width. Now takes up the wide
	
	* operation/agentes/estado_agente.php: Rewritten. Now outputs variable
	width table and is cleaner

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-09 21:06:17 +00:00
jorgonzalez dda11c6f1c 2009-04-08 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* images/console/icons/dotmin_ok.png,          
          images/console/icons/appliance_ok.png,
          images/console/icons/ap_ok.png,
          images/console/icons/dotmin.png,
          images/console/icons/appliance.png, 
          images/console/icons/dotmin_bad.png,
          images/console/icons/ap.png,
          images/console/icons/switch.png,
          images/console/icons/appliance_bad.png,
          images/console/icons/ap_bad.png,
          images/console/icons/switch_bad.png,
          images/console/icons/switch_ok.png: Added icons for the visual
          console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-08 13:22:29 +00:00
Esteban Sanchez 867537b321 2009-04-07 Esteban Sanchez <estebans@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed full screen links. Fixes
        #2728007



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-07 07:20:56 +00:00
guruevi e88f0cf0a4 2009-04-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Simplified agent access to reduce looping
	
	* reporting/pChart/pChart.class: Found problem where the graph was
	looping with certain data when the Scale1 was exactly 1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-06 15:51:31 +00:00
guruevi e615a6be89 2009-04-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Simplified agent access to reduce looping
	
	* reporting/pChart/pChart.class: Found problem where the graph was
	looping with certain data when the Scale1 was exactly 1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-06 15:33:08 +00:00
slerena 2e566a1738 2009-04-06 Sancho Lerena <slerena@artica.es>
* godmode/setup/setup.php
	* godmode/setup/setup_visuals.php
	* include/config_process.php,
	* include/functions_config.php: Added new parameter for status icons. 
	Old config (fontpath and attachment dir are now manageable in setup).

	* include/functions_ui.php,
	godmode/servers/modificar_server.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php
	operation/agentes/bulbs.php
	operation/agentes/estado_monitores.php
	operation/agentes/tactical.php
	operation/servers/view_server.php: Added support for custom status
	images.

	* images/status_sets: Added three new status images pack: Default color
	icons, faces and color with text.
	
	* reporting/fgraph.php: Temporal FIX for problem in access graphs that
	takes 100% Apache CPU !!!. Need final fix for this.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-06 11:02:05 +00:00
slerena 779b4a36f2 2009-04-03 Sancho Lerena <slerena@artica.es>
*  include/functions_alerts.php: Fixed another notice.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-03 12:13:07 +00:00
slerena caa687fd2c 2009-04-03 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php,
	* include/functions_db.php: Fixed a notice who breaks the PDF report.
	Added homeurl preffix to some includes that breaks PDF reporting.

	* pandora_console_upgrade: Fixedd issue with old-style config.php.

	* godmode/alerts/alert_list.php: Fixed bad combo values (ID insted names).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-03 10:44:26 +00:00
slerena 74ea22afb0 2009-04-02 Sancho Lerena <slerena@artica.es>
*  pandora_agent_installer: Some corrections for new tentacle install.
	
	* pandora_agent_daemon: Some corrections for startup script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:22:05 +00:00
slerena 36426d4c9e 2009-04-02 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Final DB changes proposed for closing this month the DB
	scheme. tagente-> new server_name field to assign server (old fields will
	be removed).  talert_templates has two new types (warning, critical).
	tevento has "user_comment" new field. Tserver has three new fields, 
	server_type (so some old fields will be deleted), threads and queued_modules
	this last two are for statistical options. Tusuario add language type to
	override global language.
	
	* update_manager/main.php: Minor changes for correct ACL usage. Non PM
	users could see in what revision it the system, but only that.
	
	* pandoradb_migrate_v2.x_to_v3.0.sql: Updated script for new DB changes.
	
	* general/noaccess.php: Added footer and ending div. Page was very ugly
	when showing noaccess errors, nobody see it ???.
	
	* godmode/menu.php: A LOT of ACL fixes on several options.
	
	* godmode/agentes/agent_manager.php: Fixed a crazy floating icon.
	
	* godmode/agentes/manage_config_remote.php: A LOT of changes, rewriting
	stuff, because was not working. This also adds a lot of ACL checks. 
	
	* godmode/agentes/massive_config.php, massive*: ACL changes.
	
	* godmode/agentes/modificar_agente.php: Fixed ACL problems.
	
	* godmode/agentes/module_manager_editor.php: Fixed bad module categories for
	some types (data, plugin and prediction).
	
	* godmode/alerts/alert_list.php: Fixed ACL problem.
	
	* godmode/reporting/graph_builder.php: Added ACl restriction for 
	non-viewable agents for current user. Seems to be a problem with data
	with more than 2 sources.
	
	* godmode/reporting/map_builder.php: ACL checks improved.
	
	* godmode/reporting/reporting_builder.php: ACL checks added (was missing), 
	some code ported from 2.1, other is new. New fields shown in list.
	
	* include/functions.php: Fixed the annoying bug of "bad counters" in
	function human_time_description_raw(). Function used,format_numeric() should
	not be used never to calculate nothing, only to print formatted strings.
	
	* include/functions_db.php: Added function user_access_to_agent() to know
	if a given user has access to a given agent.
	
	* include/functioins_report.php: get_report() should let admin to watch any
	report. Fixed.
	
	* agentes/alerts_status.php: Fixed ACL problem for view alert.
	
	* operation/incidents/incident.php: Bad call for pagination() was giving
	problems to pagination call. Somebody changes pagination() interface and 
	make this broken. Please if you change any interface, be sure that is compatible
	with old code or make a post in the list about this !
		
	* godmode/users/user_edit.php: Additional ACL check to do not let anybody
	to watch non accesible users. Even for see the username or description.
	
	* reporting/pchart_graph.php:Progress bar shown text in white when > 60%.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:16:59 +00:00
slerena cfa4de0782 2009-04-02 Sancho Lerena <slerena@artica.es>
* DB.pm: Function to process SNMP Alerts was not properly exported, so
	SNMP alerts in some environments don't run. Fixed (this is ok in 2.1).
	
	* util/udp_client.pl: Client to connect with pandora windows agent mini
	server and using with alerts to manage remote process / services in Windows
	
	* util/mcast_client.pl: Tool to check the UDP multicast notification 
	service of Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 18:58:25 +00:00
Ramon Novoa 4f89b62d41 2009-04-02 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_proc.cc,
          modules/pandora_module_proc.h: Fixed module_startdelay and
          module_retrydelay behavior.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 17:38:14 +00:00
Esteban Sanchez f169f13d81 2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_config.php: Fixed a bug when the theme was not
	given on update_config().

	* godmode/setup/setup.php: Removed unneccesary include of
	functions_themes.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 14:31:10 +00:00
Esteban Sanchez 83ca33a290 2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Added alert API on
        get_agent_alerts_reporting_table() to solve a notice error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 13:20:31 +00:00
Esteban Sanchez 610fe5042b 2009-04-02 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed id on tconfig
	inserts.

	* godmode/agentes/configurar_agente.php: Min and max module values
	were not being updated.

	* godmode/alerts/configure_alert_template.php: Removed duplicated
	example. Added support for next warning and critical template types.

	* include/functions_ui.php, include/functions_alerts.php: Added new
	alert template types.

	* include/functions_db.php: temp_sql_delete() moved out of
	delete_agent() because there were errors if it was calling more than
	once.

	* include/functions_reports.php: Fixed doc for get_reports().

	* include/config_process.php: Updated build number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 12:53:27 +00:00