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