Commit Graph

4361 Commits

Author SHA1 Message Date
mdtrooper c216e668ba 2011-08-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed the snmpwalk for version 3, the function
	need empty string instead null.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 16:19:00 +00:00
slerena a366fed0ff 2011-08-18 Sancho Lerena <slerena@artica.es>
* include/functions_servers.php: SNMP Server is SNMP Trap
        server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 16:06:59 +00:00
juanmanuelr aca95eb9c7 2011-08-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql: Fixed bad sintax query on this script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:50:10 +00:00
ramonn 44fe88f09b 2011-08-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/Core.pm: Fixed some warnings on undefined values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:40:51 +00:00
zarzuelo be2194e1fb 2011-08-18 Sergio Martin <sergio.martin@artica.es>
* extensions/snmp_explorer.php
	godmode/massive/massive_operations.php: Delete snmp enterprise
	call from massive operations and crean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:36:11 +00:00
zarzuelo 887ea66bfc 2011-08-18 Sergio Martin <sergio.martin@artica.es>
* extensions/snmp_explorer.php
	godmode/agentes/agent_manager.php: Add extension to the agents
	management to get modules from SNMP with a wizard 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:17:41 +00:00
mdtrooper e6f6ab5497 2011-08-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed get the parameters
	snmp3_auth_method and snmp3_privacy_method.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:07:21 +00:00
juanmanuelr 597ed7e17a 2011-08-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php: Format decimal numeric data
        in function modules_get_agentmodule when DB is Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 10:36:33 +00:00
zarzuelo 5e58862beb 2011-08-18 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_generalagente.php: Changed the 
	IP address view in the agent info from a useless combo 
	to a text with the main addres and help_tip with the others



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 10:34:32 +00:00
zarzuelo bee5a48bb2 2011-08-18 Sergio Martin <sergio.martin@artica.es>
* win32/windows/pandora_windows_info.h
	win32/windows/pandora_wmi.cc
	win32/windows/pandora_wmi.h
	win32/windows/pandora_windows_info.cc
	win32/bin/PandoraAgent.exe
	win32/bin/pandora_agent.conf
	win32/pandora_windows_service.cc: Added to the windows agent
	the address token with manual (specified address) and auto 
	(detecting from WMI the address) modes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 09:41:37 +00:00
slerena b79601898e 2011-08-17 Sancho lerena <slerena@artica.es>
* pandoradb.oracle.sql,
        pandoradb.postgreSQL.sql,
        extras/pandoradb_migrate_v3.2_to_v4.0.sql, 
        pandoradb.sql: custom_oid now is text instead varchar(200).
        This allows alerts with huge regexp inside :-)

        * operation/snmpconsole/snmp_view.php: Custom info now is
        shown in only one label (Custom Data). Minor changes on layout.

        * godmode/snmpconsole/snmp_alert.php: Added help, resized controls
        and some other minor adjustments.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 20:14:56 +00:00
slerena df6d922a69 2011-08-17 Sancho Lerena <slerena@artica.es>
* SNMPServer.pm: Custom value and custom type are not used anymore.
        All extended info comes into custom_oid which stores now all the
        raw info.

        * Core.pm: pandora_evaluate_snmp_alerts() function now uses complex
        regular expression and new macros to allow complex SNMP trap alerts 
        which takes information from the trap info and puts on the alert.

        * DataServer.pm: Fixed notice about undefined GIS position desc.

        * pandora_db.pl: Version update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 20:11:32 +00:00
mdtrooper 194eca91d8 2011-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_networkmap.php,
	include/functions_ui.php: fixed to use the name of file in tconfig_os
	instead the id for icon networkmap.

	* images/networkmap/*: renamed the image files to use the names of
	tconfig_os.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 16:22:29 +00:00
slerena b95fea3f52 2011-08-17 Sancho Lerena <slerena@artica.es>
* operation/snmpconsole/snmp_view.php: SQL optimization and
        added space between icons.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 16:18:26 +00:00
ramonn ade85fe547 2011-08-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Convert text obj tags to OIDs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 15:58:42 +00:00
slerena 3793edcbcc 2011-08-17 Sancho Lerena <slerena@artica.es>
* snmp_wizard.png: New icon for new feature SNMP Wizard in
        agent godmode (taken from enterprise massive SNMP module).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 15:54:29 +00:00
slerena b801b76fad 2011-08-17 Sancho Lerena <slerena@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed small ACL bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 15:50:23 +00:00
darode 2cf5d35f17 2011-08-17 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_networkmap.php: Fixed a bug with topology map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 15:16:54 +00:00
javilanz 544c2ad120 2011-08-17 Javier Lanz <javier.lanz@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed an style icon small bug



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 14:35:42 +00:00
mdtrooper dd703a652e 2011-08-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: added better message when could
	delete agent with remote config.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 14:27:56 +00:00
mdtrooper 5a6d19d553 2011-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: check if Pandora can delete the conf and md5
	file in function "agents_delete_agent"
	
	* godmode/agentes/modificar_agente.php: show message of result from the
	deleting action.
	
	Fixes: #3392526



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 14:20:45 +00:00
mdtrooper 85bac3a541 2011-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixes more things, see
	the item in sourceforge tracker.
	
	Fixes: #3389987



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 12:44:26 +00:00
juanmanuelr 131dd97cac 2011-08-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql: Added columns 'module_action_threshold'
        and 'last_execution' on 'talert_template_module_actions' table.
        * include/functions_agents.php: Correct bad sintax query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 11:25:46 +00:00
darode 99e1299df6 2011-08-17 Dario Rodriguez <dario.rodriguez@artica.es>
* images/networkmap/so_vmware.png: Added icon of VMware for networkamps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 10:30:48 +00:00
juanmanuelr b991dce342 2011-08-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php
        include/functions_config.php
        operation/agentes/estado_ultimopaquete.php
        godmode/agentes/agent_manager.php: Changed some queries in order to make
        them compatible with Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 09:59:35 +00:00
darode e0a8e40b65 2011-08-17 Dario Rodriguez <dario.rodriguez@artica.es>
* pandoradb_data.sql, images/os_icons/so_vmware.png, 
	images/os_icons/so_vmware_small.png, 
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added new icon for VMware
	architectures.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 09:27:50 +00:00
slerena 37c5d52490 2011-08-16 Sancho Lerena <slerena@artica.es>
* extensions/vnc_view.php,
        images/vnc.png: New version of VNC extension, to operate with remote plugin
        instead local one. Add a lot of docs about this extension and remote management
        with Pandora. Removed old stuff on SSH extension due problems reported.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 19:11:08 +00:00
mdtrooper 7adfd05711 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, operation/agentes/stat_win.php: fixeds to
	show always units, and now show only avg by default, and now run the
	showing baseline again.
	
	Fixes: #3390113



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 17:09:43 +00:00
juanmanuelr aaab854dd9 2011-08-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql
        include/functions_agents.php
        include/functions_networkmap.php: Removed several mistakes in
Pandora
        console over Oracle.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 16:32:20 +00:00
ramonn 2a09f720f8 2011-08-16 Ramon Novoa <rnovoa@artica.es>
* include/functions_servers.php: Renamed enterprise ICMP and SNMP
	  servers in the server view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 14:32:53 +00:00
mdtrooper 909e79ed4f 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_sanity.php: fixes the notice php messages and warnings php
	messages. And fixed the uninitialised modules erasing.
	
	Fixes: #3392431



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 14:25:04 +00:00
mdtrooper ae40522d1d 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: erased the notice php messages
	when $module["extended_info"] is empty.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 12:52:09 +00:00
mdtrooper 4acb9c07ba 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php, godmode/menu.php,
	godmode/snmpconsole/snmp_trap_generator.php: moved the form to generate
	traps into godmode in the submenu "Manage SNMP console".
	
	Fixes: #3390513



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 12:22:26 +00:00
zarzuelo 1ac23479f5 2011-08-16 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	bin/pandora_server: Improved Enterprise check to the policy queue
	thread and fix a memory problem in the queue patrol loop



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:54:11 +00:00
darode 3f0737c55a 2011-08-16 Dario Rodriguez <dario.rodriguez@artica.es>
* pandoradb_data.sql: Changed days_compact field of tconfig to 90.
	This value set to disable db compact feature by default because is
	greater than days_purge (60 days).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:50:48 +00:00
ramonn 8faead1358 2011-08-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: When reading module tags use
	  get_tag_value to avoid trouble with empty tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:37:17 +00:00
mdtrooper 23e13a8124 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the warning in
	the apache logs, and show the percentile bar correctly in the visual console
	editor.
	
	Fixes: #3389967



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:34:12 +00:00
mdtrooper 96d9d0b8cd 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css,
	images/skin/skin_default/include/styles/pandora.css, general/header.php:
	change the color of autorefresh in header.
	
	Fixes: #3371429 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4735 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:04:54 +00:00
mdtrooper 0786923170 2011-08-16 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css,
	images/skin/skin_default/include/styles/pandora.css, general/header.php:
	change the color of autorefresh in header.
	
	Fixes: #3371429 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 10:50:24 +00:00
javilanz fd1841eec5 2011-08-16 Javier Lanz <javier.lanz@artica.es>
* extensions/module_groups.php: Fixed table width to 98%


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 09:38:11 +00:00
slerena 13c10419ee 2011-08-13 Sancho lerena <slerena@artica.es>
* pandoradb_data.sql: Added default action "Pandora FMS event".

        * godmode/alerts/alert_actions.php: Fixed bug when update an action
        and name is the same.                 

        * godmode/snmpconsole/snmp_alert.php: Fixed witdh of field1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-13 02:40:47 +00:00
slerena 5067dae825 2011-08-13 Sancho Lerena <slerena@artica.es>
* lib/Core.pm: get_agent_from_addr() function is now in Core because
    is used in trap alert functions. Implemented in pandora_execute_action() 
    the internal command "Generate event" was missing. Also altered the
    way a complex trap is matched, now search for Value, Custom Value and
    Custom OID. If an action containing a "event" command is the target, skip the
    creation of a event to inform of SNMP alert firing.

    * lib/ReconServer.pm: get_agent_from_addr() moved to Core.pm



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-13 02:38:36 +00:00
ramonn 8261a95e60 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Fixed a couple of typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 15:44:01 +00:00
zarzuelo 260168177b 2011-08-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_tags.php: Fixed false value in foreach



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 12:11:18 +00:00
zarzuelo 631eac373d 2011-08-12 Sergio Martin <sergio.martin@artica.es>
* bin/pandora_server: Fixed policy queue when the server is launched
	in daemon mode for bug 3390085 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:48:31 +00:00
vgilc 34d1633096 2011-08-12 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/estado_agente.php: Fixed: Agent Search engine fails with blank at the beginning or end.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:47:07 +00:00
ramonn 617a992b9f 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added enterprise configuration tokens to
	  the default conf.

	* lib/PandoraFMS/Config.pm: Changed the default location of the braa
	  binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:30:28 +00:00
javilanz 2b1359bcdb 2011-08-12 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/exportdata.php: Fixed table style to page width
        and text aligned to center.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 08:38:27 +00:00
javilanz 0c3becb78f 2011-08-12 Javier Lanz <javier.lanz@artica.es>
* include/config_process.php: Removed a forgotten html_debug_print call


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 08:12:29 +00:00
javilanz 796bf1488b 2011-08-12 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/exportdata.php: Fixed calculating process to get
        module data within a period.

        Fixes: #3389996



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 08:04:07 +00:00