Commit Graph

3335 Commits

Author SHA1 Message Date
zarzuelo 75ee2e364a 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 2d5c090a81 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 4f14f41206 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 50030435e5 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
ramonn 6cd5e537ce 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 352a517351 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 073a66329c 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 1895c5a16d 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 1933e68de6 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 9c24822fe8 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
ramonn dc0d2e144a 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 2bd122e423 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 f300fd0a1f 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 c287cece2d 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 4b9aeba05b 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
ramonn c53168f835 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 555404f875 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 e570207d5e 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 2424fbec59 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
ramonn 9b8b02539d 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
ramonn 9bca00c3d9 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 2ded23a694 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 7957ca1e07 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
ramonn e80cff83de 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
ramonn 15f48c4d8e 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
ramonn f27f4cb509 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 9ddf97bf61 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
ramonn 4c916bbce5 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 55b12db3ad 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 65cea57f75 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 fdf2ea31c0 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 956a3a0955 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 5a86c70352 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 4c01fbb497 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 d1dbfa2894 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
raulmateos 3dc1c0f563 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Updated build to prepare 3.2 RC1 release.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 12:07:34 +00:00
mdtrooper 00655c8480 2010-11-02 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: uploaded lost lines of my commit of yesterday.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:42:27 +00:00
mdtrooper c5e4ea00bf 2010-11-02 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js,
	include/javascript/jquery.ui.dialog.js,
	include/javascript/jquery.ui.draggable.js,
	include/javascript/jquery.timeentry.js: fixed end of lines that it haven't
	semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:40:30 +00:00
raulmateos 511a07b606 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* extensions/pandora_logs.php: Fixed html typos.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:17:37 +00:00
mdtrooper 260bf18645 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/conffiles, DEBIAN/make_deb_package.sh: fixed the
	warning of check md5sum on dir "plugins". Now the dir "plugins" is filled
	postinstall with the package plugins in temp directory, the copy is
	interactive for don't overwrite the user modified plugins of previous
	installation.
	
	Fixes: #3081496



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 19:58:21 +00:00
mdtrooper cfaf1f2a98 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed recursive infinite loop with try to
	copy "temp_package" into "temp_package/usr/share/pandora_agent/temp_package"
	again and again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 17:46:29 +00:00
mdtrooper 72318ac63e 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "format_array_to_where_clause_sql"
	added lines for test when is a string start with % for check with LIKE
	operator.
	
	Fixes: #3098170



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 16:38:44 +00:00
slerena 411bf82dbc 2010-11-01 Sancho Lerena <slerena@artica.es>
* unix/tentacle_client: Updated tentacle client to 0.30 version,
        with support for HTTP proxies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 14:32:40 +00:00
slerena 7fbc78e892 2010-11-01 Sancho Lerena <slerena@artica.es>
* DEBIAN/control,
        DEBIAN/make_deb_package.sh
        pandora_server.spec
        lib/PandoraFMS/Config.pm
        pandora_server.redhat.spec:  Version updates and small changes
        for packaging the 3.2 RC1 version in the next days/hours.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 12:34:39 +00:00
mdtrooper 5403878dff 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: cleaned source code style. And added line
	comments for to explain obfuscated $$ operation in function
	"print_input_text_extended".
	
	* godmode/agentes/module_manager_editor_plugin.php: set the field
	"plugin_parameters" with unlimited size. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 12:02:00 +00:00
slerena 716988e50f 2010-10-29 Sancho Lerena <slerena@artica.es>
* win32/bin/util/mibs: Added default mibs for the small snmpagent
    * tool.

    * win32/bin/util/getsnmp.bat,
    win32/bin/util/snmpget.exe: Added tool to get snmp info from the
    agent using tool from a module_exec.

    * win32/installer/pandora.mpi: Updated installer to have snmpget and
    mibs in the install process.

    * win32/pandora_windows_service.cc: Fixed bug 3098165.

    * win32/pandora.cc: Updated version


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 15:50:43 +00:00
ramonn f6e06da369 2010-10-29 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Do not propagate compressed data to dates in the
	  future to make the baseline clearer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 13:30:56 +00:00
mdtrooper 4c5e817aff 2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* extensions/dbmanager.php, godmode/agentes/module_manager_editor.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php:  now in the source code pick
	more info in the audit for actions.
	
	Pending tasks: #3089687



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 12:35:34 +00:00
mdtrooper ca2b11c3ec 2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_delete_profiles.php: fixed result message of
	operation. And cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 11:55:17 +00:00
mdtrooper b4b42cdd94 2010-10-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php, godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php: now in the source code pick more info in
	the audit for actions to create, update and delete profiles and user, and
	for action to add and remove profiles to user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:55:55 +00:00