Commit Graph

1272 Commits

Author SHA1 Message Date
ramonn b85fa1344d 2009-01-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Fixed regexp alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-30 10:46:24 +00:00
aloriel 611b0be5a9 2009-01-30 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* include/help/en/help_alert-matches.php,
          include/help/en/help_serverlag.php,
          include/help/en/help_time_stamp-comparation.php,
          include/help/en/help_timesource.php: Modified help files.

        * include/help/es/help_alert-matches.php,
          include/help/es/help_serverlag.php,
          include/help/es/help_time_stamp-comparation.php,
          include/help/es/help_timesource.php: Added Spanish help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-30 08:29:31 +00:00
esanchezm 46f3fdde0f 2009-01-29 Esteban Sanchez <estebans@artica.es>
* include/auth/mysql.php: Style correction on switch statements.

	* include/functions_ui.php: Added a flag to
	print_alert_template_example() to allow values replacement.

	* include/functions_reporting.php: Fixed a notice message for
	unitialized values.

	* operation/events/events.php: get_users() result can not be passed
	directly to print_select().

	* pandoradb_migrate_20_to_21.sql: Style correction. Please, put each
	alter table in a row so it can be easier to read.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-29 09:06:38 +00:00
slerena 8817f78dbe 2009-01-28 Sancho Lerena <slerena@artica.es>
* estado_grupo.php: Async modules and keepalive module don't show as down
	anymore.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-28 18:21:17 +00:00
slerena f6b94ed8cd 2009-01-28 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Fixed a typo in call to pandora_writestate() who
	makes server exiting with "Can't call method 'prepare'". That affects only
	to keepalive modules. Thanks to Esben for reporting.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-28 18:13:25 +00:00
aloriel 6a045d36b5 2009-01-28 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions.php, operation/agentes/sla_view.php,            
          operation/agentes/ver_agente.php,                                 
          operation/reporting/reporting_xml.php,                            
          operation/reporting/reporting_viewer.php: Fixed typo.

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

        * include/languages/pt_BR.po, include/languages/es.po,              
          include/languages/pt_BR.mo, include/languages/es.mo: Updated
          translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-28 11:25:57 +00:00
esanchezm 70ce4b3ecd 2009-01-28 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_template.php: Removed a javascript
	debug message that avoids normal operation if firebug is not
	installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-28 08:15:00 +00:00
slerena 313844c94b 2009-01-26 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Fixed count of total alerts. Ignore
	delete pending modules.
	
	* operation/agentes/status_monitor.php: Added filter for pending delete 
	modules.
	
	* reporting/fgraph.php: Fixed typo in combined graphs that makes them
	unusable. Now renders fine.
	
	* pandora_console_upgrade: New script to upgrade console from latest code. 
	Also upgrade database (from 2.0 to 2.1/Trunk version).
	
	* godmode/agentes/alert_manager.php: Notice fix when no modules defined.

	* godmode/agentes/configurar_agente.php: Delete agent renames modulename to
	avoid that a pending delete module makes this module name unusable until
	efective deletion.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 16:51:14 +00:00
guruevi 45b05d670f 2009-01-26 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/styles/pandora.css: Fixed several small errors. Now it looks 
	more similar on other browsers.
	
	* operation/events/events.php: Fixed filter to use get_users ()
	
	* reporting/fgraph.php: Fixed several issues with user graphs

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 16:48:22 +00:00
slerena aa9fd78177 2009-01-26 Sancho Lerena <slerena@artica.es>
* DB.pm: Fixed NOT behaviour of alerts, now works as supposed to do.
	
	* pandora_db.pl: Deleted pending modules, fixed problems using bad DB
	function. 

	* Config.pm: Version update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 15:05:33 +00:00
esanchezm cb6d644fa7 2009-01-26 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_template.php: Decode HTML entities of
	value because it was giving unexpected results.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 14:14:28 +00:00
ramonn 4f9bbf23ce 2009-01-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a new alert macro (_address_).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 12:01:27 +00:00
marostegui aae583570a 2009-01-26 Manuel Arostegui <marostegui@artica.es>
* util/udp_client: Added to repository. Remote alert execution
        script. To be used in "Command" section of the new alert system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 11:50:11 +00:00
ramonn 1f2dfedead 2009-01-26 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.h,
          win32/modules/pandora_module_factory.cc,
          win32/modules/pandora_module.cc: Added support for async data types.

        * win32/modules/pandora_module_proc.cc: Removed unnecessary call
          to Pandora_Wmi::runProgram.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 11:48:35 +00:00
esanchezm c23a3d0d01 2009-01-26 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: print_alert_template_example() now
	replaces also the value.

	* godmode/alerts/configure_alert_template.php: Removed first render
	example using javascript.

	* godmode/alerts/alert_templates.php: Removed parameter replacement
	since it's now done in the function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 10:44:26 +00:00
raulmateos ae932eb7b7 2009-01-24 Raul Mateos <raulofpandora@gmail.com>
* install.php: Added code to show current console URL in step 3. 
	Updated header. Spaces changed to tabs.
	* include/functions_reporting.php: Give default value to several vars that
	caused two notice errors. Updated header.
	* include/functions_db.php: Solved notice error in search page that caused
	not to show the user. It uses get_users() function from mysql.php.
	ldap.php and dev.php define the same function, and uses different value, so	they could give an error in the search page, NOT TESTED. Updated header.
	* /extensions/update_manager/sql/update_manager.sql: Changed default text
	value for description column, it was giving a SQL error.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-24 20:11:07 +00:00
raulmateos 14b7204946 2009-01-24 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Config.pm: Changed some texts for last time. Sancho, please read diffs before commit.Use tabs instead spaces.
	* lib/PandoraFMS/Tools.pm: Header updated. Use tabs instead spaces.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-24 15:41:39 +00:00
esanchezm 02f13c1035 2009-01-23 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder.php: Fixed an error when getting
	layout data on AJAX and any module was selected for the node.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-23 11:48:28 +00:00
slerena dbae94c8e4 2009-01-22 Sancho Lerena <slerena@artica.es>
* images/*: Added more icons and backgrouns for visual console.
	
	* map_builder.php: Added support for warning image. Shows in preview. Fixed
	grabbing image info if no file provided.
	 
	* functions_visualmap.php, functions_db.php: Added support for warning status
	in the maps. Also fixed status propagation from linked maps on agent object.
	
	* include/auth/mysql.php: Fixed typo when update password.
	
	* pandoradb_migrate_20_to_21.php: Added some missing lines for tusuario 
	table (comments).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 19:34:11 +00:00
guruevi 42b56de60f 2009-01-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/auth/ldap.php: Finally fixed (hopefully) the last major bug
	
	* godmode/extensions.php: Fixed something that prevented links from 
	generating
	
	* extensions/update_manager/lib/libupdate_manager.php: Fixed proxy not
	being filled in and giving error messages. Now the thing works.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 18:56:31 +00:00
guruevi 3b3427c1f1 2009-01-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/auth/mysql.php, include/auth/ldap.php, 
	operation/users/user_edit.php, godmode/users/configure_user.php, 
	godmode/users/user_list.php: Fixed some minor problems and annoyances

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 18:20:29 +00:00
guruevi 6fa769e08c 2009-01-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Added user table updates
	You'll have to do the alter tables before upgrading to the latest version
	but it adds functionality and enforces unique usernames
	
	* general/header.php: Don't rely on session variables
	
	* include/auth/dev.php, include/functions_ui.php: Minimal changes to 
	comply with guidelines and new links
	
	* include/auth/mysql.php, include/auth/ldap.php: Added functions and 
	removed bugs.
	
	* include/functions_db.php: Added some functions for profile handling
	
	* include/functions_html.php: Text input is now readonly instead of 
	disabled. This allows copying data from the textbox.
	
	* include/styles/tip.css: Set min-width instead of fixed width for tip
	that way we can have bigger tips without overflowing
	
	* operation/reporting/reporting_xml.php: Added auth there as well
	
	* operation/users/user.php, operation/users/user_edit.php, 
	operation/users/user_statistics.php: New auth functions, better look
	
	* index.php: Process_user_contact sits in logon_db. Saves a query
	
	* godmode/users/configure_user.php, godmode/users/user_list.php: New
	auth functions, better look.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 17:44:33 +00:00
aloriel 2de0d0b915 2009-01-22 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* include/help/en/help_wmiquery.php,
	  include/help/en/help_map_builder.php,
	  include/help/en/help_postprocess.php,
	  include/help/en/help_date_format.php,
	  include/help/en/help_prediction_source_module.php,
	  include/help/en/help_planned_downtime.php,
	  include/help/en/help_recontask.php,
	  include/help/en/help_alerts.php,
	  include/help/en/help_tcp_send.php,
	  include/help/en/help_manage_alerts.php,
	  include/help/en/help_plugin_definition.php,
	  include/help/en/help_manageconfig.php,
	  include/help/es/help_map_builder.php,
	  include/help/es/help_network_component.php,
	  include/help/es/help_module_definition.php: Modified HTML tags,
	  fixed typos.

	* include/help/es/help_plugin_parameters.php,
	  include/help/es/help_alert_validation.php,
	  include/help/es/help_snmpcommunity.php,
	  include/help/es/help_wmiquery.php,
	  include/help/es/help_postprocess.php,
	  include/help/es/help_date_format.php,
	  include/help/es/help_prediction_source_module.php,
	  include/help/es/help_module_type.php,
	  include/help/es/help_planned_downtime.php,
	  include/help/es/help_recontask.php,
	  include/help/es/help_alerts.php,
	  include/help/es/help_snmpwalk.php,
	  include/help/es/help_tcp_send.php,
	  include/help/es/help_duplicateconfig.php,
	  include/help/es/help_wmifield.php,
	  include/help/es/help_manage_alerts.php,
	  include/help/es/help_wmikey.php,
	  include/help/es/help_plugin_definition.php,
	  include/help/es/help_alert_type.php,
	  include/help/es/help_snmpoid.php,
	  include/help/es/help_wminamespace.php,
	  include/help/es/help_manageconfig.php: Added Spanish help files.

	* 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@1389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 14:00:05 +00:00
guruevi 19177f2832 2009-01-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Removed auth init because I fixed stat_win.php
	
	* include/functions_html.php: Added border and onclick. Fixed double quote

	* reporting/fgraph.php: Fixed some minor bugs
	
	* reporting/stat_win.php: Added authentication there too

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 18:55:29 +00:00
ramonn 080dec0e33 2009-01-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Changes in multicast change reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 17:25:38 +00:00
esanchezm 19828340bb 2009-01-21 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Fixed a little bug that avoids
	showing the alert editor.
	
	* godmode/alerts/alert_templates.php: Added the example text for
	alert templates to the tooltip.

	* godmode/alerts/configure_alert_template.php: Function
	print_alert_template_example() moved to functions_ui.php. Little fix
	when max or min values are not numerics.

	* include/functions_ui.php: Added function
	print_alert_template_example().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 14:56:55 +00:00
guruevi 412fa2423d 2009-01-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* lib/PandoraFMS/DB.pm: Fixes incremental modules

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 14:53:18 +00:00
slerena b2a74583c3 2009-01-21 Sancho Lerena <slerena@artica.es>
* operation/agentes/status_monitor.php:  Added filter for modulegroup

        * operation/agentes/estado_ultimopaquete.php: Removed link to edit.

        * operation/agentes/estado_monitores.php: Fixed link to edit module

        * godmode/agentes/configurar_agente.php: Edit tabs more tiny.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 14:47:39 +00:00
esanchezm e1a6aaabb6 2009-01-21 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Added support to disable or
	enable an alert. Improved a bit the interface to make it cleaner
	because the modules are a bit separated now.

	* include/functions_alerts.php: Added support to disable or enable an
	alert via set_alerts_agent_module_disable(). Added a flag to choose
	wether to get disabled alerts on an agent or not.

	* ChangeLog: Style correction again. Please, be careful.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 13:07:45 +00:00
ramonn 5606159a17 2009-01-21 Ramon Novoa <rnovoa@artica.es>
* pandora_server/lib/PandoraFMS/Config.pm: Updated configuration
          options.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 12:05:40 +00:00
slerena 588de6e5b4 2009-01-21 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated DB Schema version/build.
	
      * operation/agentes/status_monitor.php
      operation/agentes/estado_agente.php: 
      operation/agentes/estado_ultimopaquete.php, 
      operation/agentes/estado_monitores.php: Manage correctly async modules
      including keepalive. Show servertype with moduletype icon. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 10:02:47 +00:00
esanchezm 91048ace89 2009-01-21 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Added id_agent field
	to tlayout_data. It's needed to give support to nodes in visual
	console that represents a whole agent which turns red if any module is
	down.

	* operation/visual_console/render_view.php: Removed refresh countdown
	and selection because it's now done in the page header.

	* include/functions_visual_map.php: Some fixes to support id_agent
	field in tlayout_data. Also fixed the SQL to check if any module on an
	agent is down.

	* godmode/reporting/map_builder.php: Update and insert id_agent when
	managing a node element.

	* include/styles/pandora.css: Added a style to input image elements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 09:29:02 +00:00
esanchezm a93de2c1e8 2009-01-21 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Added the hability to delete
	actions and alert (only when it has no actions).

	* include/functions_alerts.php: Added delete_alert_agent_module() and
	delete_alert_agent_module_action().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 09:06:03 +00:00
esanchezm d9e5382fdf 2009-01-21 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_template.php,
        include/functions_alerts.php: Added missing matches_value field on 
        creation and updating.

        * ChangeLog: Added missing path to files on previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 08:07:18 +00:00
slerena 61329c4bb0 2009-01-21 Sancho Leren <slerena@artica.es>
* pandora_server_upgrade: Script to upgrade to latest version
        Pandora FMS server components / code.

        * bin/panora_network: Banner on load are rendered.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 01:52:46 +00:00
slerena 907a8ea007 2009-01-21 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_20_to_21.sql: Fixes some problems.
	
	* setup.php: Removed AD setup tokens.
	
	* user_list.php: Link to user edition was wrong. Restored.
	
	* functions_db.php: Support for new auth modules was missing
	and fgraph fails to render graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 01:49:11 +00:00
ramonn dc984a3100 2009-01-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Take into account the alert option
          'matches_value'.

        * bin/pandora_server: Added support for forced alert execution.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 23:42:21 +00:00
ramonn c2555fde95 2009-01-21 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r1371.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 23:12:27 +00:00
ramonn d1188effde 2009-01-20 Ramon Novoa <rnovoa@artica.es>
* win32/ftp/pandora_ftp_client.cc,
          win32/ftp/pandora_ftp_client.h,
          win32/windows/pandora_wmi.cc,
          win32/pandora_windows_service.h,
          win32/pandora.h,
          win32/udp_server/udp_server.cc,
          win32/misc/pandora_file.cc,
          win32/misc/pandora_file.h,
          win32/ssh/pandora_ssh_client.cc,
          win32/ssh/pandora_ssh_client.h,
          win32/pandora_windows_service.cc: Removed some exceptions that made
          the agent crash when the watchdog thread was running.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 22:21:31 +00:00
esanchezm f61f11782f 2009-01-20 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_template.php: Fixed an error when
	setting max and min values on template creation.

	* godmode/menu.php: Default action on "Manage alerts" is showing the
	templates now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 20:36:30 +00:00
slerena ee81ca8bb5 2009-01-20 Sancho Lerena <slerena@artica.es>
* install.php: Added ldap module dep.

        * include/functions_reporting.php, operation/agentes/status_monitor.php
        operation/agentes/tactical.php, general/logon_ok.php: New filter options for
        warning/critical, removed old data stats and improved filters in module view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 20:01:25 +00:00
slerena 8e86c3eded 2009-01-20 Sancho Lerena <slerena@artica.es>
* Config.pm: Now works without breaking the server :-). Show verbose info
	only when verbosity enabled (>4).
	
	* pandora_server: more issues with verbosity level. Fixed a typo on 
	management of async_proc moduletypes. Freeing a hash reference on keepalive
	solves a memleak.

	* DB.pm: Converting to the same float when comparing two numbers.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 18:56:30 +00:00
esanchezm 9e6bf36416 2009-01-20 Esteban Sanchez <estebans@artica.es>
* include/functions_visual_map.php: Fixed a notice when the node looks
        for any monitor down in an agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 18:27:24 +00:00
guruevi 0f42b13670 2009-01-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* ajax.php, include/config.inc.php, include/config_process.php,
	include/functions.php, include/functions_db.php, 
	include/functions_ui.php, index.php, install.php, 
	operation/users/user.php, operation/users/user_edit.php,
	reporting/fgraph.php: Added pluggable authentication and moved functions

	* general/login_page.php, general/logon_ok.php, 
	godmode/agentes/modificar_agente.php, 
	godmode/users/configure_users.php, godmode/users/user_list.php, 
	operation/agentes/estado_agente.php, operation/incidents/incident.php, 
	operation/incidents/incident_search.php: Updated functions

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 18:21:20 +00:00
guruevi 93d789f748 2009-01-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* lib/PandoraFMS/Config.pm: Commented 2 lines that broke the server

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 18:07:18 +00:00
esanchezm 5664538516 2009-01-20 Esteban Sanchez <estebans@artica.es>
* ChangeLog: Fixed tabs. Removed some conflict markups and a bit of
	style here and there.

	* index.php, godmode/setup/setup.php, include/styles/menu.css,
	operation/agentes/estado_agente.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/estado_ultimopaquete.php,
	include/functions.php: Tab and spaces style correction.

	* godmode/reporting/map_builder.php: Use generic database functions
	for the insert. Now a node can represent a whole agent, changing to
	bad if any module has failed.

	* include/config_process.php: Use generic databse functions for
	inserts. Fixed an error when inserting loginhash_pwd token. Make the
	token a bit more complicated by multiplying two numbers.

	* include/functions_visual_map.php: Add support to agent nodes that
	will turn to bad icon when any module fails.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 16:43:49 +00:00
esanchezm bf3c748df2 2009-01-20 Esteban Sanchez <estebans@artica.es>
* include/javascript/jquery.js: Downgraded to 1.2. It was causing some
        errors in visual map edition.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 14:32:06 +00:00
slerena fa0bbc1753 2009-01-20 Sancho Lerena <slerena@artica.es>
* index.php: Added support for external authentication, based on a HASH.
    
    * pandoradb.sql: New tables for local templates.
    
    * pandoradb_migrate*: Updated script.
    
    * godmode/agentes/agent_manager.php: Fixed field for inventory server.
    
    * module_manager_editor.php: Fixed snmp community for WMI modules.
    
    * module_manager_editor_*.php: New fields in editor (War/Crit, FF).
    
    * config_process.php, 
    godmode/setup/setup.php: Added new option for hash auth.
    
    * functions.php: Added again (please don't delete it) function to remove
    quotes on automatic protection (magicquotes).
    
    * menu.css: Added icon to inventory server option in the menu.
    
    * estado_monitores.php: Fix module edit link, better data render on tooltip
    
    * estado_ultimopaquete.php: Fix module edit link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 10:37:04 +00:00
raulmateos cc77c5ee04 2009-01-20 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Config.pm: Changed some texts again.
	* Changelog: Changed last commit date.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 07:58:22 +00:00
slerena e962e98bdf 2009-01-16 Sancho Lerena <slerena@artica.es>
* pandora_wmi, pandora_plugin, pandora_recon: Updates merged from
	2.0 version. Different small fixes and improved performance.

	* DB.pm: Support for fixes in wmi/plugin server. Call of enterprise 
	function pandora_mcast_change_report() is done now on real status change
	code not in alert. Added update_on_error() function to update status table
	when remote modules cannot init (update last_try field to avoid unnecesary
	attempts).

	* Config.pm: Build update, some stuff cleaned. Server startup info is show
	only when verbose level is activated.
	
	* pandora_network: Startup messages are not shown if verbose < 5.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-19 19:36:37 +00:00