Commit Graph

3200 Commits

Author SHA1 Message Date
zarzuelo 6ac51cc853 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 2e8a1a8794 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 aaaeb5de25 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 9421300473 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 81b6c6f149 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 19beef381f 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 584087a0e7 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 bd3954d1a5 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 1a01bc5791 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
jsatoh 5592972ada 2010-11-07 Junichi Satoh <junichi@rworks.jp>
* Makefile.PL: Added 'INSTALLSITELIB' for FreeBSD. (undefined)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-07 03:03:49 +00:00
Ramon Novoa 486749d686 2010-11-05 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Updated installation messages.

	* pandora_windows_service.cc: startup_delay after the service is
	  started, not before. Read all secondary server parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 14:07:42 +00:00
zarzuelo d89cdc45e0 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Changed the tevento table
	synchronization to sync it only when the flag sync_data 
	is 1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 13:38:56 +00:00
zarzuelo 939c56704e 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/languages/nb.po
	include/languages/en.po
	include/languages/mr.po
	include/languages/nb.mo
	include/languages/en.mo
	include/languages/mr.mo: Added few new language
	po and mo files



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 11:05:46 +00:00
zarzuelo fd9667e151 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/languages/cs.po
	include/languages/et.mo
	include/languages/pt_BR.po
	include/languages/nl.mo
	include/languages/es.po
	include/languages/pl.mo
	include/languages/it.mo
	include/languages/ko.po
	include/languages/sl.mo
	include/languages/sk.po
	include/languages/uk.po
	include/languages/ro.po
	include/languages/pt.mo
	include/languages/ast.mo
	include/languages/en_AU.mo
	include/languages/bg.mo
	include/languages/index.pot
	include/languages/bn.po
	include/languages/ar.po
	include/languages/cs.mo
	include/languages/pt_BR.mo
	include/languages/es.mo
	include/languages/ko.mo
	include/languages/fr.po
	include/languages/sk.mo
	include/languages/uk.mo
	include/languages/ro.mo
	include/languages/ca.po
	include/languages/da.po
	include/languages/tr.po
	include/languages/sv.po
	include/languages/de.po
	include/languages/ja.po
	include/languages/zh_TW.po
	include/languages/bn.mo
	include/languages/he.po
	include/languages/fi.po
	include/languages/ar.mo
	include/languages/hi.po
	include/languages/zh_CN.po
	include/languages/fr.mo
	include/languages/te.po
	include/languages/eu.po
	include/languages/en_GB.po
	include/languages/hu.po
	include/languages/ca.mo
	include/languages/da.mo
	include/languages/tr.mo
	include/languages/de.mo
	include/languages/sv.mo
	include/languages/ru.po
	include/languages/ja.mo
	include/languages/zh_TW.mo
	include/languages/he.mo
	include/languages/fi.mo
	include/languages/hi.mo
	include/languages/zh_CN.mo
	include/languages/el.po
	include/languages/gl.po
	include/languages/te.mo
	include/languages/eu.mo
	include/languages/en_GB.mo
	include/languages/et.po
	include/languages/nl.po
	include/languages/hu.mo
	include/languages/pl.po
	include/languages/it.po
	include/languages/sl.po
	include/languages/pt.po
	include/languages/ru.mo
	include/languages/ast.po
	include/languages/en_AU.po
	include/languages/bg.po
	include/languages/el.mo
	include/languages/gl.mo: Updated the languages
	from launchpad



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 10:58:52 +00:00
slerena ee2ab48463 2010-11-05 Sancho Lerena <slerena@artica.es>
* Makefile.PL: Now default install for libs are the same than
        used in RPM, this will help to avoid problems of duped libs.

        * pandora_server.spec,
        pandora_server.redhat.spec: Update version and release.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 10:48:54 +00:00
zarzuelo 4829e73c5f 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* operation/search_agents.php: Fixed the last contact
	information in the agents search view for bug 3103501



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 09:57:53 +00:00
zarzuelo 2e59d73a5c 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Changed the enable
	condition to the snmp walk button in the network to improve
	the usability for bug 3102823



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 09:23:13 +00:00
zarzuelo 57cc920f4b 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/fgraph.php: Fixed event graphs by user for
	bug 3102830



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 08:50:22 +00:00
slerena 239c6e3aac 2010-11-04 Sancho Lerena <slerena@artica.es>
* NT4: New binary version of Unix perl agent for NT4, with some tools.
        .exe compiled with ActiveState SDK 9.0

        * pandora_agent: Some small modifications to make it work nicely in 
        windows boxes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 19:34:04 +00:00
Ramon Novoa 97ef472bee 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_ui.php: Check that the alert has a 'standby' column
	  (compound alerts don't have it).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:31:37 +00:00
mdtrooper aeeb4da5ae 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_purge.php: fixed old value "1" for "All" groups.
	
	Fixes: #3102844



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:28:55 +00:00
mdtrooper cbd69cc5ee 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/users_connected.php: fixed call to operation function.
	
	Fixes: #3102855



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:23:40 +00:00
mdtrooper 8218a884a4 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed warning in foreach loop.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:18:58 +00:00
zarzuelo 7731df03ea 2010-11-04 Sergio Martin <sergio.martin@artica.es>
* operation/incidents/incident.php: Fixed incidents filter



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:15:10 +00:00
mdtrooper 9c566086ac 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed empty spaces the list of ACL IP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:01:58 +00:00
Ramon Novoa f1084eca7e 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Do not propagate compressed data to dates in the
	  future in any charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 17:48:56 +00:00
mdtrooper 93a5a3d72d 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function __ fixed when the Pandora don't
	have extensions.
	
	* operation/events/events_rss.php: cleaned source code.
	
	* operation/events/events_list.php: added more info in the hidden expanded
	row.
	
	Fixes: #3102826



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 17:41:37 +00:00
zarzuelo 195fc478ed 2010-11-04 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Improved the policies
	appliement with checks and the external
	alerts addition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 17:35:37 +00:00
mdtrooper f0f2d1be41 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/module_groups.php: fixed a unset $fired var.
	
	Fixes: #3102791



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:35:29 +00:00
mdtrooper da1b8bbee2 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_marquee.php: fixed the error SQL message and
	save corretly the audit.
	
	Fixes: #3102788



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:28:16 +00:00
Ramon Novoa 789b64829e 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/manage_export.php,
	  godmode/servers/manage_export_form.php: Moved to Pandora FMS
	  Enteprise.

	* godmode/menu.php: Removed the export targets menu entry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:15:41 +00:00
mdtrooper 7fe994164d 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed lost lines deleted in previous
	commits (sorry).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:02:44 +00:00
mdtrooper abe398dffd 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/system_info.php: change the funcionality of extension, now
	generate a zip file in Pandora Console mode, and fixed the execution in the
	term, and move to setup menu.
	
	Fixes: #3102834
	
	* include/config_process.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 15:43:17 +00:00
raulmateos 43b9b91689 2010-11-04 Raul Mateos <raulofpandora@gmail.com>
* general/login_page.php: Fixed validation for XHTML 1.0 Transitional.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 15:01:25 +00:00
Ramon Novoa 696f3c19ad 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: limpia_cadena removes unwanted
	  characters instead or replacing them with blank spaces.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3512 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 19:20:12 +00:00
Ramon Novoa 22e7a98409 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Set the build in the InstallJammer mpi
	  file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 18:06:30 +00:00
raulmateos b7cb3bdb73 2010-11-03 Raul Mateos <raulofpandora@gmail.com>
* index.php: Updated year :-D
	* general/footer.php, header.php: Updated year. Fixed some HTML strings to improve W3C validation. A lot of work to do in this area.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:56:20 +00:00
mdtrooper 0da8f29e9e 2010-11-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added the function
	"print_autocomplete_modules". This function is same to magic-select box for
	agents instead this for modules.
	
	* include/javascript/jquery.ui.datepicker.js,
	include/javascript/jquery.ui.droppable.js: fixed end of lines that it
	haven't semicolon end char.
	
	* include/ajax/module.php: fix version of file that responds to ajax
	request for the magic-select box for modules.
	
	* include/functions_ui.php: in function "format_alert_row" use new call
	for the "isAlertInPolicy2".
	
	* include/functions_db.php: added in function "get_agent_modules" for the
	parameter $filter, the posibility to search with the "like" mysql operator.
	
	* images/lightning_blue.png: blue lighting for new magic-select box agents.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.
	
	* godmode/alerts/alert_list.list.php:  use new call for the
	"isAlertInPolicy2". And fixed the column align for policies and actions.
	
	* godmode/reporting/reporting_builder.list_items.php: erased old source
	code lines comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:45:39 +00:00
Ramon Novoa 74972ce911 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Fixed the regular expression that matches
	  the InstallVersion token.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:36:33 +00:00
Ramon Novoa d88ececb74 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* bin/util/tentacle_client.exe: Updated the tentacle client.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:27:04 +00:00
Ramon Novoa a873132f60 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update the InstallJammer mpi file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:23:26 +00:00
slerena 3b8d106168 2010-11-03 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated build

        * include/config_process.php: Updated build.

        * include/functions_db.php: Fixed the way takes agent status for visual maps,
        was a wrong filter on remote_contact timestamp, that info is not used to
        calculate agent unknown status !.

        * index.php: develop mode set to 0

        * operation/snmpconsole/snmp_view.php: Removed a notice for a noninit var (again)

	* images/*: New images for visual maps, old ones are moved to another dir



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 15:19:07 +00:00
Ramon Novoa b7ac5bae65 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Order results before calculating
	  the SLA.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 13:35:39 +00:00
zarzuelo e846299ce7 2010-11-03 Sergio Martin <sergio.martin@artica.es>
*  include/functions_modules.php
	include/functions_reporting.php
	include/functions.php
	include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/massive/massive_delete_modules.php: Fixed 
	several html entities codifications with safe_input/safe_output



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 12:18:33 +00:00
zarzuelo d55df2395b 2010-11-03 Sergio Martin <sergio.martin@artica.es>
* util/pandora_recode_db.pl: Added a recode script to add
	html entities to secific strings of a database. This script is usefull
	to 3.1 to 3.2 migration of Pandora FMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 09:03:27 +00:00
zarzuelo 4d469a0472 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Changed several spaces and parentheses
	in the insert data script to their html entities.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 17:28:41 +00:00
zarzuelo 7fb0138400 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	lib/PandoraFMS/ReconServer.pm
	lib/PandoraFMS/DataServer.pm
	lib/PandoraFMS/Tools.pm: Fixed insert db operations
	in server to store the html entities. This improves
	fix bug 3096436



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 17:26:34 +00:00
zarzuelo 0c2876b7a6 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a missed typo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 16:45:53 +00:00
zarzuelo 26f49a9367 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a module types bug and
	html entities codification



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 16:43:44 +00:00
raulmateos ea7fd32e1f 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* tentacle_client: Fixed year from last commit. Converted some spaces to tab.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 12:18:14 +00:00