Commit Graph

4580 Commits

Author SHA1 Message Date
mdtrooper 112bce52b2 2011-09-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fixed the form to create or
	update gis connections.
	
	Fixes: #3403160



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 09:54:46 +00:00
koichirok 20e5a21e4b 2011-09-05 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_daemon: Added support for OpenVZ/Virtuozzo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 09:52:18 +00:00
ramonn 53ce875a6b 2011-09-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/Core.pm: Fixed policy queue (was
	  not working properly).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-04 16:50:42 +00:00
jsatoh b5c5074006 2011-09-03 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	operation/agentes/ver_agente.php: Added group recursion	feature,
	it allows to search agents in child groups. These three changes
	are contributed by Yusuke Arai. Thanks!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-03 04:31:36 +00:00
juanmanuelr 70bdc851a3 2011-09-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Fixed css style in this view.
	
	Fixes: #3400123



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 14:00:22 +00:00
juanmanuelr a94866e267 2011-09-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/alerts/alert_list.list.php: Fixed css style in this view.
	
	Fixes: #3397522



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 13:53:55 +00:00
juanmanuelr 02769753b1 Juann Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed function
        agents_get_modules() where modules are retrieve.

Esta línea y las que están debajo serán ignoradas--

M    ChangeLog
M    include/functions_agents.php


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 11:04:51 +00:00
vgilc 86790c2b2d 2011-09-02 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/conf/pandora_server.conf: Added update parent line to the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 10:25:48 +00:00
mdtrooper 01c54e3615 2011-09-02 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: set by default the mysql connection type
	because in older isntallations update to 4 have not this token in
	config.php.
	
	Fixes: #3395947



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 10:13:06 +00:00
juanmanuelr 78a28691e3 2011-09-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: fixed alerts_get_alert_agent_module_actions()
        function to avoid PHP warnings on alert compound display.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 09:42:20 +00:00
koichirok 4107ecca62 2011-09-02 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Now module_condition and module_precondition
	  accept numeric parameter without fractional part.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 06:05:47 +00:00
jsatoh 473590d343 2011-09-02 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: Added group recursion
	feature, it allows to search agents in child groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 02:58:10 +00:00
Aldrioth d1e0030d3f 2011-09-01 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/DEBIAN/control: Added missing comma.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 18:53:38 +00:00
javilanz 53a52c89ef 2011-09-01 Javier Lanz <javier.lanz@artica.es>
* include/functions_filemanager.php: Improved detecting mime types

        Fixes: #3389654



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 18:03:01 +00:00
mdtrooper be5cd13050 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident_detail.php: fixed the entities in the name
	of file in the action to upload and delete.
	
	Fixes: #3397447



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 16:55:12 +00:00
mdtrooper 1a926db838 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* util/agent_names.txt: erased wrong personal file for the tests.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 16:02:10 +00:00
mdtrooper fe4c479b33 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added the other part of logical expression
	in the patch of strstr. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 15:59:19 +00:00
mdtrooper b3157d1160 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_users.php: added the function "users_get_first_group"
	another parameter, $all_group, to return all group or not, by default is
	true.
	
	Fixes: #3401582



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 15:40:23 +00:00
mdtrooper 9cece1378a 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: sorry I mistake the number of bug in Sourceforge tracker.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 15:03:58 +00:00
mdtrooper a3dc030e24 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed to show empty graph in new
	installations without data.
	
	Fixes: #3371197



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 15:03:00 +00:00
juanmanuelr 71d943c4ee 2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_filters.php: Added confirmation
        message in delete action.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 14:56:46 +00:00
vgilc 5ada268713 2011-09-01 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.php: Add information about the parent agent name to xml file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 14:37:57 +00:00
mdtrooper 792cfdfc72 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_nc_groups.php: fixed the javascript to promt to
	confirm the delete. And fixed the link to delete that in some browsers
	crash.
	
	Fixes: #3402336



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 14:19:44 +00:00
ramonn ead00e8ce5 2011-09-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Kill snmptrapd if it's already running
	  when the SNMP Console starts and launch it again. Fixes bug #3402392.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 13:50:56 +00:00
slerena acf8b9c92d 2011-09-01 SAncho Lerena <slerena@artica.es>
* scripts/webserver/pandora_webserver.pl: Updated header.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 13:41:10 +00:00
mdtrooper d9e0592229 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_groups.php: fixed when the group haven't a icon.
	
	* operation/menu.php: applied the safe_out before the print a piece the
	name of map in submenu.
	 
	* operation/gis_maps/render_view.php: fixed the name of agents with white
	spaces.
	
	Fixes: #3398436



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 13:09:17 +00:00
slerena c0c347ae9a 2011-09-01 Sancho Lerena <slerena@artica.es>
* unix/plugins/grep_log,
        shellscript/linux/plugins/grep_log: Restored previous code because
        it needs to start searching on the last position known. First time
        plugin starts, seek to the final position to avoid fire old events
        detected in the log. Plugin only gives new events once starts to work




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 12:59:21 +00:00
juanmanuelr 85a353d21d 2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/groups_small/without_group.bad.png
	images/groups_small/without_group.ok.png
	images/groups_small/without_group.png
	images/groups_small/without_group.warning.png
	images/groups_small/without_group.default.png: Added state icons
	for gis maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 12:58:26 +00:00
juanmanuelr 7174cc7087 2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/without_group.png: Added image to groups without icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 12:21:54 +00:00
juanmanuelr a2def9d355 2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/jquery.pandora.controls.js: Filter keycount variable
        in pandoraSelectGroupAgent javascript function.
        * godmode/massive/massive_add_action_alerts.php: Added 'Any' label to
        agents combo in this view and correct a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 11:14:46 +00:00
mdtrooper b9c9a6f577 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: fixed the massive deletion alerts with
	modules with white spaces.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 10:45:20 +00:00
juanmanuelr eaf316f2a2 2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: changed function strstr() for
        substr() in agents_get_modules function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 09:57:40 +00:00
zarzuelo 76076f730f 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending
	cleaning in the modules table to avoid possible past modules with
	wrong name



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 09:09:05 +00:00
zarzuelo 0b0ab85285 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Improve the delete modules
	function to do the same actions of the console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 09:05:32 +00:00
zarzuelo d3014b1bc0 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl
	util/recon_scripts/snmpdevices.pl: Fixed entities conversions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 07:57:03 +00:00
mdtrooper c317e3413e 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_edit_modules.php: fixed when is selected "any"
	agent, with white space run fine.
	
	Fixes: #3401591



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 17:20:20 +00:00
mdtrooper e9f5fc64cd 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed the fields as sql operations as field.
	
	Fixes: #3400237



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 16:42:56 +00:00
juanmanuelr 624c2edaff 2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
        function in order to not retrieve delete modules.

        Fixes: #3401666




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 15:22:44 +00:00
mdtrooper 149e5f5f57 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/main.php: fixed when the file is corrupted or
	empty.
	
	Fixes: #3400237



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 12:35:09 +00:00
mdtrooper 1272ea9275 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed in function "string2image" when generate a
	image in other location, now have one more parameter, $homeurl, by default
	empty string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 11:27:01 +00:00
juanmanuelr 4e2113b839 2011-08-31 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* unix/plugins/grep_log
	shellscript/linux/plugins/grep_log: Changed parse_log
	function in order to retrieve token correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 10:38:15 +00:00
juanmanuelr 055e0580c2 2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/users/user_edit.php: Reload page to update skin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 07:21:18 +00:00
koichirok c967267fbb 2011-08-31 Koichiro Kikuchi <koichiro@rworks.jp>
* include/functions_api.php: Fixed join parameter to avoid
	  generating unusable module lines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 06:36:36 +00:00
juanmanuelr 2303782c36 2011-08-30 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* scripts/webserver
	scripts/webserver/pandora_webserver.pl
	scripts/webserver/PandoraFMS_Monitorizacion_Webserver.odt: Added files
	with webserver plugin and documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 16:10:36 +00:00
Aldrioth 1bfb313fdf 2011-08-30 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server_installer: Added missing Perl Socket6 references.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 15:32:39 +00:00
juanmanuelr 41fb24f6fb 2011-08-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/configure_user.php: Now action state is showed
	when update user action is performed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 15:21:40 +00:00
juanmanuelr 2a8bc97958 2011-08-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/configure_user.php: Reload page to update skin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 14:51:03 +00:00
mdtrooper 7d1bd0f14c 2011-08-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
	include/graphs/fgraph.php: added the parameter $reduce_data_columns by
	default false for to use in vertical columns graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 09:33:07 +00:00
zarzuelo cb2172f595 2011-08-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php: Fixed URL injection replacing
	safe_input for safe_input_html



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 08:32:39 +00:00
jsatoh a4d62904c0 2011-08-30 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_standby_alerts.php: Added group recursion
	feature, it allows to search agents in child groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4847 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 06:55:49 +00:00