Commit Graph

3088 Commits

Author SHA1 Message Date
zarzuelo 24260e0f91 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/fields_manager.php: Fixed the custom fields 
	section notice where is empty



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 09:23:12 +00:00
zarzuelo 6cd20eebe5 2010-09-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added style parameter to the 
	print_extended_select_for_time function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-28 09:08:30 +00:00
mdtrooper 3273b653ae 2010-09-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/sound_events.php: fixed the ajax check for when start
	with empty list of events. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 12:50:29 +00:00
mdtrooper 7d1bc48cb9 2010-09-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_menu.php, operation/events/events_list.php: cleaned
	style source code.

	* operation/menu.php: added subentry in "View events" for "Sound Events".
	
	* operation/events/events_rss.php: added source code for the $id_agent equal
	-2 (this mean that get the agent by text name) and added new check for new
	status.
	
	* operation/events/events.php: added source code for the $id_agent equal -2
	(this mean that get the agent by text name).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 11:24:43 +00:00
raulmateos d7905df54f 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
	TO DO: The table should be "migrated" to new table code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:31:21 +00:00
zarzuelo 35e66d384d 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/graph_builder.preview.php: Fixed few
	foreach loops to avoid notices setting empty array to 
	false variables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:23:04 +00:00
raulmateos 6616f03746 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php, godmode/users/configure_user.php:
	change the sec url variable to show the menu highlighted.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 09:52:22 +00:00
zarzuelo f88c915db8 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php: Added confirm popup
	to delete event button



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:12:57 +00:00
zarzuelo 41f8a941c8 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.php: Fixed typo bug



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:04:13 +00:00
zarzuelo 83ac9a3d2f 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.main.php: Set default
	value to id_group to avoid notices



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 07:48:14 +00:00
jsatoh 44bdafc55f 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server, FreeBSD/tentacle_server: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:07:56 +00:00
jsatoh f2d39acd67 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:06:34 +00:00
jsatoh 9cacd6f1d2 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server, FreeBSD/tentacle_server: Changed PID
	detection method to support "jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:00:36 +00:00
jsatoh 545a0c13cf 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Changed PID detection method to support
	"jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:56:08 +00:00
jsatoh d0aec09389 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
	not defined.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:51:13 +00:00
slerena 5b4b39a1ea 2010-09-26 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated some missing deps.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-26 17:19:51 +00:00
slerena b1f80528ca 2010-09-26 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated some missing deps.

        * operation/agentes/estado_generalagente.php: Fixed
        notice on empty array.

        * pandora_console.redhat.spec: Specific SPEC for redhat.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-26 16:07:28 +00:00
zarzuelo 38b181d00c 2010-09-24 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the apply_policy
	help



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:57:14 +00:00
zarzuelo fdad25e9b7 2010-09-24 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Moved the util functions 
	from pandora_manage to Tools.
	* util/pandora_manage.pl: Added the apply policy
	feature: includen conf file management; modules, alerts
	and collection creation 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:09:44 +00:00
slerena bad9df7eb1 2010-09-24 Sancho Lerena <slerena@artica.es>
* install.php: Updated version and build

        * pandoradb_data.sql: Updated database schema versioN/build



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:05:57 +00:00
mdtrooper 22410dbebd 2010-09-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed the lost $url var, recovered from the
	last version of SVN.
	
	Fixes: #3071767



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 10:41:52 +00:00
raulmateos b9b075ace2 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/users_connected.php: Show text to admin if no other
	user connected.
	TO DO: This extension gives non-accurate information due to the use 
	of timestamp in one hour since the login event. It should be
	improved to check logout events in table.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 13:35:59 +00:00
raulmateos 3294c9f55f 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* Changelog: Forgotten file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:41:14 +00:00
raulmateos 72ee277665 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php: Able to edit profiles.
	* godmode/users/configure_profile.php: New page, based on the old
	profile one (that should be deleted if all it's OK)
	* godmode/menu.php: Removed profiles menu entry.
	* godmode/alerts/alert_list.list.php: Centered several icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:34:06 +00:00
mdtrooper 797761c5bd 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh, pandora_server_installer, pandora_server.spec:
	changed the permissions 750 for the dir "data_in" to 770, for to allow the
	web api call for add module data for agent.
	
	TODO: change the pandora_server.redhat.spec the permissions for dir
	"data_in".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:06:15 +00:00
mdtrooper b07a40eade 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: added function "set_module_data" for to hook
	call to create module data across web api.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 11:52:07 +00:00
zarzuelo 2ab88e69b5 2010-09-23 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Improved the db_process_insert
	function against the null values



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 11:29:08 +00:00
mdtrooper 6c026e02c4 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed the re-include two time the file.
	
	Fixes:  #3073577



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 09:59:34 +00:00
zarzuelo 9935209777 2010-09-23 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added a function db_process_insert
	to insert a generic query receiving a hash reference with
	the parameters (columns in index and value in values)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 08:16:44 +00:00
slerena 1610883d02 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Updated RPM spec for SUSE




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:32:52 +00:00
slerena 0d9e2930a4 2010-09-22 Sancho Lerena <slerena@artica.es>
* extras/build_src.sh
        extras/build_rpm.sh: Fixed scripts for my enviroment (SUSE 11.3)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:31:25 +00:00
slerena 12cd24a88f 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_server/pandora_server.spec: Updated spec with some
        missing deps.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:25:11 +00:00
slerena bdb0800e51 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Spec for SUSE updated. Version, and some dep
        names updated.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 17:44:54 +00:00
mdtrooper 9419f38fda 2010-09-22 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fixed previous commit of jobmate that erase some lines of
	ChangeLog. 
	
	* index.php: cleaned source code style.
	
	* mobile/include/style/main.css: added style for the login mobile page.
	
	* mobile/include/user.class.php: the "loginShow" function have a nice
	login box with some style.
	
	* mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image
	files for the login page. The key image is created for "barretr" in
	http://www.openclipart.org/detail/3330.
	
	* mobile/index.php: changes for to show logout and new login box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 16:52:29 +00:00
slerena d2ff833921 2010-09-22 Sancho Lerena <slerena@artica.es>
* godmode/reporting/visual_console_builder.elements.php,
        godmode/reporting/visual_console_builder.editor.php: Fixed bug 
        #3073239: bad intervals in combo for period selection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 14:15:28 +00:00
Ramon Novoa fde9ec150a 2010-09-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a couple of missing macros in 
	  SNMP alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 11:26:12 +00:00
zarzuelo 053ef37f6d 2010-09-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Fixed bad call to 
	enterprise function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 08:21:08 +00:00
zarzuelo 4eb8ee8690 2010-09-22 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the parameter with
	a definition module to module creation to create 
	a local module



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 07:57:43 +00:00
mdtrooper ca167bd423 2010-09-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: in function "print_select_groups" and function
	"print_select_from_sql" added source code to check $config['text_char_long']
	for show small text in this widgets.
	
	* include/functions.php: in function "get_event_types" and "get_priorities"
	added source code to check $config['text_char_long'] for show small text in
	this widgets. And in function "get_priority_class" cleaned source code.
	
	* operation/agentes/status_monitor.php, operation/events/events.php: cleaned
	source code style.

	* images/pandora.ico.gif: added image file for to use in the mobile footer.
	
	* mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php,
	mobile/operation/agents/tactical.php,
	mobile/operation/agents/group_view.php, mobile/operation/events/events.php,
	mobile/include/style/main.css, mobile/include/functions_web.php,
	mobile/index.php, general/footer.php: continued the develop, yep the
	Pandora Console Mobile is complete (only rest the bugs).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 18:02:11 +00:00
Ramon Novoa 69171cfa6f 2010-09-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not update agent configuration if
	  not in learning mode. Fixes bug #3069710.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 15:32:53 +00:00
zarzuelo 88ee12776c 2010-09-21 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed the agent deletion and
	the module deletion to delete all the additional structures
	and files



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 15:20:00 +00:00
zarzuelo d69c2ece08 2010-09-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	godmode/agentes/modificar_agente.php: Added the calls
	to enterprise to delete an agent to all their policies
	when we delete it for bug 3072471



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 12:09:04 +00:00
mdtrooper 63a7d6730c 2010-09-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: fixed the width by default in the function
	"print_table", now there isn't a default width (before it was 80%).
	
	* include/pchart_graph.php: fixed in the function "add_events" when tryed
	to add a event out the data. 
	
	* include/fgraph.php: check the user with the mobile methods.
	
	* include/functions_db.php: in function "check_login" check the user with
	the mobile methods.
	
	* images/status_sets/default/severity_warning_pixel.png,
	images/status_sets/default/severity_normal_pixel.png,
	images/status_sets/default/severity_informational_pixel.png,
	images/status_sets/default/severity_maintenance_pixel.png,
	images/status_sets/default/severity_critical_pixel.png: added the image
	files for to show in the event mobile's page.
	
	* mobile/operation/agents/view_agents.php,
	mobile/operation/agents/tactical.php,
	mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
	mobile/operation/servers/view_servers.php, mobile/include/user.class.php,
	mobile/include/system.class.php: changed the style the some pages to show
	more clearly the pages in old m$-mobiles.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 08:59:01 +00:00
jsatoh 933e50b145 2010-09-21 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: Fixed
	addition/deletion for compound alerts does not work.

	* include/functions_alerts.php: To fix above problem, added a function,
	delete_alert_compound_action().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 04:26:46 +00:00
raulmateos 2a6538106a 2010-09-20 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/customfields.php: Add code to show text when no
	fields defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 17:35:59 +00:00
Ramon Novoa 72d209dee9 2010-09-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Update module
	  configuration from XML data files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 17:01:27 +00:00
zarzuelo dfac299c4a 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Improved the last feature
	of CLI deleting the modules of all conf files of 
	the incoming directory now



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 15:25:15 +00:00
Ramon Novoa 49f8c027de 2010-09-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/modules/pandora_module.cc: Added
	  module_interval information to the data XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 15:03:06 +00:00
zarzuelo 3b0ab1e3d2 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added to CLI the deletion
	of all modules without policy from config file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 14:25:44 +00:00
slerena 1cf0c48ff8 2010-09-20 Sancho Lerena <slerena@artica.es>
* include/config.inc.php: config_process.php is obtained from
        defined path in homedir variable.

        * godmode/agentes/module_manager_editor_network.php: Limit for
        OID lenght was too short, DB gets 255 chars, now input also gets 
        255 chars.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 14:14:55 +00:00