Commit Graph

2185 Commits

Author SHA1 Message Date
slerena 359c487eb9 2009-12-18 Sancho lerena <slerena@artica.es>
* pandora_console.spec: Ypdated build.

	* pandora_console_upgrade: Applied patch for more verbose information, submitted in 
	Sourceforge.

	* pandoradb_data.sql: Updated version to FINAL build and version ;-)

	* include/config_process.php: Updated build.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:25:38 +00:00
slerena 72653518fc 2009-12-18 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package
	so now it's possible to satisfy dependency). Alter all paths to binary from
	/usr/local/bin to /usr/bin. Other minor issues in RPM fixed.

	* pandora_server_installer: Added description to get deps from zypper and yum.
	Installing services in debian/ubunty systems with update-rc.d. 
	Make check to link from /usr/local/bin to /usr/bin if install
	deploy binary at /usr/local. /usr/bin is the new default.

	* pandora_server_upgrade: /usr/bin as new default. Link issue fixed.

	* DEBIAN/make_deb_package.sh: Fixed Makefile replace regexp to replace all 
	target binary to put then in the jail under /usr/bin path.

	* DEBIAN/postinst: Fixed path for tentacle_server at /usr/bin

	* DEBIAN/prerm: Using native debian commands to remove services.

	* Tools.pm: If there is a problem loading something in the enterprise, show it
	to log.

	* util/pandora_server,
	util/tentacle_serverd: new path to /usr/bin/
	
	* pandora_server.conf: new path for pandora_exec to /usr/bin/

	* util/plugin/udp_nmap_plugin.sh: Check parameters before calling to namp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:22:33 +00:00
mdtrooper f16180b026 2009-12-18 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fix the graph boolean, it's rewrite.
	Fixes: 2916195



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 17:05:58 +00:00
slerena ff40bdaeec 2009-12-18 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer,
        * linux/DEBIAN/control,
        * linux/pandora_agent.spec:  Updated versions.

        * unix/pandora_agent: Fixed bug #2887050. Updated version




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 15:48:18 +00:00
raulmateos 811350f5ff git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2009-12-18 13:46:32 +00:00
raulmateos 206e69c947 2009-12-18 Raul Mateos <raulofpandora@gmail.com>
* pandora_dbstress.pl, pandora_db.pl: Clean code, updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 13:43:02 +00:00
Ramon Novoa 3f7abb97a0 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control: Updated version.

        * util/pandora_db.pl: Added history database support. Re-wrote some
          parts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 11:26:13 +00:00
Ramon Novoa 16eb0d2b96 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Fixed SLA calculation. Was not working.

        * include/functions_fsgraph.php: Fixed bug #2913813.

        * include/functions_config.php, include/config_process.php,
          include/fgraph.php, include/functions_db.php,
          operation/events/export_csv.php, operation/agentes/export_csv.php,
          operation/agentes/datos_agente.php, godmode/menu.ph: Added history
          database support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 09:52:25 +00:00
mdtrooper 7d5d535db3 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/graph_builder.php: fix blank row when
	redraw graph in builder, and fix the empty column agent name in table of
	modules.
	Fixes: 2916194



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 16:16:55 +00:00
mdtrooper d28dab575c 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/extensions/update_manager/load_updatemanager.php: add more
	info (Pandora version and build) to statistics in update process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 14:32:56 +00:00
mdtrooper 7d74eceee6 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* linux/DEBIAN/postinst: change the code to insert as service the agent.
	Fixes: 2911327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 12:04:16 +00:00
mdtrooper 3a1726b8d7 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst: change the code to insert as service the server and
	the server tentacle.
	Fixes: 2911327

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 12:03:41 +00:00
raulmateos 40f7f01680 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora.mpi, README:Preparing release
	changing version to final.

	* installer/logo.png: Updated logo

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:25:17 +00:00
raulmateos ca3b8a5da4 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* DEBIAN/make_deb_package.sh, lib/PandoraFMS/Config.pm, README,
	pandora_server_upgrade, pandora_server_installer: Preparing release
	changing version to final. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:15:25 +00:00
raulmateos 17c644433f 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent, linux/DEBIAN/make_deb_package.sh: Preparing 
	release changing version to final. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:03:47 +00:00
raulmateos 0246f61498 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php, DEBIAN/make_deb_package.sh: Preparing release
	changing version to final.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 17:50:57 +00:00
mdtrooper bb46924bf6 2009-12-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php: fix re-duplicate modules
	now only generate one copy.
	Fixes: 2915470



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 15:28:22 +00:00
mdtrooper 9255306789 2009-12-16 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fix print image error as tag <image> instead content
	file when there is error in data string. And add new type of graph, error
	graph.
	Fixes: 2908174



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 13:29:19 +00:00
mdtrooper 617074e1d3 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 ba11b4aa78 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 dc11bebc15 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
Ramon Novoa da82520c55 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
Ramon Novoa a26115d2f7 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
Ramon Novoa 126d51f874 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 37956356a7 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 3c986f88ec 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 cb619001ea 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 af83debc73 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 21fcdbe7c8 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 700dc0cca0 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 16c7c7c3ae 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 703b222d8a 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 df8d5dbf7d 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 e47997c182 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 5b038b6276 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 3383036f83 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 d76ddace94 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 ab23c1eb91 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 2e9e025096 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 87a7c07bdd 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 38f4c06091 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 4dc6aa99be 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 b6504f3f8f 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 7ad1d52122 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 0833079d5e 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 c407df29ce 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 a18ddccdc3 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 4ac5cbd3d9 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 cf0e5245ee 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
Pablo de la Concepción Sanz bf30724d74 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