Commit Graph

2067 Commits

Author SHA1 Message Date
mdtrooper 87a72e6a67 2009-12-16 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fix the days in the last dates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 11:28:51 +00:00
mdtrooper 4cd81032ce 2009-12-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php: tiny fix (a zero division) the tactical
	view when start with a empty Pandora. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 11:19:09 +00:00
mdtrooper 671a61df8e 2009-12-14 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fix in the function "grafico_modulo_boolean" for
	show correct graph, and clean source code.
	* include/functions_extensions.php: change include_once to require_once for
	more security.
	Fixes: 2883786



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 17:53:27 +00:00
ramonn e901913a11 2009-12-15 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Removed debugging code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 17:38:42 +00:00
ramonn ebc78e1555 2009-12-15 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Make modules with a module_interval run the first time.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 17:32:53 +00:00
ramonn d5ff687df4 2009-12-15 Ramon Novoa <rnovoa@artica.es>
* include/functions_fsgraph.php: Fixed bug #2913813.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 16:47:42 +00:00
mdtrooper 81e0a24393 2009-12-14 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fix before copy&paste.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 17:00:13 +00:00
mdtrooper bb19d6f592 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* include/swiftmailer/* : add the library "Swift Mailer" for make more
	easy and less bugs the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 16:56:04 +00:00
mdtrooper 796ac829ff 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* include/swiftmailer/* : add the library "Swift Mailer" for make more
	easy and less bugs the source code.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 16:51:20 +00:00
raulmateos 2adb523d94 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* util/pandora_db.pl: Improved help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 09:37:41 +00:00
raulmateos ebcf02486d 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Core.pm: Changed spaces for tabs.

	* lib/PandoraFMS/Config.pm: Updated build to last change. Changed spaces for tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-13 23:38:31 +00:00
raulmateos 027449f1bd 2009-12-13 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Changed some colours.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-13 19:26:50 +00:00
raulmateos b7e6753aba 2009-12-13 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder_wizard.php: Updated title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-13 17:04:23 +00:00
mdtrooper 7b16cc6334 2009-12-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: change the function
	"get_db_all_row_by_steps_sql", now it support more connection with
	parameter $new for new conection and $result for connection.
	
	* operation/events/export_csv.php: rewrite to adapt the new 
	"get_db_all_row_by_steps_sql".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-10 17:46:25 +00:00
raulmateos 5ba2a12f02 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* images/god9.png: New image.

	* include/styles/menu.css: Added style for new menu item.

	* godmode/menu.php: New menu item.

	* godmode/reporting/map_builder.php: Updated internal links and title 
	because it will be a new entry in the menu.

	* operation/visual_console/render_view.php: Updated internal link for
	setup.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 16:20:48 +00:00
raulmateos 971cc12eca 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder.php: Corrected error in class. I don't add this to changelog.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 15:01:16 +00:00
raulmateos 1d8269e8a6 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder.php: Changed H1 to H3, to maintain coherence.

	* operation/visual_console/render_view.php: Added title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 14:48:26 +00:00
raulmateos df962dcbf7 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/reporting_builder.php: Print table of items only
	if the the tables has data, else print no items defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 13:49:12 +00:00
mdtrooper bc519097c0 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: test empty title report before on
	submit in javascript, and test empty this title in PHP.
	Fixes: 2910627



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 12:27:57 +00:00
raulmateos ca10b4a028 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent.conf: Added comments to all modules. This will
	help in reporting (reporting get the module's descriptions) and it's
	a good habit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 11:40:39 +00:00
raulmateos 568b637fe3 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/db/db_info.php: Added icon to download database info.

	* include/style/tip.css: Removed unused style. Still help style is in
	the file. Not removed, maybe used some day...

	* operation/agentes/estado_grupo.php: Added colours to the numbers.
	Added the text "modules".

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 11:35:52 +00:00
raulmateos e434bc4efc 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* include/fgraph2.php: Deleted test file, never used.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 10:23:55 +00:00
slerena 39bf9c217a 2009-12-09 Sancho Lerena <slerena@gmail.com>
* aditional_rpmspec/xprobe2-0.3.spec: Fixed parameter to avoid FHS
        enforcing on SUSE Build Service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 23:59:25 +00:00
mdtrooper 7a48549c4e 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "create_user_profile" add the
	parameter $assignUser to set assign user in table. And add the function
	"get_db_num_rows" that return the num of rows get from SQL. 
	
	* include/functions_api.php: add functions for new calls in the API,
	"set_new_user" create new user, "set_delete_user" delete a user,
	"set_add_user_profile" attach a user into group and profile,
	"set_delete_user_profile" deattach a user into group and profile,
	"set_new_incident" add new incident, "set_new_note_incident" add into
	new note into incident.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 20:21:16 +00:00
slerena f76434ec7a 2009-12-08 Sancho lerena <slerena@gmail.com>
* aditional_rpmspec/xprobe2-0.3.spec: Added spec for xprobe2 (SUSE and RH).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 19:05:35 +00:00
slerena 109ea65e6a 2009-12-08 Sancho lerena <slerena@gmail.com>
* aditional_sources: Added directory to put there sources of
        modified packages used in Pandora FMS.

        * aditional_sources/xprobe_0.3: Patched version to compile with
        * gcc4.x and used to do SUSE RPM packages for 11.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 15:23:58 +00:00
raulmateos 55199847b5 2009-12-08 Raul Mateos <raulofpandora@gmail.com>
* include/auth/*.php: added style to error when accessing the files
	directly.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 14:48:59 +00:00
mdtrooper 2abceb1c30 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fix style for to clean form in
	networkmap when active "No Overlap".
	Fixes: 2821967



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 10:34:16 +00:00
mdtrooper 21d9138054 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: add in "get_db_all_rows_filter" new parameter
	$returnSQL for return the string formated SQL instead the data. And add new
	function "get_db_all_row_by_steps_sql" that return row by row the data of
	query.
	
	* operation/events/export_csv.php: fixed the memory overload when try save
	into CSV a 10000 events or more, now use "get_db_all_row_by_steps_sql" for
	extract row by row the data.
	Fixes: 2859758



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 09:53:20 +00:00
mdtrooper 87e38ab8d3 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fix notice undefined var message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 08:23:59 +00:00
mdtrooper 55c6800e4d 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, operation/agentes/tactical.php: fix notice
	undefined var message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 08:10:13 +00:00
pabloconcepcion 702c1e5a63 2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* Changelog: Changelog with the last chagnes that I forgot to include in
    the last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:51:41 +00:00
pabloconcepcion 442705ed0e 2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* include/functions_api.php, include/functions.php,
    extensions/plugin_registration.php, operation/events/events.php,
    operation/agentes/exportdata.php, operation/agentes/stat_win.php,
    godmode/setup/setup.php, godmode/agentes/configurar_agente.php,
    godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php,
    godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
    godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: English
    text strings updated to be more clear.

    * include/languages/index.pot: Regenerated with updated strings




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:48:59 +00:00
mdtrooper b98fba10a6 2009-12-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: in the function "create_agent_module" add
	new parameter $disableACL (by default false) for use in API.
	
	* include/functions_api.php: add new functions for add new features to
	api, functions: "set_new_agent" create agent, "set_delete_agent"
	delete agent, "set_create_network_module" create network module,
	"get_module_data" get module data as CSV format in a period time,
	"get_graph_module_data" get a image file of module data in a period time.
	
	* include/functions_db.php: in function "delete_agent" add new parameter
	$disableACL (by default false) for use in API for example.
	
	* operation/agentes/datos_agente.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:00:00 +00:00
raulmateos 379346c450 2009-12-07 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer: Use tabs instead spaces. Small text
	fix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 14:57:34 +00:00
raulmateos 164ba5b8ee 2009-12-07 Raul Mateos <raulofpandora@gmail.com>
* pandora_server_installer: Added variables and used in the code.
	Added Ubuntu specific stop scripts. Added link removing with update-rc.d.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 14:57:03 +00:00
slerena 4e564d5766 2009-12-07 Sancho Lerena <slerena@artica.es>
* extensions/users_connected.php: New extension that shows
        currently active users connected to console.

        * extensions/pandora_logs.php: New extension that show to the
        user the contents of main log files (console, and server logs)
        only for Pandora administrators, of course.

        * general/header.php: Removed text label, this give problems
        on some languages and doesn't give needed information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 13:25:30 +00:00
slerena c6ab61ebc9 2009-12-07 Sancho Lerena <slerena@artica.es>
* plugins/inventory: Fixed some problems with the plugin (for
        * linux). Added inventory for RPM systems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 13:20:24 +00:00
mdtrooper bb7593d468 2009-12-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/datos_agente.php: add a select box for select chunck to
	time to show data of agent module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 08:09:25 +00:00
slerena b830f47e60 2009-12-05 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed bug #2905434




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 15:31:07 +00:00
slerena 9a8edfb172 2009-12-05 Sancho Lerena <slerena@gmail.com>
* operation/agentes/estado_monitores.php: Names and description
        was cutted and not shown as popup description. Fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 15:26:37 +00:00
raulmateos 7c03b3f6db 2009-12-05 Raul Mateos <raulofpandora@gmail.com>
* install.php: Modified description for XML_RPC.

	* extensions/pdate_manager/lib/libupdate_manager_client.php:
	Format error page if XML_PRC not found.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 11:38:12 +00:00
raulmateos 205f47175d 2009-12-05 Raul Mateos <raulofpandora@gmail.com>
* images/pandora.png, pandora_logo.jpg: Deleted old files.

	* images/image_problem: Change background with new logo

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 23:28:58 +00:00
raulmateos 01fb112eae 2009-12-04 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Solved notice when PHP < 5.3

	* general/header.php: Add some alts and title.

	* general/include/cluetip.css: Changed .gif to .png.

	* images/daarrow*.png: New files, converted from .gif files.

	* Changelog: Format dates.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 21:56:34 +00:00
mdtrooper e7323f1d19 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2159 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2009-12-04 15:04:10 +00:00
mdtrooper 3ea3cd9163 2009-12-04 Sancho Lerena <slerena@artica.es>
* operation/agentes/datos_agente.php: fix the bug when you have a large,
	very large list of data of module. And add the pagination.
	Fixes: 2908241



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 14:56:34 +00:00
slerena 452dc5516f 2009-12-04 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Modified style for 3.0

        * images/pandora_textlogo.png,
        images/pandora_header_logo_enterprise.png, 
        images/custom_logo/none.png
        images/custom_logo/sourceforge.png
        images/custom_logo/artica_logo.png
        images/header.jpg
        images/pandora_header_logo.png
        images/pandora_logo.png: New logos and background for 3.0 style.

        * general/login_page.php: Updated style.

        * general/logon_ok.php: Removed small bug in the audit log block.

        * general/header.php: Pandora logo is now in left, and custom logo 
        at right. 

        * include/functions_config.php: By default custom logo is "none" 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 12:12:04 +00:00
mdtrooper 4ab2d9221c 2009-12-4 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_templates.php: use the function to translate the
	seconds time to "human time" for time threshold.
	Fixes: 2905968



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 09:30:06 +00:00
ramonn 581c1f1acb 2009-12-03 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Empty modules and plugins before loading a remote
          configuration. Made the md5 function 64bit proof :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-03 18:35:08 +00:00
mdtrooper bea54f2b89 2009-12-3 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_ultimopaquete.php: fix the column of data with
	a empty module string.
	Fixes: 2881181



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-03 17:57:18 +00:00