Commit Graph

2018 Commits

Author SHA1 Message Date
slerena ce8246636e 2009-12-29 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Some ugly warnings are fixed.

        * linux/pandora_agent.spec: /spool../data_out was not correctly 
        working, fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-29 11:07:59 +00:00
slerena 67c8182ec4 2009-12-28 Sancho Lerena <slerena@artica.es>
* lib/Config.pm: pandora_exec default at /usr/bin




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:43:10 +00:00
slerena 727af2d68a 2009-12-28 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Fixed missing var/spool/pandora/data_out
        directory :-/




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:37:58 +00:00
slerena 2c9fe7ea2d 2009-12-28 Sancho Lerena <slerena@artica.es>
* util/pandora_logrotate: Optimized logrotate setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:20:50 +00:00
slerena c0e26cac19 2009-12-28 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Start tentacle after install breaks the
        Upgrade process on RPM (error if already running).

        * util/pandora_server: Added mysql as "should-start" in LSB tags



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:00:53 +00:00
slerena 753fec15cf 2009-12-28 Sancho Lerena <slerena@artica.es>
* module_manager_editor_common.php: Latest changes from mdtrooper break
        some code, reverted specific changes in order to work.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 17:07:27 +00:00
slerena 6ee8335b7c 2009-12-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: tnetwork_component double(18,13) -> double
        (18,3) by a typo !¡¿?. That is the type for tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 15:52:17 +00:00
slerena 2c13118198 2009-12-28 Sancho Lerena <slerena@artica.es>
* includes/languages/* : Updated languages for 3.0 final
        release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 12:56:02 +00:00
slerena 8d2d3b8ca6 2009-12-28 Sancho Lerena <slerena@artica.es>
* include/config_process: Fixed problems detected in system/user 
	language settings. Now use config["language"] avoiding use of old 
	token "language_code"
	
	* include/function_config.php: config["language"] is now a "stardard" 
	config token, avoding to use as special one, was giving a big headache in
	order to maintain old compatibility. Now will use config["language"] always
	and create it if doesnt exist using english as base lang.

	* pandoradb_data.sql: Token is not "language" instead "language_code"

	* godmode/setup/setup.php: Use config["language"], manage like other 
	variable in the sytem, avoiding conflicts and problems detected.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 12:20:29 +00:00
raulmateos 7d2f3118fd 2009-12-27 Raúl Mateos <raulofpandora@gmail.com>
* extensions/dbmanager/menu.png: New file

	* extensions/dbmanager.php: Added icon. Added link to the db menu.

	* extensions/pandora_logs.php, update_manager.php: Changed menu section.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-27 21:50:32 +00:00
raulmateos d63c79eccd 2009-12-27 Raúl Mateos <raulofpandora@gmail.com>
* extensions/users/menu.png: New file

	* extensions/users_connected.php : Added icon and changed menu section. Added new godmode function that allows the user to be edited.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-27 21:31:54 +00:00
raulmateos 7d1f6419c7 2009-12-24 Raúl Mateos <raulofpandora@gmail.com>
* images/pandora_logo.jpg: New file, used in dashboard (dashboard should
	use the .png instead this .jpg.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-24 20:18:01 +00:00
mdtrooper e4cfb60148 2009-12-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php: fix bug to call
	enterprise function without test if the enterprise install.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-24 17:12:32 +00:00
mdtrooper a4c4773bba 2009-12-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: fix bug that show SQL error message and don't
	show the actions for compound alerts.
	* include/functions_alerts.php: in function "get_alert_agent_module_actions"
	add the parameter compound for search compound actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-24 15:57:09 +00:00
mdtrooper 3bf4edbdf8 2009-12-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php: change the lines to
	test if the form is for policy use. And clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-24 11:00:39 +00:00
slerena df54aa02fa 2009-12-24 Sancho Lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed some perms on postinstall.

        * pandora_console_install: Fixed some perms on postinstall.

        * pandora_console.spec: Removed one blank space :-))



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-24 10:55:36 +00:00
Ramon Novoa 612c34185d 2009-12-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php: Fixed avg. calculation in custom reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 17:36:32 +00:00
Ramon Novoa beaa525096 2009-12-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm,
          lib/PandoraFMS/DataServer.pm: Use agent provided interval for agent
          auto creation. The default interval was being used instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 16:18:33 +00:00
mdtrooper 4e152c38c7 2009-12-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.php: fixes bug in several fields of
	edit form downtime.
	Fixes: 2919938



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 13:19:08 +00:00
slerena c8273efad4 2009-12-23 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed some typos in planned downtime subroutine.

        * bin/pandora_server: Some operations like planned downtime check and
        server down detection are put in a low-priority check, more efficient and
        less time-consuming.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 12:51:12 +00:00
slerena 569d49bd22 2009-12-23 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Updated build.

        * godmode/agentes/planned_downtime.php: Fixed bad render when
        * downtime
        is running.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 12:33:51 +00:00
mdtrooper d40c64d203 2009-12-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fix warning messages when pass only group as
	string or integer in the function "isAllGroups".
	* include/functions_reporting.php: fix ambiguous colummn in query in the
	function "get_group_stats".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 11:48:19 +00:00
mdtrooper 9544da9b70 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_custom_graphs.php: fix the name of custom graphs in the
	config select box in widget.
	Fixes: 2918740



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 17:13:14 +00:00
mdtrooper de5ee31aa4 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php, include/functions_db.php: fix alert message
	when the history DB is'nt setup.
	
	* general/header.php: fix alert message when the custom logo didn't exit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 15:46:54 +00:00
mdtrooper f413f1a1c3 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: clean source code, fix when try show boolean without
	data, and some changes in "grafico_modulo_sparse".
	
	* operation/agentes/stat_win.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 14:40:41 +00:00
mdtrooper 7458f10b93 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: add debug function "f2str" that return as
	string any call of function, for example "var_dump".
	
	*include/fgraph.php: into function "grafico_modulo_boolean" re-add alarms,
	clean source code and show again the flash graph.
	
	*include/functions_db.php: fix the access to IP client, it used very
	deprecate var, that clean of notice php message of error for this cause.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 12:56:46 +00:00
Ramon Novoa 4b70e70e41 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed agent check in logger call.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 17:51:52 +00:00
Ramon Novoa 781791ade0 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* include/api.php: Added an Enterprise API.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 17:11:31 +00:00
mdtrooper 5aeff7da55 2009-12-21 Miguel de Dios <miguel.dedios@artica.es>
* install.php: clean source code.
	
	* operation/agentes/datos_agente.php: fix bug, there was a wrong copy&paste,
	now there is correct parameters.
	Fixes: 2916332



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 15:23:32 +00:00
slerena 400db17068 2009-12-21 Sancho Lerena <slerena@artica.es>
* util/tentacle_served: Fixed call to get_pid, using a width of
        * 300 cols.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 12:03:36 +00:00
Ramon Novoa 999fcfef3a 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Properly read agent_interval
          configuration token.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 10:16:01 +00:00
Ramon Novoa 40febeca27 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed bug #2907481.

        * bin/PandoraAgent.exe: Updated to current revision.
        
        * installer/pandora.mpi, pandora.cc: Updated build.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 20:04:42 +00:00
slerena 19a26e177d 2009-12-18 Sancho lerena <slerena@gmail.com>
* extras/aditional_rpmspec/xprobe2-0.3.spec: Updated to make it
        compatible with SUSE build service.

        * extras/aditional_rpmspec/wmic-4.0.0tp4-SVN-build-UNKNOWN.spec: Final
        changes (updated web, license and description).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:27:18 +00:00
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