Commit Graph

3441 Commits

Author SHA1 Message Date
mdtrooper d0834c18bc 2010-11-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php: added functions
	"get_disabled_extensions" and "getExtensionInfo".

	* operation/extensions.php: erased the delete extension option.

	* images/dot_green.disabled.png, images/dot_red.disabled.png: added files
	for the table of features extension.
	
	* godmode/extensions.php: show a table of extension with features and
	action to disable and delete.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 12:08:18 +00:00
ramonn 569f86e096 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added a missing paremeter to
	  pandora_generate_alert in pandora_module_unknown. Fixes
	  bug #3111191.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 11:50:19 +00:00
ramonn 5acbc25484 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed regexp alerts. The patch to detect
	  malformed regular expressions made them malfunction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 10:48:27 +00:00
ramonn 61fbdcd4c6 2010-11-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Update agent address from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-18 18:24:21 +00:00
ramonn 2cfdfa8d05 2010-11-18 Ramon Novoa <rnovoa@artica.es>
* bin/PandoraAgent.exe: Updated to r3583.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-18 11:18:30 +00:00
ramonn fddc209450 2010-11-17 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a typo in copyScpDataFile that made
	  it always return PANDORA_EXCEPTION.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 19:22:04 +00:00
mdtrooper 7db030ba63 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* extensions/vnc_view.php: added first version of extension of to VNC view
	tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 16:01:31 +00:00
raulmateos 0608b5e27c 2010-11-17 Raúl Mateos <raulofpandora@gmail.com>
* operation/reporting/reporting_viewer.php, operation/reporting/graph_viewer.php:
	Added full screen mode and other minor changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 15:09:53 +00:00
mdtrooper f661ccd92d 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder_wizard.php: deleted old file of old visual
	console editor. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 14:53:57 +00:00
raulmateos 47e763d77f 2010-11-17 Raúl Mateos <raulofpandora@gmail.com>
* include/functions_events.php: Deleted old code. Simplify.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 11:43:48 +00:00
mdtrooper 696181859f 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console.redhat.spec: re-enabled the check dir "data_in" in
	spec file for package redhat-centos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 11:13:00 +00:00
raulmateos d691be73c3 2010-11-16 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php, operation/events/sound_events.php: Undo last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-16 15:56:26 +00:00
ramonn 109619a5da 2010-11-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Decode HTML entities in macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-16 10:38:59 +00:00
raulmateos c4c89b452d 2010-11-16 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php, operation/events/sound_events.php: Change string.
	Use events in lower case, according with the menu criteria.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-16 10:38:21 +00:00
raulmateos 887810725f 2010-11-15 Raúl Mateos <raulofpandora@gmail.com>
* include/functions_events.php: Show text in Agent detail when no events
	found. Commented old code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 17:07:30 +00:00
ramonn 81bb7cd037 2010-11-15 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Search for event log descriptions
	  in multiple DLLs if necessary. Improved event log error detection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 16:30:26 +00:00
mdtrooper 96de9ef5b8 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_ultimopaquete.php: fixed the single quote instead
	double quote.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:40:33 +00:00
mdtrooper 1abd59cfb9 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/tiny_mce/plugins/table/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advlink/editor_plugin.js,
	include/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js,
	include/javascript/tiny_mce/plugins/template/editor_plugin.js,
	include/javascript/tiny_mce/themes/advanced/editor_template.js: fixed end of
	lines that it haven't semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:37:47 +00:00
mdtrooper 30593beede 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php: added functions
	"add_extension_godmode_tab_agent" and "add_extension_opemode_tab_agent" to
	add the extensions tab in the header in operation and godmode.
	
	* operation/agentes/ver_agente.php,
	godmode/agentes/configurar_agente.php: added hook for to add the extension
	tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:36:01 +00:00
raulmateos c59bba0018 2010-11-15 Raul Mateos <raulofpandora@gmail.com>
* pandora_agent*, pandora_exec, plugins/pandora_update: Small changes:
	Year, version, spaces to tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 10:32:23 +00:00
slerena d0f9ef293c 2010-11-14 Sancho Lerena <slerena@artica.es>
* plugins/pandora_update: Small tool (in perl), used also in windows
        (compiled as .exe), to auto-upgrade the software agents by stopping
        replacing the binary, and starting again the service/process, and also
        notifying the system about the upgrade. This will be possible using
        the new filecollection mechanism in 3.2 version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 01:39:50 +00:00
slerena 2d193c0060 2010-11-14 Sancho Lerena <slerena@artica.es>
* bin/util/pandora_update.exe: This small binary (see the Unix
        perl version to see the sources), allow to replace the running
        windows binary, by stopping the service and restarting it. Will
        allow automatic upgrades of the agent using the fille collection
        mechanism.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 01:37:56 +00:00
jsatoh 6d867c0c42 2010-11-14 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Fixed unnecessary strings
	(a part of html entities) are shown in module name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-14 01:32:21 +00:00
ramonn a1e23c0ab8 2010-11-12 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: isServiceRunning returns -1 for module
	  states other than "Running" and "Stopped".

	* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Return a non empty string if
	  the event description can not be read. Save the event id as an
	  unsigned long int to avoid overflows.

	* modules/pandora_module_service.cc,
	  modules/pandora_module_service.h: Aesthetic fix. Removed carriage
	  returns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-12 13:41:24 +00:00
mdtrooper ebea027f79 2010-11-11 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js,
	include/javascript/pandora_modules.js,
	include/javascript/tiny_mce/plugins/autoresize/editor_plugin.js,
	include/javascript/tiny_mce/plugins/example/editor_plugin.js,
	include/javascript/tiny_mce/plugins/emotions/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advhr/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advlist/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advimage/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advimage/js/image.js,
	include/javascript/tiny_mce/plugins/directionality/editor_plugin.js,
	include/javascript/tiny_mce/plugins/visualchars/editor_plugin.js,
	include/javascript/tiny_mce/plugins/wordcount/editor_plugin.js,
	include/javascript/tiny_mce/plugins/autosave/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advlink/editor_plugin.js,
	include/javascript/tiny_mce/plugins/fullpage/editor_plugin.js,
	include/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js,
	include/javascript/tiny_mce/plugins/bbcode/editor_plugin.js,
	include/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js,
	include/javascript/OpenLayers/OpenLayers.js,
	include/javascript/jquery.ui.resizable.js: fixed end of lines that it
	haven't semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 13:23:27 +00:00
mdtrooper 751f987ade 2010-11-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php: fixed to force include the "autocomplete"
	library javascript.
	
	Fixes: #3103590



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 13:12:44 +00:00
zarzuelo da2a47670e 2010-11-11 Sergio Martin <sergio.martin@artica.es>
* include/fgraph.php: Fixed session auth for 
	external access



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 11:19:37 +00:00
raulmateos c80d6420b7 2010-11-11 Raúl Mateos <raulofpandora@gmail.com>
* general/error_install.php, general/error_perms.php, general/header.php,
	general/logon_menu.php, general/logon_ok.php, include/functions_menu.php, 
	include/functions_ui.php, extensions/agents_modules.php, 
	operation/menu.php, godmode/menu.php, operation/estado_agente.php,
	operation/agentes/estado_agente.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php, pandoradb_data.sql: Closed
	some HTML tags, autoclose others, added alt to images, and changed some 
	& to "&amp;" to help validation for XHTML 1.0 Transitional. Tested and
	not error found, but needs more tests...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 11:16:09 +00:00
jsatoh 9e1a220245 2010-11-11 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/gis_step_2.php: Added UTF-8 charset to htmlentities().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 01:26:38 +00:00
jsatoh d981d7e40a 2010-11-11 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/tentacle_server: Fixed variable name of PID.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 00:58:56 +00:00
slerena d06c113bee 2010-11-10 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql,
        DEBIAN/control,
        DEBIAN/make_deb_package.sh,
        include/config_process.php,
        pandora_console.redhat.spec: Last updates on version and
        spec files for release.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:15:59 +00:00
slerena 56349651ca 2010-11-10 Sancho Lerena <slerena@artica.es>
* pandora_server.spec
        lib/PandoraFMS/Config.pm
        pandora_server.redhat.spec:  Last details on specs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:13:08 +00:00
mdtrooper e1dd530186 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
	pandora_exec for Pandora Server and Pandora Agent, now make a
	pandora_exec.agent and try to link to pandora_exec.
	
	Fixes: #3106578



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:00:29 +00:00
mdtrooper 03a3ef2198 2010-11- Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
	pandora_exec for Pandora Server and Pandora Agent, now make a
	pandora_exec.server and try to link to pandora_exec.
	
	Fixes: #3106578



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 12:59:07 +00:00
mdtrooper b67bf7c71f 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the include the bigger NT4 files in the
	DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:36:14 +00:00
zarzuelo bc3e49a54c 2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Check de enterprise version to
	show the baseline graph option in reports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:33:23 +00:00
zarzuelo 62c33abaf0 2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions.php
	operation/reporting/reporting_xml.php
	godmode/reporting/reporting_builder.item_editor.php: Added the
	simple baseline graph to the html and xml report exports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:17:29 +00:00
jsatoh 3be767f187 2010-11-10 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added a parameter of unsafe_chars, '<>&',
	to encode_entities(). It is support for multibyte characters.
	If it is not defined, records with multibyte characters on database
	are destroyed by 'pandora_recode_db.pl'. :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 01:11:47 +00:00
ramonn 42c37e9b35 2010-11-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Re-wrote the module to avoid
	  using EVENTLOG_SEEK_READ, which seems to cause a lot of trouble.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 19:26:17 +00:00
slerena 7eeb9560a6 2010-11-08 Sancho Lerena <slerena@artica.es>
* build_src.sh: Removed NT4 from the unix src package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 16:38:17 +00:00
zarzuelo ce5aeffd30 2010-11-08 Sergio Martin <srgio.martin@artica.es>
* util/pandora_sync_db.pl: Added two special 
	synchronization cases



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 16:14:12 +00:00
zarzuelo 242c07f0a6 2010-11-08 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Fixed array pass



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 15:36:33 +00:00
slerena 0bea6001e7 2010-11-08 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated version/build.

        * extensions/update_manager/sql/update_manager.sql: Change URL of 
        update manager to 3.2

        * pandora_console.redhat.spec: Updated version/build



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 14:57:49 +00:00
raulmateos d885b9a73f 2010-11-08 Raúl Mateos <raulofpandora@gmail.com>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated database schema
	version when updating database.

	* extras/pandora_diag.php: Small update.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 14:37:51 +00:00
zarzuelo 63f076a151 2010-11-08 Sergio Martin <sergio.martin@artica.es>
* util/pandora_recode_db.pl: Checked if the tables exists
	to avoid the recodification in case of purely open 
	installations



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 12:52:12 +00:00
raulmateos adee2af5fe 2010-11-08 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_install: Updated year/version and link to update script
	* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated news to 3.2 version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 12:14:25 +00:00
raulmateos f7018895af 2010-11-08 Raúu Mateos <raulofpandora@gmail.com>
* pandoradb.sql. pandoradb_data.sql, pandora_console_install: Updated
	year/version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 11:50:51 +00:00
zarzuelo 8f0246f3a1 2010-11-08 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Changed from DELETE to
	TRUNCATE in empty tables operation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 11:47:37 +00:00
darode ac86d47d3e 2010-11-08 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_recode_db.pl: Added talert_template, tconfig_os,
	talet_actions and ttipo_modulo to encode names fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 09:21:21 +00:00
raulmateos d6e9d6f99d 2010-11-07 Raul Mateos <raulofpandora@gmail.com>
* DEBIAN/makde_deb_package.sh, DEBIAN/control: Updated year/version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-07 18:33:28 +00:00