Commit Graph

385 Commits

Author SHA1 Message Date
slerena 966a8bd143 2007-04-22 slerena <slerena@artica.es>
* functions_db.php, language_en.php, estado_grupo.php
	estado_agente.php configurar_grupo.php lista_grupos.php
	modificar_server.php: New feature implemented: groups could be
	configured to do not launch alerts (Disabled field). Any agent
	inside this group does not fire alerts while disabled will be
	activated. Useful for programmed non-service periods or programmed
	shutdowns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-22 01:08:58 +00:00
slerena c6b4812814 2006-04-21 Sancho Lerena <slerena@gmail.com>
* pandora_db.pm: Now uses disabled field from tgroup, and if is disabled
	  dont fire alers (new feature to temporaly disable alerts in programmed
	  service blackouts).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-22 01:04:48 +00:00
slerena 02c7328ac0 2007-04-22 Sancho Lerena <slerena@artica.es>
* linux/contrib/pandora_agent_installer: Fixed small bugs.

	* linux/pandora_agent.conf: Fixed small bug.

	This version of installer works fine in a Ubuntu 6.10 Server



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-22 00:59:44 +00:00
slerena 2483a44db2 2007-04-21 Sancho Lerena <slerena@artica.es>
* pandora_agent_daemon moved to contrib dir.

	* deleted Doc dir.

	* moved pandora_agent_installer to contrib dir.

	* Added LICENCE with GPL data.

	* Deleted README with old text stuff.

	* Moved pandora_agent.sh to pandora_agent

	* pandora_agent:  Added feature: TRANSFER_MODE.

	* pandora_agent.conf: Added feature token.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 20:05:35 +00:00
slerena 28251283d9 2007-04-21 Sancho Lerena <slerena@artica.es>
* deleted Doc dir.

	* Deleted README with old text stuff.

	* Deleted Data_out directory
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 20:02:28 +00:00
slerena 477c1324eb 2007-04-21 Sancho Lerena <slerena@gmail.com>
* include/languages/language_en.php: New strings added.

        * include/functions.php: Added function output_clean_strict().

        * operation/agentes/estado_ultimopaquete.php: Fixed title when
        some ugly characters used (like #).

        * operation/agentes/estado_generalagente.php: OS icon show,
        ignoring $agent_type parameter.

        * operation/agentes/estado_agente.php: OS icon show, ignoring
        agent_type variable.

        * godmode/grupos/configurar_grupo.php: Now it's possible to define
        parent group.

        * godmode/grupos/lista_grupos.php: Parent for group and some code
        cleanup. Added confirmation to group delete.

        * godmode/agentes/module_manager.php: Added confirmation to some
        items and added "data fix" new feature to delete data above 1.3 of
        average value of graph.

        * godmode/agentes/modificar_agente.php: Confirmation before delete
        an agent.

        * godmode/agentes/configurar_agente.php: Added fix module data
        feature.

        * godmode/modules/manage_network_components_form.php: Some fixes.

        * godmode/modules/manage_network_templates.php: More fixes.

        * godmode/menu.php: Fixed some navigation marks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 16:14:11 +00:00
slerena 7da2a5433e 2007-04-21 Sancho Lerena <slerena@gmail.com>
* ChangLog: Updated file, last commit was from a production site.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 16:05:47 +00:00
slerena 2043c3beaf 2007-04-21 Sancho Lerena <slerena@gmail.com>
* pandora_tools.pm: Fixed sqlWrap() function.

	* pandora_db.pm: Many changes and fixes: data_inc process function
	almost rewritten to fix a bug coming from 1.x? who causes to
	insert as data the total value for first data arriving... so bad
	:(. This is now fixed. crea_agente_modulo() now return id of
	agent_module created so we skip another timeconsuming query
	:). Added give_group_disabled() for next feature about Group
	Disabled doesnt fire alerts nor events. Fixed crea_agente_modulo()
	with many not defined checks.

	* pandora_network.pm: Fixed terrible bug in reference parameters
	that cause pandora_query_tcp() dont work properly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 16:02:16 +00:00
slerena d26542b310 2007-04-19 Sancho Lerena <slerena@artica.es>
* pandora.css: added some classes for graphical input buttons.
	
	* languages/language_en.php: More strings to go !
	
	* include/config.php: Deleted from repo, now has no sense.
	
	* pandoradb.sql: Added `alert_text` to talerta_agent for new text
	alerts. Added tables for custom graphs and reporting: tgraph,
	tgraph_source, treport, and treport_content.
	
	* operation/users/user.php: Fixed problem with last Raul's commit.

	* godmode/usuarios/lista_usuarios.php: Fixed problem with last
	Raul's commit.
	
	* operation/agentes/estado_alertas.php: Code cleanup. Implemented
	render for text alerts.
	
	* operation/agentes/datos_agente.php: Fixed small bug with text output.
	
	* operation/agentes/datos_agente_calendar.php: Added contribution
	from Leandro Doctors. Need to work on it before use several
	problems detected.
	
	* operation/servers/view_server.php: Fixed some bugs.
	
	* operation/reporting/graph_viewer.php: Added viewer for custom graphs.
	
	* operation/reporting/custom_reporting.php: Initial code, not
	finished yet.
	
	* operation/reporting/graph_builder.php: Work for modules in the
	same agent, several problems, but works.
	
	* operation/menu.php: Updated options for new reporting menu.
	
	* reporting/stat_win.php: New menu is great :-)
	
	* general/login_page.php: Updated login page.
	
	* godmode/agentes/alert_manager.php, configurar_agente.php: New
	code for text alerts and better user help.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:50:07 +00:00
slerena b6a756ae03 2007-04-19 Sancho Lerena <slerena@artica.es>
* pandora_tools.pm: Now expor sqlWrap() function to parse " and '
        chars in some SQL sentences. Use with careful.

        * pandora_network.pm: Fixed little bug with undeclared variable
        warning.

        * pandora_db.pm: Implemented NEW text alerts with regexp. Internal
        audit now uses macros for alerts. Fixed a bug in
        crea_agente_modulo() when uses ' chars in name or module
        description (using sqlWrap to clean text). General code cleanup.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:41:55 +00:00
slerena 7abffc7058 2007-04-19 Sancho Lerena <slerena@artica.es>
At the moment, only linux agent changes, need to be propagated to
	other Unix agents:
		
	* Local development changes for pandora_agent.sh, and for
	pandora_agent.conf. Will be changed for production release.

	* Added contrib dir.

	* Added installer: pandora_agent_installer



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:37:57 +00:00
marostegui d910204ff7 2007-04-19 Manuel Arostegui <marostegui@artica.es>
* pandora_server/specs/fedoracore5/pandora_server: Added files of the
          new 1.3 version.

        * pandora_agents/linux/pandora_agents.spec: Added links from
          init.d to rc0.d, rc6.d, rc3.d and rc5.d



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 14:20:15 +00:00
marostegui 66c883ce12 2007-04-19 Manuel Arostegui <marostegui@artica.es>
* en/pandora_quick_install.xml: Added some improvemnts
          to make the installation more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 09:31:54 +00:00
raulmateos f7f65ef1db 2007-04-18 Raul Mateos <raulofpandora@gmail.com>
* include/pandora.css: removed old "wxx" classes. Change some colours
	for agent general information tabs.
	* include/god.css, link.css: minimal changes for case letters.
	* several .php updated to use the changes in sytles. No new features or
	functionality changed.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 21:45:03 +00:00
raulmateos 6f468708d8 2007-04-18 Raul Mateos <raulofpandora@gmail.com>
* pandoradb_data.sql, pandoradb.sql: Fixed small warnings.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 17:17:06 +00:00
slerena f61a8cf4d0 2007-04-18 Sancho Lerena <slerena@artica.es>
* Several small fixes coming from our demo (beholder)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 16:48:38 +00:00
slerena a2a5c0fd02 2007-04-18 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Added frame and changed basic form input 
	styles (fixed the old problem with radio and checkboxes).
	
	* include/functions_db.php: Finished function
	agent_add_address(). Added functions: agent_delete_address(),
	give_agent_address() and give_agent_address_from_list().

	* include/languages/language_en.php: More strings !

	* include/functions.php: Added numeric render for graph Y scale
	and for numeric data output in screen: format_for_graph().
	
	* pandoradb.sql: Several small fixes and cleanup (deleted drop check).

	* operation/agentes/estado_alertas.php: Fixed old bug with
	visualization of alerts (min/max) vs (max/min). Now alert is a
	real value, not integer.
	
	* operation/agentes/datos_agente.php: Better render for numeric
	(float) data.
	
	* operation/agentes/estado_ultimopaquete.php: Better render for numeric
	(float) data and fixed a small costemic bug.
	
	* operation/agentes/estado_generalagente.php: Fixed a small
	costemic bug, list of ip's have some white space before and this
	have better visualization for user due to combo style stripping
	some space.
	
	* reporting/fgraph.php: Graph improvement: graphs now could show
	alerts associated to an agent and draw alert limits. Preprocessor
	function is now used to render axis label with (M,K) symbols and
	decimal commas. Title and subtitle has been improved.
		
	* reporting/stat_win.php: Graph menu improvement. Fully completed
	work. This should work for final version without more changes.
	
	* godmode/agentes/agent_template.php: Template/Wizard module
	assigment form for agent.
	
	* godmode/agentes/alert_manager.php: Several fixes (links) and
	alert max/min render.
	
	* godmode/agentes/configurar_agente.php: Fixed several navitation
	bugs. Added agent ip addition/deletion code.
	
	* godmode/agentes/agent_manager.php: Address list management code.
	
	* godmode/modules/module_list.php: Deleted link to "module type
	editor" and create button: This has no sense since there is no
	moduletype editor yet :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 09:58:26 +00:00
marostegui 4de10dde97 2007-04-17 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server.spec: Added code to evaluate
          the perl version using by the system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-17 05:42:53 +00:00
marostegui 924c489e96 2007-04-16 Manuel Arostegui <marostegui@artica.es>
* pandora_console.spec: Small changes to adapt the RPM to the
          upcoming 1.3 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-16 08:11:37 +00:00
slerena 825d9cfd30 2007-04-13 Sancho Lerena <slerena@artica.es>
* include/functions_db.php: Added function add_address() not finished!.
	
	* pandoradb.sql: Added field "notify_email" in tincidencia. More
	changes are coming in incident management coming from FRITS
	project. Added tnews
	
	* index.php: VERY IMPORTANT: Added Session locking concurrency
        speedup, taken from
        http://es2.php.net/manual/en/ref.session.php#64525. This solve GUI
        lookups when one page it's processing huge data and one user
        cannot access to other pages. This is a common PHP issue for
        bad-susing SESSION functions.
	

	* operation/agentes/estado_grupo.php: Added checks for timeout in
	agents. Now render gray icons/boxes if agent is completely timeout
	(with no modules in time).
	
	* operation/agentes/estado_generalagente.php: Show IP address in
	combo. More changes are coming to agent address management
	(multiaddress).
	
	* general/logoff.php: Fixed, "babel" string :-)
	
	* general/logon_ok.php: Added news display in main logon screen.
	
	* godmode/agentes/configurar_agente.php: Delete address code, not
	finished.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-13 18:47:58 +00:00
marostegui 87561c03d0 2007-04-12 Manuel Arostegui <marostegui@artica.es>
* fr/*: Added to reposistory. French translation
          by Denis Chupau. Almost done, but not finished yet.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-12 07:33:00 +00:00
marostegui 9f023f4501 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release.

        * bsd-ipso/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * aix/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * hp-ux/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * win32/bin/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * meta_agent/pandora_agent_1.conf, pandora_agent_2.conf,
          pandora_agent_3.conf, pandora_agent_4.conf,
          pandora_agent_5.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * solaris/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * pandora_server/conf/pandora_server.conf: Changed PATHS
          to adapt them to the upcoming 1.3 release

        * pandora_server/INSTALL: Changed PATHS to adapt them to
          the upcoming 1.3 release



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 14:14:32 +00:00
marostegui 0e06a81b44 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* conf/pandora_server.conf: Changed PATHS to adapt them to the
          upcoming 1.3 release.

        * INSTALL: Adapted instructions in order to work with new PATHS
          of the upcoming 1.3 version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 13:36:43 +00:00
marostegui 6a28d485c0 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agent.conf, pandora_agents.spec: Changed
          PATHS to adapt them to the upcoming 1.3 release.

        * pandora_agents/bsd-ipso/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them to
          the upcoming 1.3 release.

        * pandora_agents/aix/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them
          to the upcoming 1.3 release.

        * pandora_agents/hp-ux/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them
          to the upcoming 1.3 release.

        * pandora_agents/win32/bin/pandora_agent.conf: Changed PATHS to
          adapt them to the upcoming 1.3 release.

        * pandora_agents/meta_agent/pandora_agent_sim.sh, pandora_agent_daemon,
          pandora_agent_1.conf, pandora_agent_2.conf, pandora_agent_3.conf,
          pandora_agent_4.conf, pandora_agent_5.conf: Changed PATHS
          to adapt them to the upcoming 1.3 release.

        * pandora_agents/solaris/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them to the upcoming
          1.3 release.

        * pandora_server/pandora_network, pandora_snmpconsole, pandora_server
          pandora_recon: Changed PATHS to adapt them to the
          upcoming 1.3 release.

        * pandora_server/specs/fedoracore5/pandora_server.spec: Changed
          PATHS to adapt them to the upcoming 1.3 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 12:52:04 +00:00
marostegui d1d021ca3f 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* pandora_doc/en/pandora_quick_install.xml: Added information about
        the new Pandora Web Console Installation Wizard.

        * pandora_console/install.php: Text corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 10:09:09 +00:00
marostegui c4c80edbfd 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* en/pandora_quick_install.xml: Added some new text and some
          corrections done as well.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 07:21:55 +00:00
slerena 805593eec1 2007-04-10 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Fixed some odd problems with schema data.

        * pandoradb.sql: Fixed some odd problems with schema structure and
        added new table tnews for publish board updates.

        * include/styles/pandora.css: Changed color for data2 style.

        * include/config.inc.php: Deleted two last blank lines who makes
        config.php unusable for graphs. FIXED.

        * include/languages/language_en.php: Added some new strings.

        * include/config.php: some problems with new config
        variables. Need to recheck.

        * include/functions.php: Added function to render normal text,
        replacing carriage return with HTML br tag.

        * install.php: Many small bugs fixed. Now uses dbname variable and
        use default variables in form.

        * estado_grupo.php: Small bug fixed.

        * estado_ultimopaquete: Small bug fixed.

        * estado_generalagente.php: Small bug fixed.

        * view_server.php: Small bug fixed.

        * fgraph.php: Now agent with only one kind of module render module
        distribution graph.

        * stat_win.php: Fixed small bug with windows ids.

        * module_manager.php: Fixed small bug.

        * modificar_agente.php: Fixed small bug.

        * module_list.php: Fixed stupid bug.

        * god_mode/menu.php: Fixed problem with menu position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 03:12:48 +00:00
marostegui e0c1017cdc 2007-04-04 Manuel Arostegui <marostegui@artica.es>
* en/pandora_introduction.xml, pandora_chapter1.xml: Text corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-09 07:55:54 +00:00
marostegui efbd4e4408 2007-04-04 Manuel Arostegui <marostegui@artica.es>
* en/pandora_quick_install.xml: Added to reposistory. XML file for
        the future Pandora quick install guide.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-04 06:24:14 +00:00
raulmateos 32a6349778 2007-04-03 Raul Mateos <raulofpandora@gmail.com>
* include/languages/language_en.php, language_es_es.php: Added text
	for no network profile.
	* godmode/modules/manage_network_components.php: Added noscript tag
	to avoid showing the "show" button if Javascript is enabled. Added
	image to button Create.
	* godmode/modules/manage_network_templates.php: Added code to show
	text if no netork template is defined. Added
	image to button Create.
	* godmode/modules/manage_network_templates_form.php: Added code to 
	avoid a notice error when creating new profile.
	* godmode/modules/manage_nc_groups.php: Added imaged to Button
	Create.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-03 14:28:07 +00:00
raulmateos ea1a814c40 2007-04-02 Raul Mateos <raulofpandora@gmail.com>
* images/ok.gif: Deleted
	* images/cross.png, go.png, ok.png, upd.png: Added new images
	* include/styles/pandora.css, tip.css, op.css: Updated. Deleted some
	old styles, not all.
	* include/languages/language_en.php, language_es_es.php: Added text
	for no recon task.
	* godmode/*.php, operation/*.php, help/*.php: Changed some icons, 
	updated several buttons with new icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-02 17:17:27 +00:00
raulmateos 5805ac3d8e 2007-04-01 Raul Mateos <raulofpandora@gmail.com>
* pandoradb.sql, pandoradb_data.sql: Removed comments that
	caused some warnings. Solved small bug when adding table tmodule.
	Changed (again) HPUX to HP-UX.
	
	* godmode/agentes/modificar_agente.php: Removed some notice error.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-01 18:29:11 +00:00
slerena 2740cfeb48 2007-03-29 Sancho Lerena <slerena@artica.es>
* pandora_config.pm: Now stores $pa_config->{'server_id'}
	available for any function in Pandora FMS Server.

	* pandora_db.pm: Several verbosity level adjustements in logger
	functions in all code. Some debug code purged. Alert code now
	should store group correctly in events. Renamed
	"processed_by_server" field from tagente_estado by "running_by",
	updated some code. pandora_updateserver() now stores also server
	version.

	* pandora_network.pm: pandora_serverkeepaliver now run more
	exactly and does not apply any delay. Module selection now uses
	utimestamp AND the new running_by to know that other instance of
	server is currently running this module. TCP code has moved to
	function pandora_query_tcp() -code cleanup-. UDP code deleted
	(doesn't work, and never used!). Fixed important bug in ICMP Proc
	that causes constant FLIPFLOP in monitors since last commit. Fixed
	also a problem from that version updating status timestamp. Lastry
	field only be used now for checking 24hr without updating tdata
	table.

	* pandora_server.conf: Updated some text and formatting, more
	clear now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-29 10:42:34 +00:00
slerena 4cc514362c 2007-03-28 Sancho Lerena <slerena@artica.es>
* tip.css, pandora.css: Some updates to fix render in tooltips and
	datos3 background color.

	* config.php: Version update.

	* operation/menu.php: Added reporting suboption: Custom Graph Builder.

       	* operation/reporting/graph_builder.php: New custom and combined
	graphic generator that uses new function from fgraph
	graphic_combined_module().

	* reporting/fgraph.php: new function graphic_combined_module() to
	generate combined graphs. Needs to finish implementation to show
	alerts and evetns (most work done). Function
	grafico_db_agentes_purge() now uses Pear Graph instead jpgraph.

	* operation/agents/exportdata.php: Now uses indexes and improve
	the overall speed.

	* operation/agents/estado_grupo.php: Rewritten version, much more
	fast than previous.

	* operation/events/events.php: Fixed code to mass delete/update
	and added some audit control points.

	* pandora_db.php: audit_db() now uses utimestamp. event_insert()
	now uses utimestamp. Added function
	give_agent_id_from_module_id().

	* operation/agents/estado_ultimopaquete.php: Now render in red
	timestamp for "outdated" data. Fixes some minor problems with
	module groups and interval rendering.

	* operation/agents/estado_monitores.php: now uses utimestamp.

	* operation/agents/ver_agente.php: Uses lang_label labels for some
	texts. Fixed image bug.

	* operation/servers/view_server.php: Added version of server and
	some cosmetic adjustments.

	* godmode/db/db_main.php: Applied new graphic.

	* godmode/agentes/module_manager.php: Now sort by modulegroup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 16:07:29 +00:00
esanchezm 75be2304d9 2007-03-28 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Changed MyISAM tables to InnoDB. Deleted charset
        definition to Latin1. Some changes to be consecuent with the data.
        Deleted unnecesary field from tagente_estado. Added tmodule table and
        a field in tagente_module to point there. Fixed some default dates to
        become the same. Removed mysqldump comments.

        * pandoradb_data.sql: Removed mysqldump comments.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 14:51:39 +00:00
slerena 0148e6a229 2007-03-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Updated SQL.

	* pandoradb_data.sql: Updated data. Some info must be corrected
	before final version (network components, groups and some other).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 13:08:10 +00:00
slerena 92c51f7333 2007-03-23 Sancho Lerena <slerena@artica.es>
* pandora_tools.pm: Added sqlWrap function to manage quotes.

	* pandora_network.pm: MAJOR changes in internal architecture: Now
	uses 10 threads for manage network tasks and one only to keep
	server alive. Now catch TERM signal and log it. New function to
	check UDP services. This should be enought for improve network
	server performance until 2.0 version :-)

	* pandora_db.pm: pandora_calcula_alerta now calls execute_alert
	and clenanup alert code. Fixed bug with Internal audit
	alert. Addded fix from Dassing to pandora_writestate and added
	more fixes for 24hr data problem that include fix
	odule_generic_data.. functions.  pandora_audit () now uses
	utimestamp also.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-23 16:04:53 +00:00
esanchezm 229c9d6505 2007-03-23 Esteban Sánchez <estebans@artica.es>
* pandoradb.sql: Default value of flag field in tagente_module 
	changed to 1, so the module is forced to be executed the first 
	time.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-23 12:35:50 +00:00
marostegui 4d969bbe74 2007-03-20 Manuel Arostegui <marostegui@artica.es>
*  en/pandora_install.xml: Fixed some confusions; using Babel rather
        than Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-20 07:56:24 +00:00
raulmateos 08d609ac53 2007-03-19 Raul Mateos <raulofpandora@gmail.com>
* pandoradb.sql, pandoradb_data.sql: Solve small problem in last commit
	with groups table and language code for more than 5 chars (as ast_es).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 21:27:10 +00:00
slerena 7691af0f11 2007-03-19 Sancho Lerena <slerena@artica.es>
* pandora_recon: Startup script for recon server.

	* pandora_recon.pl: Major code cleanup. First "complete" version,
	this sould be enought for a while. Works for me.

	* pandora_db.pm: Added generic functions to add incident . Added
	function give_network_component_profile_name(). Now updates
	correctly recon server status in pandora_updateserver function
	call.
	
	* pandora_network.pm: Replaced Net::Ping::External usage with
	Net::Ping library. This should fix many problems with some
	distros. Added pandora_ping_icmp() function to check ICMP boolean.
	
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 20:04:37 +00:00
slerena 46d686fece 2007-03-19 Sancho Lerena <slerena@artica.es>
* functions_db.php: Added give_network_profile_name() function.

	* language_en.php: Added new strings.

	* index.php, ver_agente.php, estado_generalagente.php: Some style
	fixes.

	* view_server.php: Added support for recon servers. Added LAG
	check for server processing queue.

	* view_server_detail.php: Added, to get updated information in
	realtime for queues processed by recon server.

	* modificar_agente.php: Now deletes associated IP addresses when
	deleting an agent.

	* manage_network_templates*.php: Manage network templates / profiles.

	* manage_recontask*.php: Editor for network tasks (recon server).

	* menu.php: Added new options.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 19:39:40 +00:00
slerena 720b82edf5 2007-03-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Upgraded scheme, many changes and many tables
	added. I Need to commit the new "preloaded" data for this scheme,
	give me some days, this stuff are on development.

	* includes/styles/*: Many additions to reflect new menu options,
	and the tab menu title.

	* reporting/fgraph.php: Minor changes to format progressbar.

	* godmode/modules/*: Many many changes and additions (manage_*)
	for the new management system using tabs :-)

	* include/languages/language_es_es.php: Many additions.

	* operation/servers/view_server.php: Implemented detailed load for
	each servertype and latency time to each server to detect problems
	with high load.
	
	Many changes in godmode subsystem. Not detailed at this time.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-12 17:58:52 +00:00
slerena 5e2e368df0 2007-03-12 Sancho Lerena <slerena@artica.es>
* util/pandora_dbstress.pl: Upgraded. Now admits one agent or
          all agent.

        * bin/pandora_recon.pl: New network recon server, to autoexplore
        new machines and add to monitorization automatically. Not
        finished, first version, first commit to SVN :-)

        * bin/pandora_db.pm: Now pandora_writestate() writes new fields
        current_interval, processed_by_server into tagente_estado
        table. This increase seeks for Unknown modules, and to know what
        server manage the module (data or network).

        * bin/pandora_server.pl: Small changes in banners.

        * bin/pandora_network.pl: Small changes in banner. Small
        optimization, now server_id is only checked once.

        * bin/pandora_config.pm: Small changes in banner. Added support to
        new reconserver, added config hash "servermode" to maintain a
        single var with servertype. Now renders in console real server
        name at startup and a "all correct" message after initializing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-12 17:41:58 +00:00
raulmateos a9f5783d22 2007-03-07 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/alert_manager.php, modificar_agente.php,
	operation/agentes/estado_generalagente.php: Small changes
	with table lines.

	* include/styles/pandora.css: Reduce data_box class one pix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-07 12:37:23 +00:00
raulmateos 4ed00fb764 2007-03-06 Raul Mateos <raulofpandora@gmail.com>
* images/info.png: New image, replace old info.gif.
	
	* images/help.png: Change colour.
	
	* include/styles/pandora.css: Changed colour in nf class. Small changes
	in other colours.
	
	* include/styles/menu.css: Small colour change in menu border.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-06 21:37:38 +00:00
slerena e2e7a336e1 2007-03-06 Sancho Lerena <slerena@artica.es>
* include/functions*.php: Some reorganization, moved some funtions
	from functions.php. Added recursive functions to implement group
	hiearchy (group_belong_group, agent_belong_group).

	* godmode/agentes/module_manager.php, configurar_agente.php:
	Module edition/add now works :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-06 13:18:49 +00:00
slerena 9a6657db65 2007-03-02 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Modified, but needs update!, not
          finished.

	* .png: Many files added.
	
	* Massive commit. Updated almost every file for agent
	visualization, module visualizacion, agent management, index,
	styles, and more. Added many icons, and altered so many files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-02 17:56:07 +00:00
slerena c5c0d97d50 2007-02-27 Sancho Lerena <slerena@openideas.info>
* include/styles/god.css: Moved style block.
	
	* include/styles/link.css: Moved style block.
	
	* include/styles/op.css: Moved style block.
	
	* include/styles/pandora.css: Added some clases for new
	appearance. Needs to be improved, not finished yet !.
	
	* include/config.inc.php: Changed version number.
	
	* index.php: Some changes for new block disposition using
	data_box class and other changes.
	
	* operation/agentes/ver_agente.php: Now shows data in three
	tabs. Needs to be improved, but functional.
	
	* operation/agentes/estado_generalagente.php: Change in title
	order. This should be the way to show title and subtitle since
	now.
	
	* operation/messages/message.php: Changed icon, and fix problem in
	CSS. Deleted class: Classes with only fix weight should be avoided
	from now and added in code just with a style attribute, it
	generates too many classes in main CSS.
	
	* images/bottom-*-corner.gif: Added.
	
	* general/footer.php: Needs to be updated.
	
	* general/links_menu.php: New style in use (different color for
	top).
	
	* godmode/agentes/module_manager.php: New file to manage in tabs
	agent configuration. Almost functional, needs fix.
	
	* godmode/agentes/alert_manager.php: Content of alert management
	for agent manager, now in a individual file to be shown in a tab.
	
	* godmode/agentes/configurar_agente.php;

	* godmode/agentes/agent_manager.php:  New file to manage in tabs
	agent configuration. Almost functional, needs fix.
	
	* godmode/menu.php: New style in use (different color for top).

	This is a partial commit not fully functional, need to be done due
	to many changes in a temporal development computer. Sorry for
	problems to people that are testing SVN version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-27 19:03:56 +00:00
raulmateos 252cf4c3e4 2007-01-23 Raul Mateos <raulofpandora@gmail.com>
* sytles/*.css: Updated

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-23 09:08:26 +00:00