Commit Graph

7166 Commits

Author SHA1 Message Date
ramonn 5617c3c512 2013-07-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Resolve numeric ids to strings before writing
	  events to an external log file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 17:03:36 +00:00
zarzuelo 5553e4a45f 2013-07-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	operation/agentes/stat_win.php: Fix string type graph colors
	and data. Fix the "Avg only" option because is forced to "true".
	Bug: 2284



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 15:41:40 +00:00
ramonn 23d4b3fd8a 2013-07-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm,
	  conf/pandora_server.conf.new: Added support for writing events to an
	  external log file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 14:05:44 +00:00
mdtrooper a3bdcd0466 2013-07-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, include/functions_menu.php: fixed the entry
	gis map in ACL enterprise.
	
	* index.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 11:01:20 +00:00
zarzuelo b6f7fbc57b 2013-07-01 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Added to default actions 
	some default values to avoid confusion in a clean installation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 09:24:41 +00:00
ramonn 3b7a406c78 2013-07-01 Ramon Novoa <rnovoa@artica.es>
* build_vars.sh: Use absolute paths.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 09:14:00 +00:00
mdtrooper b5062d0292 2013-06-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/plugin.php, godmode/setup/file_manager.php,
	include/functions_filemanager.php: added the filemanager to server
	plugin, and of course change the code for to make this feature.
	
	MERGED FROM THE BRANCH PANDORA_4_0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-27 11:42:53 +00:00
slerena d22cbc4b4d 2013-06-26 Sancho Lerena <slerena@artica.es>
* util/plugin/pandora_loadgen.pl,
        util/plugin/ssh_pandoraplugin.sh: Fixed small problems with
        plugins provided as sample.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 16:21:36 +00:00
mdtrooper 12b4d46413 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the new
	columns in the table "talert_snmp".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 10:57:28 +00:00
ramonn 0a5edf44c0 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_console.spec,
	  pandora_console.redhat.spec: Fixed directory permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 10:46:33 +00:00
ramonn a9ce170b84 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.redhat.spec,
	  pandora_agent.spec: Fixed directory permissions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 10:45:22 +00:00
ramonn bd68fc21b3 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_server.redhat.spec,
	  pandora_server.spec: Fixed directory permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 09:22:10 +00:00
mdtrooper 0629573a54 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* Linux/pandora_agent.conf: restored the remote_config as disabled
	for to avoid problems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 08:22:39 +00:00
mdtrooper c880dd8aec 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* bin/pandora_agent.conf: restored the remote_config as disabled
	for to avoid problems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 08:18:29 +00:00
slerena d4dd4a9b0a 2013-06-25 Sancho Lerena <slerena@artica.es>
* Linux/pandora_agent.conf: new defaul values (inventory enabled,
        remote config enabled).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 16:07:30 +00:00
slerena 1d4ce87937 2013-06-25 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: removed old references to ODBC feature
        not supported anymore. New defaults (inventory, remote config and
        IP detection now by default).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 16:04:51 +00:00
mdtrooper 24d4951135 2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php,
	include/functions_agents.php: fixed the operations with the ip or
	ips adress of agent.
	
	MERGED FROM THE BRANCH PANDORA_4_0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 14:44:40 +00:00
mdtrooper 431866a148 2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php: fixed the default value for refresh in the
	extensions.
	
	Fixes: #2310
	
	* include/functions_extensions.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 13:30:13 +00:00
mdtrooper 9b89ffc80c 2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php: fixed the "home page" for user,
	now it does show ugly 0, show correct the dashboard and
	visualmap and can set other.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 12:58:03 +00:00
mdtrooper c783d677cd 2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php: merge the code for made more
	easy the merges from the branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 11:20:13 +00:00
mdtrooper 53f98c65b3 2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* extensions/vnc_view.php: added the changes from the branch of
	pandora_4 made for Sancho.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 10:45:01 +00:00
mdtrooper 15bab6193f 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/visual_console/render_view.php: fixed the javascript
	draw lines when there is any error in the map.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 10:11:26 +00:00
ramonn c85826ec7c 2013-06-25 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: When concatenating IP addresses, do not
	  output a comma unless the IP can be parsed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 09:53:04 +00:00
mdtrooper c49369dab8 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added more changes for to make
	more easy the merges from the branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 09:34:12 +00:00
mdtrooper 9c2d9f9146 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the links of module
	graphs into public visualmap.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 13:58:37 +00:00
mdtrooper 3c4fdb0b21 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	operation/agentes/status_monitor.php: fixed the links to the items
	that represents modules.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 13:43:49 +00:00
mdtrooper 61dd7402a4 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the
	removed the relantionship between items.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 12:42:47 +00:00
mdtrooper b281382fa3 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the
	moving the lines when the item is a graph.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 11:49:57 +00:00
ramonn 307788383b 2013-06-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Merged from 4.0 branch. Fixed a call
	  to get_agent_from_addr that prevented parents from being properly
	  detected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 11:07:21 +00:00
mdtrooper 0bb6eaa9d0 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the color of
	lines in the editor.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 10:39:47 +00:00
mdtrooper a78937a5eb 2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php,
	include/functions_visual_map_editor.php: changed the code to show
	the list of parent in the select, now this selectbox doesn't show
	the same item.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-24 10:11:37 +00:00
mariopulido87 7cbf41b007 2013-06-20 Mario Pulido <mario.pulido@artica.es>
*include/help/es/help_module_tokens.php
        include/help/en/help_module_tokens.php:Added new help



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 15:14:17 +00:00
mdtrooper b5904ecbcc 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: fixed the graphs with all
	values in negative Y axis. Now it shows correct.
	
	Fixes: #2302
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 12:59:22 +00:00
mdtrooper 5a612bcfbe 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/fgraph.php, include/graphs/functions_pchart.php:
	merged the changes from the branch 4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 11:17:14 +00:00
mdtrooper db6e54e6ad 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: fixed the filter of the
	list of agents. The branch 4 runs fine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 09:21:28 +00:00
mdtrooper bbeacf6a50 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/events/events.php, operation/netflow/nf_live_view.php:
	fixed the hook to call a enterprise function.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 09:00:44 +00:00
ramonn de1978c8db 2013-06-20 Ramon Novoa <rnovoa@artica.es>
* windows/winevt.h: Added to repository. Headers for Wevtapi.dll.

	* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h,
	  pandora_strutils.cc,
	  pandora_strutils.h: Added support for the new XML based eventing model
	  introduced in Windows Vista.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 08:37:35 +00:00
mdtrooper 253cd8f5c9 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/pChart/pPie.class.php, include/graphs/fgraph.php:
	fixed the htmlentities in the pie chart legend, the border was
	fixed for older commits.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 08:20:11 +00:00
jsatoh 09127c7f8a 2013-06-20 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alerts_config.php: Added a new help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 06:58:51 +00:00
mariopulido87 7ebd9d824e 2013-06-19 Mario Pulido <mario.pulido@artica.es>
*godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php,
	include/help/en/help_event_alert.php,
	include/help/en/help_alerts_config.php,
	include/help/es/help_event_alert.php,
	include/help/es/help_alerts_config.php,
	include/help/ja/help_event_alert.php,
	images/help/alert01.png,
	images/help/alert02.png,
	images/help/alert03.png,
	images/help/alert04.png,
	images/help/alert05.png,
	images/help/alert06.png,
	images/help/alert07.png,
	images/help/alert08.png,
	images/help/alert09.png,
	images/help/event01.png,
	images/help/event02.png,
	images/help/event03.png,
	images/help/event04.png,
	images/help/alert10.png,
	images/help/alert11.png,
	images/help/alert12.png,
	images/help/alert13.png,
	images/help/alert14.png,
	images/help/alert15.png,
	images/help/alert16.png: Added new helps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-19 16:28:30 +00:00
hkosaka 59ddf0fb07 2013-05-22 Hirofumi Kosaka <kosaka@rworks.jp>
* pandoradb.sql: (workaround to avoid mysql's warning
	'Specified key was too long; max key length is 767 bytes'
	(warning code=1071).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-19 09:53:28 +00:00
mdtrooper 5650007350 2013-06-19 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: fixed the send across tentacle, now
	when it can not send the file almost the log have a error entry.
	And added local send method.
	
	* util/pandora_xml_stress.conf: added confs for local send method.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-19 08:53:56 +00:00
mdtrooper bec330faaf 2013-06-18 Miguel de Dios <miguel.dedios@artica.es>
* operation/menu.php: showed the message entry in workspace menu for
	all users.
	
	* include/functions_groups.php: added filters into the function
	"groups_get_users" for to avoid to get user without perms.
	
	* operation/messages/message_edit.php: fixed the ACL for to
	destination users.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-18 11:38:54 +00:00
ramonn 83c36c5201 2013-06-18 Ramon Novoa <rnovoa@artica.es>
* include/functions.php: Fixed a warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-18 09:57:11 +00:00
mdtrooper fa4b41f437 2013-06-18 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident.php,
	operation/incidents/incident_detail.php: fixed to set the SYSTEM as
	user for the incident.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-18 09:48:57 +00:00
mdtrooper 2dc972cbcd 2013-06-18 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php: fixed the urls and forms to
	set the filters.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-18 08:16:50 +00:00
mdtrooper 9b57dc11e8 2013-06-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fixed to create networkmaps
	with the same name (for example users with diferent groups ACL).
	
	Fixes: #2285
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-17 13:36:33 +00:00
mdtrooper 002cf78783 2013-06-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_action.php,
	godmode/alerts/alert_commands.php: fixed the duplicated the rows
	and did'nt hide the macros field rows.
	
	Fixes: #2294




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-17 12:33:34 +00:00
mdtrooper cd25df8283 2013-06-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed in the function "get_snmpwalk" the
	lost global $config var.
	
	Fixes: #2295




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-17 06:57:25 +00:00
mdtrooper ad7c4c8760 2013-06-14 Miguel de Dios <miguel.dedios@artica.es>
* extensions/plugin_registration.php: fixed the url of module
	library and now show ever the form to upload more plugins.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-14 12:14:22 +00:00