* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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