Commit Graph

757 Commits

Author SHA1 Message Date
Ramon Novoa cc5b00dce0 2008-06-19 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r888.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 15:57:32 +00:00
Ramon Novoa 1c1c0200a5 2008-06-19 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc, win32/windows/pandora_wmi.h,
          win32/modules/pandora_module.h, 
          win32/modules/pandora_module_logevent.cc,
          win32/modules/pandora_data.cc, win32/modules/pandora_data.h,
          win32/modules/pandora_module.cc: Data timestamps are taken from
          the log file itself.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 15:55:44 +00:00
slerena 4bdcc0f321 2008-06-19 Sancho Lerena <slerena@gmail.com>
* pandora_plugin: Added startup script.

	* Makefile.PL: Added new perl dependencies.

	* pandora_server_installer: Some fixes and updates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:53:10 +00:00
slerena f4757999f4 2008-06-19 Sancho Lerena <slerena@gmail.com>
* Fixed bad conflict resolution commit in functions_db.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:38:18 +00:00
slerena 3b78e0799c 2008-06-19 Sancho Lerena <slerena@gmail.com>
* pandora_recon: Added sleep to main loop to save CPU.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:35:54 +00:00
slerena af5113e0dd 2008-06-19 Sancho Lerena <slerena@gmail.com>
* include/functions_reporting.php
	include/config.php
	include/functions.php
	include/functions_db.php
	operation/agentes/estado_grupo.php
	operation/agentes/estado_agente.php
	operation/agentes/estado_monitores.php
	operation/agentes/tactical.php
	operation/agentes/networkmap.php
	godmode/agentes/module_manager.php
	godmode/agentes/agent_manager.php: Several fixes for module disabled issue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:34:04 +00:00
Esteban Sanchez 088ba4200b 2008-06-18 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Fixed an error on
        get_db_all_rows_sqlfree().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 13:58:23 +00:00
Esteban Sanchez 897f5f3ece 2008-06-18 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added documentation to all the functions
        using javadoc style. Deleted unused and useless functions. Style
        correction. User pandora database functions in functions that getss
        simples values. Replace lang_label with lang_string().

        * include/functions_reporting_pdf.php,
        operation/reporting/reporting_viewer_pdf.php,
        operation/visual_console/render_view.php,
        include/functions_reporting.php: Replaced deprecated functions with 
        equivalents.

        * godmode/agentes/agent_manager.php: Fixed a bug with parent dropdown
        select.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 13:50:52 +00:00
Esteban Sanchez f42b3c6003 2008-06-18 Esteban Sanchez <estebans@artica.es>
* functions.php: Added documentation to all the functions in JavaDoc
        format, which is an facto-standard. Deleted unused functions. Improved
        the code of some functions. Tab and blankspaces style correction.
        Replaced old lang_label with lang_string(). Some functions to print
        selects were replaced with a functio to get an array with all the
        possible values so the caller will use print_select() with them.

        * godmode/agentes/agent_manager.php: Use print_select() instead of
        deleted function.

        * godmode/agentes/alert_manager_editor.php: Use print_select() instead
        of deleted function. Use print_checkbox(). Style correction

        * godmode/reporting/map_builder.php, operation/agentes/ver_agente.php,
        operation/messages/message.php,
        operation/reporting/reporting_viewer_pdf.php:
        Replaced deleted functions with their equivalents.

        * include/functions_db.php: Documented some functions, some work is
        still required. Added get_reports() to get all the reports a user can
        see. Deleted unused functions. Replaced deleted functions with their
        equivalents. Added get_db_row_sql(), get_previous_data(). Fixed errors
        when calculating average, max, min and sum values of an agent module.

        * include/functions_reporting.php: Fixed errors when calculating SLA.

        * operation/events/events.php: Tab and blankspaces correction.
        Replaced form_priority with print_select(). Style correction.

        * operation/reporting/custom_reporting.php: Show all the reports a
        user can see. Use Pandora functions.

        * operation/reporting/reporting_viewer.php: Show unknown label if SLA
        can not be calculated.

        * operation/snmpconsole/snmp_alert.php: Avoid an extra indentation
        level by using check_login() properly. Tab and blankspaces correction.

        * index.php, operation/users/user_edit.php: Adopted to renamed
        function.

        * godmode/db/db_sanity.php, reporting/fgraph.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 09:01:12 +00:00
slerena b6e45a9d99 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandoradbdata_13_to_20.sql: prototype. not functional.

    * operation/events/export_csv.php: Event export to CSV. Support
    passed filters.

    * images/networkmap/*.png: Updated icons for network map.

    * godmode/menu.php,
    * godmode/db/db_sanity.php: New sanity tool for database in interactive
    mode using console (ported from pandora_db.pl).

    * reporting/fgraph.php: Added graphs for string data types. Fixed
    event by agent/module graph for system events.

    * general/logon_ok.php, tactica.php: Fixed a div0.

    * godmode/agentes/manage_config.php: Several fixes, and added a new
    option to mass-deletion of agents.

    * godmode/agentes/agent_manager.php,
    godmode/agentes/modificar_agente.php: Delete of remote configuration
	when delete an agent and manually, by user. 

    * operation/servers/view_server_detail.php: Added refresh option and 
    fixed layout.

    * status_monitor.php: Added new filter by state, most code rewritten.
    Added pagination fixes, and corrected labels and legends.

    * operation/agentes/networkmap.php: Several fixes and modification to 
    render small maps and huge (>200 agents) maps. This should be fine by
    now. Need "Group/Section" drawing /by click into section line/.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:24:05 +00:00
slerena a980bb32cf 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandora_dbstress.pl: Added suppor for "text" moduletypes.
    
    * pandora_recon: Now is multithreaded. Better management of already
    registered IP's. Better status update. Some fixes (xprobe2 crash).

    * Config.pm: Added support for recon_threads token.

    * Tools.pm: added pandora_trash_ascii(), autocreate
    set agent in learning mode automatically.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:14:17 +00:00
Ramon Novoa b30e175038 2008-06-18 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Fixed execution interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-18 14:26:43 +00:00
Esteban Sanchez bc41c199ab 2008-06-18 Esteban Sanchez <estebans@artica.es>
* include/styles/datepicker.css, include/styles/timeentry.css: Added
        to repository, date and time style sheets.

        * images/time-entry.png, images/down.png, images/up.png: Added to
        repository. Images of up and down arrows and time selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-18 11:21:02 +00:00
Ramon Novoa cba2e4d3a0 2008-06-18 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data
          when no data is available.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-18 11:15:07 +00:00
Ramon Novoa b07bfee644 2008-06-18 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/networkmap.php: Small fixes.
	* images/networkmap/pandora_node.png: Changed icon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-18 09:59:18 +00:00
slerena 6de72c6dac 2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.

	* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
	and pandora_event() (this has been moved from DB.pm).

	* pandora_server.conf: Added options for xprobe2, autocreate and
	autocreate_group.

	* pandora_network: Added support for TCP scanning (not implemented in
	console yet), parent detection using traceroute, OS fingerprinting with
	xprobe2, event creation using central functions, and some optimizations.

	* pandora_server: Added support for agent autocreation, OS detection from
	the XML header, and event notification "new_agent" type.

	* pandora_recon: First code to implement traceroute functionality
	using Pureperl module.  Added code for remote OS fingerprinting.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 17:26:03 +00:00
Ramon Novoa 5b37957a21 2008-06-17 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/networkmap.php: Agent IDs are used to define
          nodes in the graph.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 16:29:21 +00:00
Esteban Sanchez cfd8d08561 2008-06-17 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Drop foreign key of inexistent column.

        * godmode/reporting/reporting_builder.php: Fixed order when deleting a 
        report content. Deleted id_agent reference from treport (local
        inconsistence is the reason why I couldn't see it before), also
        id_user insertion was failing. Added a link to view group on report
        form. Added module column on report content list. Use id_user from
        config object.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 16:03:33 +00:00
Ramon Novoa 98b19ae7f6 2008-06-17 Ramon Novoa <rnovoa@artica.es>
* pandora_console/operation/agentes/networkmap.php: Added to
          repository. Network Map.
        * pandora_console/operation/menu.php: Added an entry for Network Map.
        * pandora_console/images/networkmap
          pandora_console/images/networkmap/0.png
          pandora_console/images/networkmap/router.png
          pandora_console/images/networkmap/10.png
          pandora_console/images/networkmap/1.png
          pandora_console/images/networkmap/2.png
          pandora_console/images/networkmap/11.png
          pandora_console/images/networkmap/printer.png
          pandora_console/images/networkmap/firewall.png
          pandora_console/images/networkmap/server.png
          pandora_console/images/networkmap/9.png
          pandora_console/images/networkmap/pandora_node.png
          pandora_console/images/networkmap/server_hpux.png: Added to
          repository. Network Map icons.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 15:47:13 +00:00
Esteban Sanchez e3dd5b56b9 2008-06-17 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Changing the group of a
        report is not allowed. It will imply removing all the report contents
        that belongs to an agent of the group. Fixed an error on javascript
        changing the group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 14:43:15 +00:00
Esteban Sanchez 00b5a1eaec 2008-06-17 Esteban Sanchez <estebans@artica.es>
* ajax.php: Added to repository. AJAX interface for Pandora. A new
	time is coming...

	* pandoradb.sql: Added id_group to treport. A report is now assigned
	to a group of agents. Changes in treport_content to add an order
	field, drop sla fields and use an enum for the type. NOTE: This will
	break all your current defined reports, update under your
	responsabillity. Added table treport_content_sla_combined to define
	SLAs in the SLA types reports.

	* godmode/reporting/graph_builder.php: Use Pandora functions. Adde
	javascript code to display the module icon when changing from the
	dropdown menu.

	* godmode/reporting/reporting_builder.php: Almost complet rewritten to
	use Pandora HTML functions. Style correction.

	* include/functions.php: Added new report types. Style correction.

	* include/functions_db.php: Use Pandora database functions to get
	simple values. Added functions get_agents_in_group(),
	get_modules_in_agent(), get_simple_alerts_in_agent(),
	get_combined_alerts_in_agent(), get_alerts_in_agent(),
	get_monitor_downs_in_period(),
	get_monitor_last_down_timestamp_in_period(),
	get_alert_fires_in_period(),
	get_alert_last_fire_timestamp_in_period(). Deleted debug output and
	fixed calling to an inexistent function in
	return_moduledata_sum_value().

	* include/functions_html.php: Tab style correction. Thanks to Ramon
	for the advice. Fixed some errors on print_table that was causing not
	to work fine if rowclass or colspan was defined.

	* include/functions_reporting.php: Adde date support to
	return_module_SLA(), event_reporting(). Added alert_reporting(),
	monitor_health_reporting(), general_group_reporting() and
	agents_detailed_reporting() to implement new report types. Style
	correction.

	* include/javascript/pandora.js: Added html_entity_decode() function
	to decode some AJAX results.

	* javascript/jquery.js: Added to repository. jQuery version 1.2.4a

	* include/javascript/jquery.timeentry.js: jQuery plugin to manage time
	inputs.

	* include/javascript/jquery.ui.datepicker.js: jQuery plugin to manage
	date inputs in a dropdown calendar.

	* include/languages/date_*.js, include/languages/time_*.js: Added to
	repository. Translation of date and time strings for the new calendar
	javascript support.

	* include/languages/language_en.php: Added new strings relatives to
	reports.

	* include/languages/language_de.php,
	include/languages/language_fr.php, include/languages/language_gl.php,
	include/languages/language_pt_br.php: Fixed a variable name.

	* godmode/groups/group_list.php: Avoid the use of an extra indentation
	by returning if no success on comprueba_login().

	* include/styles/pandora.css: Add some classes. Tab style correction.

	* operation/agentes/ver_agente.php: Added AJAX support to agent
	operations.

	* operation/reporting/graph_viewer.php: Period dropdown selection
	improved and printed with Pandora functions.

	* operation/reporting/reporting_viewer.php: Massive rewritten.
	Implemented date and time support, added new report types, use Pandora
	functions...

	* reporting/fgraph.php: Documentation fix. Added a new graphic to show
	monitors health.

	* godmode/agentes/agent_manager.php,
	operation/reporting/custom_reporting.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 14:30:44 +00:00
slerena f41b26f14c 2008-06-17 Sancho Lerena <slerena@artica.es>
* pandora_recon: First code to implement traceroute functionality
        using Pureperl module.  Added code for remote OS fingerprinting.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 11:10:29 +00:00
slerena 66d4c24a87 2008-06-17 Sancho Lerena <slerena@artica.es>
* pandora_recon: First code to implement traceroute functionality
        using Pureperl modul



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 07:10:22 +00:00
slerena d135f1334f 2008-06-16 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Updated some new config tokens (graph colors), 
	updated group default names and icons, 

	* manage_config_remote.php, godmode/menu.php: Added new config to 
	manage/copy remote config from one agent to other(s).

	* agent_manager.php: When create a new agent, cannot select group "ALL".

	* agent_template.php: Fixed a weird bug that creates two tagente_estado
	records when using a module template.

	* alert_manager_editor.php: Fixed ACL problem assigning combined alert
	components. Better management of NOP in combined alerts (Automated NOP 
	when create the first component. Added NAND, NXOR y NOR).

	* manage_config.php: Solved some bugs copying configuration with new
	modules (Added support for new module types). Added filter for group and
	fixed ACL problems. Code cleanup and better layout.

	* module_manager_editor_prediction.php: ACL checks added.

	* config_process.php, setup.php: Support to choose color graphs.

	* functions.php: Fixed typo and removed N/A for alerts with min/max = 0
	
	* functions_db.php: Fixed another typo in give_disabled_group(), and added
	feature to list_group() combo to render or now group "ALL".

	* estado_generalagente.php: Added network push button for whole agent.

	* tactical.php: Some minor layout improvement.

	* ver_agente.php: Network FLAG change request for whole group, and fixed
	manual validation on combined alerts.

	* events.php: Event description don't show with " ' "characters. Fixed.

	* fgraph.php: graph_event_module() restored (was missing in last commit),
	added user-defined color support.

	* stat_win.php: Added support to choose another date for graph. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 18:09:56 +00:00
Esteban Sanchez d3a1f45c1b 2008-06-15 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Fixed a regresion bug with progress bar mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 13:53:56 +00:00
Esteban Sanchez abfb3e73be 2008-06-15 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Fixed bug with graphic_combined_module() that 
        was causing not to work right.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 13:49:14 +00:00
Esteban Sanchez 5d800de367 2008-06-15 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Added to repository. Implements HTML
        functions.

        * reporting/fgraph.php: Many style correction fixes, including those
        regardings tabs and blank spaces, variable names and indentation 
        levels for checkings. Improved dame_fecha(). Added date support to 
        graphic_combined_module(), grafico_modulo_sparse(). The selection of
        the graphic to show based on parameters has been replaced by a switch.
        The parameters are parsed with get_parameter()

        * include/functions_db.php: Style correction of tabs and blanks
        spaces. Use Pandora database functions on simple querying functions
        such as dame_perfil(), give_disabled_group(), dame_grupo(),  
        give_note_author(), dame_agente_id(), dame_agente_modulo_id() and many
        more, there are a lot more to change. Function comprueba_admin()
        renamed to check_admin (wrap created for old function). Added some
        checks to get_db_value(), get_db_row() so the SQL is build based on
        the parameter types. Added get_db_all_rows_sqlfree(),
        get_db_all_rows_in_table(), get_db_all_rows_field_filter(),
        get_db_all_fields_in_table(). Added date support to
        return_moduledata_avg_value(), return_moduledata_max_value(),
        return_moduledata_min_value(). Added function
        return_moduledata_sum_value() to get the sum of the values in a
        module.

        * include/functions.php: If input is numeric on safe_input, do not
        clean it, since it's safe by itself. Use mysql_escape_string() on
        salida_sql(). Added get_report_types(), get_report_name(),
        get_report_type_data_source() relatives to reports. Added also 
        is_module_data(), is_module_proc(), is_module_inc(),
        is_module_data_string() to know if a module is from a type. Replaced
        form_priority() with get_event_types() so the caller of this function  
        will print the select (using print_select).

        * operation/events/events.php: Replaced form_priorit() with
        get_event_types().

        * ChangeLog: Tab style correction with previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 10:45:08 +00:00
slerena 9b5a2695bc 2008-06-16 Sancho Lerena <slerena@artica.es>
* pandora_snmpconsole: Solved a few bugs detected by Manu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 09:35:58 +00:00
slerena d05a82641d 2008-06-13 Sancho Lerena <slerena@gmail.com>
* status_events: added to view new events in agentg view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 17:01:05 +00:00
slerena 8fbed5f59f 2008-06-13 Sancho Lerena <slerena@gmail.com>
* index.php: Added pure (Fullscreen). HTML code cleanup and user session.
    
    * pandoradb.sql: talert_snmp: Added priority field. 
    
    * pandoradb_data.sql: Changes default values in talerta. tconfig_os, tgrupo
    and some links.
    
    * header.php: Fixed some user session management.
    
    * logon_ok.php: New design for welcome screen, odometer is over.
    
    * menu.php, godmode/menu.php: Some ACL improvements.
    
    * agent_disk_conf_editor.php: Minor fix in view link.
    
    * configurar_agente.php, agent_manager.php: Added parent combo and better
    ACL checks. New remote configuration control for get timestamp info of
    config file.
    
    * modify_alert.php: Changes to use new internal Mail alert.
    
    * config.php: Some items moved to config_process. (font, attachment and 
    default style).
    
    * functions.php: Added form_agent_combo(), form_event_type_combo(),
    form_priority() and return_priority() functions.
    
    * functions_db.php: Added smal_event_table() to render a variable table
    with latest events (filtered).
    
    * pandora.css. Added pure and priority colors.
    
    * estado_alertas.php: Fixed ACL problems.
    
    * stado_generalagente.php: Graph of modules now represents modules that
    has generated events. Old graph is not used anymore. Also display parent.
    
    * estado_grupo.php: Border of boxes is now thicker.
    
    * tactical.php: New screen, almost all code changed. Odometer is not used
    anymore, added some new items, like module LAG meter, module sanity, and
    other general metrics.
    
    * ver_agente.php: Now renders also event for each agent view. Alert manual
    validation generate a new event.
    
    * events.php: New event system. 90% new code. A LOT of new features, 
    including full screen, coloured (by priority) and filters by six fields.
    
    * snmp_alert.php: Added support for alert priority.
    
    * operation/users/user.php: No longer a user with UM privileges could
    see any other user.
    
    * render_view.php: Added fullscreen support for visual maps.
    
    * fgraph.php: Added support for session checking in graphs (at least!).
    New graphics for events (some changed it's function like events by group),
    and feature added to progress GD implementation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 16:59:54 +00:00
slerena 9920b0609f 2008-06-13 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added new internal MTA feature config tokens .
    
    * pandora_server_installer: Copy default plugins to /usr/share/pandora/util
    
    * Config.pm: New MTA feature tokens, and added event when starting server.
    
    * DB.pm: Changes in execute_alert function (now passes several hash refs).
    Alerts and events now use new format of events. Add support for new inter-
    nal MTA/SMTP alert feature. Discovered and FIXED a very annoying bug on
    need_update usage in write_state function that was making a HUGE 
    degradation when too many non-init modules in network server.
        
    * Tools.pm: Added pandora_sendmail() function. Needs Mail::Sendmail dep.
    
    * All servers: Support for pandora_shutdown notify on event database.
    
    * pandora_snmpconsole: Updated SNMP alert mechanism. Need to be tested!.
    
    * pandora_recon: Now generate an event when discover a new host.
    
    * util/pandora_db.pl: Added support to automatically delete events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 16:42:35 +00:00
Ramon Novoa 3149b2e7df 2008-06-13 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r857.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 10:36:18 +00:00
Ramon Novoa 7dc855ab89 2008-06-13 Ramon Novoa <rnovoa@artica.es>
* win32/PandoraAgent.dev: Updated.
        * win32/windows/pandora_wmi.cc, win32/windows/pandora_wmi.h,
          win32/pandora_windows_service.cc, win32/modules/pandora_module.h,
          win32/modules/pandora_module_logevent.cc,
          win32/modules/pandora_module_logevent.h,
          win32/modules/pandora_module_factory.cc,
          win32/modules/pandora_module_list.cc,
          win32/modules/pandora_module.c: Added a new module that checks for
          log events using WMI queries.
        * bin/pandora_agent.conf: Added encoding option and a Logevent module
          declaration example.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 10:32:47 +00:00
marostegui 74937f515d 2008-06-12 Manuel Arostegui <marostegui@artica.es>
* pandora_snmpconsole: Removed "/var/run/pandora" we are
        not using that directory anymore, but "/var/run".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-12 15:45:11 +00:00
Esteban Sanchez e0f43f6276 2008-06-11 Esteban Sanchez <estebans@artica.es>
* bin/PandoraAgent.exe: Updated to commit, fixed an error when 
        building that was causing to not work as a service.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 15:46:10 +00:00
Esteban Sanchez 6f6f087d0a 2008-06-11 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc, modules/pandora_module_list.cc: Deleted
        debug output.

        * modules/pandora_module_exec.cc: Reindented the code. Add blank
        output to the module if there were nothing to read (like when the
        executions return nothing).

        * bin/PandoraAgent.exe: Updated to commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 14:58:53 +00:00
Esteban Sanchez 201d4e91b1 2008-06-11 Esteban Sanchez <estebans@artica.es>
* bin/libodbc++.dll: Added to repository. Needed to run agent since
        ODBC support was added.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 13:28:29 +00:00
Ramon Novoa de8d4afe35 2008-06-11 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_strutils.cc, win32/pandora_strutils.h,
          win32/modules/pandora_module.cc: Added support for floating-point
          numbers




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 10:10:48 +00:00
Ramon Novoa 08c15a1c25 2008-06-11 Ramon Novoa <rnovoa@artica.es>
* win32/bin/pandora_agent.conf: Added remote_config option.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 08:27:12 +00:00
Ramon Novoa 5744c0ad8a 2008-06-10 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r849.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-10 11:22:12 +00:00
Ramon Novoa 342e2cc8da 2008-06-10 Ramon Novoa <rnovoa@artica.es>
* win32/pandora.cc: Updated version information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-10 11:18:11 +00:00
Ramon Novoa f2e445a6f1 2008-06-10 Ramon Novoa <rnovoa@artica.es>
* win32/PandoraAgent.dev: Updated.
        * win32/misc/md5.c, win32/misc/md5.h: Added to repository.
          Implementation of MD5 (RFC 1321).
        * win32/misc/pandora_file.cc, win32/misc/pandora_file.h: Added remote
          configuration checking related functions.
        * win32/pandora_windows_service.cc, win32/pandora_windows_service.h:
          Added support for remote configuration checking.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-10 09:50:29 +00:00
slerena 25ef278240 2008-06-09 Sancho Lerena <slerena@gmail.com>
* operation/agentes/status_monitor.php,
        operation/agentes/estado_agente.php: Data was presented for users with
        access to specific groups (fixed also in 1.3.1 branch). Fixed.

        * godmode/users/configure_user.php: Better management of password.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 17:51:18 +00:00
slerena 1d58280bf3 2008-06-09 Sancho Lerena <slerena@gmail.com>
macOS agent update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 16:18:53 +00:00
Ramon Novoa 4d702fdf7f 2008-06-09 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql: Added missing parenthesis.
        * include/styles/pandora.css: Added style for the remote configuration
          editor.
        * godmode/agentes/agent_disk_conf_editor.php: Added to repository.
          Remote configuration editor.
        * godmode/agentes/agent_manager.php: Added support to edit remote
          agent configurations.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 13:17:29 +00:00
Ramon Novoa c364df7b1d 2008-06-09 Ramon Novoa <rnovoa@artica.es>
* linux/plugins/grep_log: Fixed command line parameter check.
        * linux/pandora_agent: Added support for remote configuration.
        * linux/pandora_agent.conf: Added remote_config option




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 11:27:30 +00:00
slerena dcea995ade 2008-06-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Updated tevent structure. Added criticity and 
    other important and new fields.

    * pandoradb_data.sql: Added "remote_config" token for setup.

    * setup.php: Added support for token remote_config.

    * config_process.php: Added support for token remote_config.

    * incident_detail.php: Solved small problems in attachment.

    * snmp_view.php: Solved small problems in pagination.

    * fgraph.php: Added support to generate graphs on any interval 
    in time, not only "last XX". Need to implement user interface
    controls to work with it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 10:48:11 +00:00
slerena 7267b41682 2008-05-29 Sancho Lerena <slerena@gmail.com>
* openWRT/README.openwrt: Some additional information about wput command  
        replacing old SSH transfer method.

        * openWRT/pandora_agent: Updated to use ftp(wput) instead of buggy ssh.

        * openWRT/pandora_agent.conf: Deleted ssh method and unused stuff for
        this little agent.

        * linux/plugins/grep_log: Updated plugin to use a module name for each
        call, passed as 2th argument.

        * linux/pandora_agent.conf: Deleted checksum reference and commented
        plugin sample, and using the new syntax for plugin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-29 14:33:54 +00:00
Ramon Novoa e4124a61b4 2008-05-27 Ramon Novoa <rnovoa@artica.es>
* linux/pandora_agent.conf: Added a plugin declaration example.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-27 08:25:39 +00:00
marostegui 352a2458a9 2008-05-27 Manuel Arostegui <marostegui@artica.es>
* pandora_server_installer: Fixed stupid bug related with
	the symbolic links of the core components.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-27 07:05:21 +00:00